From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Can I turn on some minor mode on specific files?
Date: Sun, 26 May 2013 15:45:43 +0200 [thread overview]
Message-ID: <87fvx9kg6w.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 87li71hqez.fsf@gmail.com
Hongxu Chen <leftcopy.chx@gmail.com> writes:
> But it complains:
>
> Info-find-file: Info file emacs does not exist
>
> I am runnning on Emacs 24.3.
>
> Also, Pascal's advice is NOT correct since adding `mode' in the modeline
> would change the major mode rather than minor modes, and the right way
> is to append the following:
You should of course put your major mode first, but you can add as many
minor modes you want:
-*- mode:text;mode:hs-minor;mode:flyspell -*-
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
You can take the lisper out of the lisp job, but you can't take the lisp out
of the lisper (; -- antifuchs
next prev parent reply other threads:[~2013-05-26 13:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.392.1369531227.22516.help-gnu-emacs@gnu.org>
2013-05-26 1:34 ` Can I turn on some minor mode on specific files? Pascal J. Bourguignon
2013-05-26 3:39 ` Hongxu Chen
2013-05-26 6:25 ` Bernardo
2013-05-26 12:33 ` Hongxu Chen
2013-05-26 12:59 ` Jambunathan K
2013-05-26 13:29 ` Hongxu Chen
2013-05-26 13:45 ` Pascal J. Bourguignon [this message]
2013-05-26 14:20 ` Hongxu Chen
[not found] ` <mailman.411.1369578019.22516.help-gnu-emacs@gnu.org>
2013-05-26 14:49 ` Pascal J. Bourguignon
2013-05-27 2:16 ` Hongxu Chen
2013-05-26 1:20 Hongxu Chen
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=87fvx9kg6w.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@gnu.org \
/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.