all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compile mode buffer name customization
@ 2020-11-11 16:23 Joe Buehler
  2020-11-11 18:16 ` Michael Heerdegen
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Buehler @ 2020-11-11 16:23 UTC (permalink / raw)
  To: help-gnu-emacs

I customized compile mode some time ago to add the command name
(suitably sanitized) to the buffer name.  That way I have a complete
history of all the compiles I have run and their output.

This stopped working at some point (haven't upgraded in a long time).  I
saw a note to the effect that emacs lisp switched to lexical scoping?  I
was using the "command" variable in my hook but it is no longer
accessible apparently due to the scoping change?

Any easy solutions here?  Just having the mode name for the buffer name
hook is a bit of a limitation.

Joe Buehler




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-11 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11 16:23 compile mode buffer name customization Joe Buehler
2020-11-11 18:16 ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.