all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inserting "-*- mode: ..." before turning mode on in (compilation-start)
@ 2005-05-27 16:54 Markus Gritsch
  2005-05-28 11:53 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Gritsch @ 2005-05-27 16:54 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

Hi,

It would be nice if the specified mode in (compilation-start) would get 
activated before inserting anything (i.e. the mode setter line) into the 
buffer.

In a function which I added to compilation-mode-hook I change some 
fontification things including the used font.  When (compilation-start) 
is called using compilation-mode as mode, my function gets called using 
(funcall mode).  However this happens a few lines too late, because the 
mode setter has already been inserted into the buffer, and so it is not 
displayed using my font (see attached screen shot).

Kind regards,
Markus


[-- Attachment #2: ScreenShot.png --]
[-- Type: image/png, Size: 19123 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2005-05-28 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-27 16:54 Inserting "-*- mode: ..." before turning mode on in (compilation-start) Markus Gritsch
2005-05-28 11:53 ` Richard Stallman
2005-05-28 12:05   ` Markus Gritsch

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.