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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16591: closed (-*-mode1-*- -*mode2-*-)
Date: Thu, 30 Jan 2014 17:04:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 30 Jan 2014 12:03:24 -0500
with message-id <kg4n4l5rmr.fsf <at> fencepost.gnu.org>
and subject line Re: bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)
has caused the debbugs.gnu.org bug report #16591,
regarding -*-mode1-*- -*mode2-*-
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16591: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16591
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: -*-mode1-*- -*mode2-*-
Date: Thu, 30 Jan 2014 08:52:21 +0800
On (info "(emacs) Choosing Modes")
please mention the proper way for users to write
-*-mode1-*- -*mode2-*-
if they want both.



[Message part 3 (message/rfc822, inline)]
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.