help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to apply a minor mode to all buffers


From: Mathias Dahl
Subject: Re: How to apply a minor mode to all buffers
Date: Mon, 22 Jan 2007 07:55:14 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt)

"Robert Thorpe" <rthorpe@realworldtech.com> writes:

> I think it would be useful is Emacs had some more general hooks than
> the ones it has a present, for example:- progmodes-hook - A hook ran
> whenever a programming language mode starts plain-text-modes-hook -
> A hook ran by text-mode, paragraph-indent-text-mode etc
> formatted-text-modes-hook - A hook ran by tex-mode, nroff-mode,
> sgml-mode etc

That would certainly be possible but it would require each mode-writer
to provide a "category", or there would have to be some kind of list
with the mapping from category to mode.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]