GNU bug report logs -
#16591
-*-mode1-*- -*mode2-*-
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16591 in the body.
You can then email your comments to 16591 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 01:22:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jidanni <at> jidanni.org
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 30 Jan 2014 01:22:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On (info "(emacs) Choosing Modes")
please mention the proper way for users to write
-*-mode1-*- -*mode2-*-
if they want both.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Thu, 30 Jan 2014 02:44:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
jidanni <at> jidanni.org
:
bug acknowledged by developer.
(Thu, 30 Jan 2014 02:44:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 16591-done <at> debbugs.gnu.org (full text, mbox):
It is not documented in the Emacs manual because stock Emacs does not
provide a method to allow two major modes. I believe some add-ons do;
it's up to them to document it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 10:30:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 16591 <at> debbugs.gnu.org (full text, mbox):
>>>>> "GbTS" == GNU bug Tracking System <help-debbugs <at> gnu.org> writes:
GbTS> It is not documented in the Emacs manual because stock Emacs does not
GbTS> provide a method to allow two major modes. I believe some add-ons do;
GbTS> it's up to them to document it.
OK but please mention how to get -*-text-*- and -*-flyspell-*- working
on the same line.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 13:42:02 GMT)
Full text and
rfc822 format available.
Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):
On Thursday 30 January 2014 18:29:25 Dan Jacobson wrote:
> >>>>> "GbTS" == GNU bug Tracking System <help-debbugs <at> gnu.org> writes:
> GbTS> It is not documented in the Emacs manual because stock Emacs does not
> GbTS> provide a method to allow two major modes. I believe some add-ons do;
> GbTS> it's up to them to document it.
>
> OK but please mention how to get -*-text-*- and -*-flyspell-*- working
> on the same line.
-*- mode:text; mode:flyspell; -*-
But maybe you want to load `flyspell' in the `text-mode-hook' anyway.
Regards,
Rüdiger
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 13:42:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 13:57:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 16591 <at> debbugs.gnu.org (full text, mbox):
On Thu, Jan 30, 2014 at 02:41:13PM +0100, Rüdiger Sonderfeld wrote:
> -*- mode:text; mode:flyspell; -*-
>
> But maybe you want to load `flyspell' in the `text-mode-hook' anyway.
>
OK people. Kindly document all that. Thanks!
Did not alter fixed versions and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 30 Jan 2014 14:45:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 16:39:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 16591 <at> debbugs.gnu.org (full text, mbox):
On Thursday 30 January 2014 21:56:20 Dan Jacobson wrote:
> On Thu, Jan 30, 2014 at 02:41:13PM +0100, Rüdiger Sonderfeld wrote:
> > -*- mode:text; mode:flyspell; -*-
> >
> > But maybe you want to load `flyspell' in the `text-mode-hook' anyway.
>
> OK people. Kindly document all that. Thanks!
It's what the documentation already says
> 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); -*-
>
> Note, however, that it is usually inappropriate to enable minor modes
> this way, since most minor modes represent individual user preferences.
> If you personally want to use a minor mode for a particular file type,
> it is better to enable the minor mode via a major mode hook (*note Major
> Modes::).
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 16:40:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Thu, 30 Jan 2014 17:04:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
jidanni <at> jidanni.org
:
bug acknowledged by developer.
(Thu, 30 Jan 2014 17:04:04 GMT)
Full text and
rfc822 format available.
Message #35 received at 16591-done <at> debbugs.gnu.org (full text, mbox):
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); -*-
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 23:48:01 GMT)
Full text and
rfc822 format available.
Message #38 received at submit <at> debbugs.gnu.org (full text, mbox):
>>>>> "RS" == Rüdiger Sonderfeld <ruediger <at> c-plusplus.de> writes:
RS> It's what the documentation already says
No.
One cannot tell that
-*- mode:text; mode:flyspell; -*-
is also possible.
Please add the example.
Thank you.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16591
; Package
emacs
.
(Thu, 30 Jan 2014 23:48:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 28 Feb 2014 12:24:07 GMT)
Full text and
rfc822 format available.
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.