|
From: | Tim Landscheidt |
Subject: | Re: hook run just in message-mode just before user begins composing/replying? |
Date: | Tue, 09 May 2023 18:30:00 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Gregor Zattler <telegraph@gmx.net> wrote: > […] > Any ideas how to actually see the buffer when the hooks > are run? Then I could adjust my functions or decide > that it's simply the wrong hook. > […] You should be able to use Edebug to step through your func- tion (with edebug-defun), but looking at the big picture I typically just add calls à la: | (message "buffer = %S" (buffer-name)) or: | (message "bufferstring = %S" (buffer-string)) to my code. Tim
[Prev in Thread] | Current Thread | [Next in Thread] |