GNU bug report logs - #4198
23.1.50; There should be a way to set variable-pitch-mode that is safe for file-local variables block

Previous Next

Package: emacs;

Reported by: James Cloos <cloos <at> jhcloos.com>

Date: Thu, 20 Aug 2009 20:34:43 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 4198 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: James Cloos <cloos <at> jhcloos.com>
To: 4198 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: 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
>>>>> "Stefan" == Stefan Monnier <monnier <at> 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 <at> jhcloos.com>         OpenPGP: 1024D/ED7DAEA6




This bug report was last modified 15 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.