[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turn-on-*-mode
From: |
Richard Stallman |
Subject: |
Re: turn-on-*-mode |
Date: |
Tue, 16 May 2006 23:45:54 -0400 |
Or maybe we should have something like
(defun add-hook-turn-on (hook mode)
(add-hook hook `(lambda nil (,mode 1))))
So that one can write
(add-hook-turn-on 'text-mode-hook 'auto-fill-mode)
This would be an improvement, if just using the minor mode
function is not acceptable (see the following message).
But even better would be a feature that makes it easy to use Custom to
specify minor modes to enable in any given major mode.
- Re: turn-on-*-mode, (continued)
- Re: turn-on-*-mode, Sam Steingold, 2006/05/16
- Re: turn-on-*-mode, Lennart Borgman, 2006/05/16
- Re: turn-on-*-mode, Kim F. Storm, 2006/05/16
- RE: turn-on-*-mode, Drew Adams, 2006/05/16
- Re: turn-on-*-mode, Sam Steingold, 2006/05/16
- Re: turn-on-*-mode, David Kastrup, 2006/05/16
- RE: turn-on-*-mode, Drew Adams, 2006/05/16
- Re: turn-on-*-mode, Lennart Borgman, 2006/05/16
- Re: turn-on-*-mode, Stuart D. Herring, 2006/05/16
- Re: turn-on-*-mode, Johan Bockgård, 2006/05/16
- Re: turn-on-*-mode,
Richard Stallman <=
- Re: turn-on-*-mode, Richard Stallman, 2006/05/16
- Re: turn-on-*-mode, Reiner Steib, 2006/05/30
- Re: turn-on-*-mode, Sam Steingold, 2006/05/30
- Re: turn-on-*-mode, Reiner Steib, 2006/05/30
- Re: turn-on-*-mode, Reiner Steib, 2006/05/16
- Re: turn-on-*-mode, Miles Bader, 2006/05/16
- Re: turn-on-*-mode, Richard Stallman, 2006/05/17
- Re: turn-on-*-mode, Stefan Monnier, 2006/05/17
- Re: turn-on-*-mode, Richard Stallman, 2006/05/18
- Re: turn-on-*-mode, Stefan Monnier, 2006/05/18