Nordlöw
  • Member for 5 years, 8 months
  • Last seen more than a month ago
  • Sweden
How to run an `after-save-hook` only when the buffer has been saved manually
3 votes

Here's an alternative solution: (defcustom after-save-interactively-hook nil "Normal hook that is run after a buffer is saved interactively to its file. See `run-hooks'." :group 'files :type '...

View answer
Avoid query to recover `buffer-undo-list`
1 votes

I just realized that, during the query in the Minibuffer, I can check the Option "Enter debugger on Quit" and press C-g to get a stacktrace. The stacktrace is indeed triggered by my Emacs ...

View answer
Compile command as a directory variable?
0 votes

I believe the compilation command and its history in the majority of cases should be directory local rather than buffer local. To accomplish this, I've been planning for quite some time to modify the ...

View answer
Controlling Behaviour of (Compilation) Window Creation
0 votes

The command I was looking for was display-buffer-in-direction. My desire use was (setq display-buffer-alist `((,(rx bos (| (literal "*compilation") (...

View answer
Inline elements of variable list value in rx() macro call
Accepted answer
0 votes

Solution found in duplicate question How do I create a dynamic regexp with rx?. Closing this for now.

View answer