[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dir-locals.el take precedence over user's mode-hook changes
From: |
Dan Nicolaescu |
Subject: |
Re: dir-locals.el take precedence over user's mode-hook changes |
Date: |
Wed, 31 Dec 2008 13:41:47 -0800 (PST) |
Stefan Monnier <address@hidden> writes:
> > Unfortunately this does not work, it would turn the mode off if it's
> > already turned on.
>
> > If you have in your .emacs:
>
> > (add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-hook)
> > (defun my-emacs-lisp-mode-hook () (auto-fill-mode 1))
>
> > And add to an elisp file:
>
> > ;; Local Variables:
> > ;; mode: auto-fill
> > ;; End:
>
> > auto-fill-mode will not be turned on for that elisp file.
>
> Yes, that's a more general problem. I'd be inclined to change it so
> that the minor mode is unconditionally turned ON rather than toggled.
Please do that, this is a long standing issue...
- Re: dir-locals.el take precedence over user's mode-hook changes, (continued)
- Re: dir-locals.el take precedence over user's mode-hook changes, Dan Nicolaescu, 2008/12/24
- Re: dir-locals.el take precedence over user's mode-hook changes, Tom Tromey, 2008/12/24
- Re: dir-locals.el take precedence over user's mode-hook changes, Juri Linkov, 2008/12/24
- Re: dir-locals.el take precedence over user's mode-hook changes, Stefan Monnier, 2008/12/30
- Re: dir-locals.el take precedence over user's mode-hook changes, Juri Linkov, 2008/12/30
- Re: dir-locals.el take precedence over user's mode-hook changes, Stefan Monnier, 2008/12/30
- Re: dir-locals.el take precedence over user's mode-hook changes, Dan Nicolaescu, 2008/12/30
- Re: dir-locals.el take precedence over user's mode-hook changes, Juri Linkov, 2008/12/31
- Re: dir-locals.el take precedence over user's mode-hook changes, Dan Nicolaescu, 2008/12/31
- Re: dir-locals.el take precedence over user's mode-hook changes, Stefan Monnier, 2008/12/31
- Re: dir-locals.el take precedence over user's mode-hook changes,
Dan Nicolaescu <=
- Re: dir-locals.el take precedence over user's mode-hook changes, Chetan Pandya, 2008/12/31
- Re: dir-locals.el take precedence over user's mode-hook changes, Richard M Stallman, 2008/12/31
Re: dir-locals.el take precedence over user's mode-hook changes, Miles Bader, 2008/12/24