unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: 4198@emacsbugs.donarmstrong.com
Subject: bug#4198: 23.1.50; There should be a way to set variable-pitch-mode that is safe for file-local variables block
Date: Sat, 22 Aug 2009 05:09:54 -0400	[thread overview]
Message-ID: <m37hwwb4ed.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <jwvk50wcv09.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Sat, 22 Aug 2009 00:50:58 -0400")

>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> The only way I could find to automatically use variable-pitch-mode
>> for a given file is to use:

>> -*- eval: (variable-pitch-mode); -*-

Stefan> Why not

Stefan> -*- mode: variable-pitch -*-

It seems like I must have tested that and dismissed it for some reason
back when I first added the eval.  I did not think to try that again
before reporting, though.

That said, it is still not usable; with it, the major mode is always
fundamental, not what the filename or contents would otherwise set.

Is there a way I missed to enable a minor mode w/o affecting the
selection of the major mode or other minor modes?

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6






  reply	other threads:[~2009-08-22  9:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19  6:24 bug#4198: 23.1.50; There should be a way to set variable-pitch-mode that is safe for file-local variables block James Cloos
2009-08-22  4:50 ` Stefan Monnier
2009-08-22  9:09   ` James Cloos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-12  0:09 Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m37hwwb4ed.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=4198@emacsbugs.donarmstrong.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).