[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to apply a minor mode to all buffers
From: |
Stefan Monnier |
Subject: |
Re: How to apply a minor mode to all buffers |
Date: |
Mon, 22 Jan 2007 11:59:56 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
> 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
There is text-mode-hook. As for prog-mode-hook, I agree 100%.
Stefan
PS: Of course, tex-mode should run both text-mode-hook and prog-mode-hook.
- Re: How to apply a minor mode to all buffers, (continued)
- Re: How to apply a minor mode to all buffers, James Aguilar, 2007/01/19
- Re: How to apply a minor mode to all buffers, Juanma Barranquero, 2007/01/19
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/20
- Message not available
- Re: How to apply a minor mode to all buffers, Robert Thorpe, 2007/01/20
- Re: How to apply a minor mode to all buffers, Lennart Borgman (gmail), 2007/01/20
- Re: How to apply a minor mode to all buffers, Mathias Dahl, 2007/01/22
- Message not available
- Re: How to apply a minor mode to all buffers, Robert Thorpe, 2007/01/22
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/22
- Message not available
- Re: How to apply a minor mode to all buffers, Robert Thorpe, 2007/01/23
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/23
- Re: How to apply a minor mode to all buffers,
Stefan Monnier <=
- Message not available
- Re: How to apply a minor mode to all buffers, Stefan Monnier, 2007/01/22