all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* recompile uses wrong buffer.. hint
@ 2004-06-07  8:40 Stephan Stahl
  2004-06-07  9:29 ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Stephan Stahl @ 2004-06-07  8:40 UTC (permalink / raw)


Hi.

I tried to find a solution to this problem and at least found what was
causing this strange behaviour.

The function `compilation-buffer-name' tries to get a name for the
compilation buffer. There is a test:
	((and (eq major-mode 'compilation-mode)
	      (equal mode-name (nth 2 compilation-arguments)))
	 (buffer-name))
that equal will (always?) return nil because the structure of
compilation-arguments has changed in the recent compile.el rewrite.
Because of this the function will always return a default name. Maybe its
sufficient to remove that equal but i'm not sure..

-- 
Stephan Stahl

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

end of thread, other threads:[~2004-06-09 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-07  8:40 recompile uses wrong buffer.. hint Stephan Stahl
2004-06-07  9:29 ` Juri Linkov
2004-06-07 12:36   ` Juri Linkov
2004-06-09 19:52     ` Richard Stallman

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.