all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: 16591@debbugs.gnu.org
Cc: jidanni@jidanni.org
Subject: bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)
Date: Thu, 30 Jan 2014 17:38:28 +0100	[thread overview]
Message-ID: <3001146.SEZodlbWWe@descartes> (raw)
In-Reply-To: <20140130135620.GA10431@jidanni.org>

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::).






  reply	other threads:[~2014-01-30 16:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <handler.16591.D16591.13910497853788.notifdone@debbugs.gnu.org>
2014-01-30  0:52 ` bug#16591: -*-mode1-*- -*mode2-*- jidanni
2014-01-30  2:43   ` Glenn Morris
2014-01-30 10:29   ` bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-) Dan Jacobson
2014-01-30 13:41     ` Rüdiger Sonderfeld
2014-01-30 13:56       ` Dan Jacobson
2014-01-30 16:38         ` Rüdiger Sonderfeld [this message]
2014-01-30 17:03           ` Glenn Morris
2014-01-30 23:46   ` Dan Jacobson

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=3001146.SEZodlbWWe@descartes \
    --to=ruediger@c-plusplus.de \
    --cc=16591@debbugs.gnu.org \
    --cc=jidanni@jidanni.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.