From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: jump next previous - tag bookmark or search
Date: Mon, 29 May 2006 20:27:01 -0400 [thread overview]
Message-ID: <jwvbqtgcqth.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: e5fr13$aif$1@lust.ihug.co.nz
> Thanks Stefan, good point.
> This is how they are presented in 57.3.4 Local Variables in Files in the
> Emacs Manual,
Very good point. I've just fixed the manual so as not to give such bad
advice any more (in the past the use of ;;; for normal commments was
considered OK, even though it clashed with outline-minor-mode and lisp-mnt,
this has only been adjusted recently).
But note that my remark wasn't just about convention: since the local
variables are used to set the outline-minor-mode, clearly you want to follow
outline's conventions and thus avoid ";;;" even if such comments were
usually considered perfectly acceptable.
> However my point was that, turning on outline-minor-mode seems to deselect
> Lisp-mode (the high-lighting goes), I'm uncertain what happens to
> Slime-mode, and it would seem that a specific order for turning on the
> three modes seems necessary. In this case;
> - outline-minor-mode (first)
> - slime-mode
> - lisp-mode
> And that just seems strange to me. Suddenly almost requiring a Local
> Variables list. It appears these modes can alter or switch off each other,
> depending upon which order they're initiated.
Yes, the `mode' settings was mostly meant for major modes, not minor modes.
Activating a major mode resets most minor modes, so the order is important:
lisp-mode should be activated first (which seems to be obtained
unintuitively by placing it at the end).
Stefan
next prev parent reply other threads:[~2006-05-30 0:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2370.1148833261.9609.help-gnu-emacs@gnu.org>
2006-05-29 5:41 ` jump next previous - tag bookmark or search Adam
2006-05-29 19:46 ` Stefan Monnier
2006-05-29 22:02 ` Adam
2006-05-30 0:27 ` Stefan Monnier [this message]
2006-05-30 22:16 ` Adam
2006-05-28 15:36 Adam
2006-05-28 16:04 ` Albert Reiner
2006-05-28 16:20 ` Drew Adams
2006-05-28 16:30 ` Bastien
2006-05-28 18:04 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvbqtgcqth.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.