GNU bug report logs - #16591
-*-mode1-*- -*mode2-*-

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 30 Jan 2014 01:22:02 UTC

Severity: wishlist

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 16591-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 16591-done <at> debbugs.gnu.org
Subject: Re: bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)
Date: Thu, 30 Jan 2014 12:03:24 -0500
RĂ¼diger Sonderfeld wrote:

>> > -*- mode:text; mode:flyspell; -*-
[...]
> It's what the documentation already says

Not exactly, since use of "mode" to enable minor-modes is deprecated.
The docs says to use "eval".

>> You can also use file-local variables to specify buffer-local minor
>> modes, by using 'eval' specifications.  For example, this first nonblank
>> 
>> line puts the buffer in Lisp mode and enables Auto-Fill mode:
>>      ; -*- mode: Lisp; eval: (auto-fill-mode 1); -*-




This bug report was last modified 11 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.