GNU bug report logs - #2235
22.2.1 emacs -Q should not turn on font-lock

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Sun, 8 Feb 2009 11:00:04 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jari Aalto <jari.aalto <at> cante.net>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 2235 <at> debbugs.gnu.org
Subject: bug#2235: 22.2.1 emacs -Q should not turn on font-lock
Date: Sun, 08 Feb 2009 19:32:43 +0200
Chong Yidong <cyd <at> stupidchicken.com> writes:

>> Please refrain from turning on additional features when "bare bones"
>> (-Q) program behavior is asked.
>
> No, thanks.  The -Q option is largely intended for debugging

Not just debugging. When other programs call for $EDITOR, the typical
value is for emacs users is:

    EDITOR="emacs -Q -nw"

beacuse most want the editor to start in these cases as fast as
possible.

> If the colors on a white terminal are unreadable, we should fix them
> everywhere, not just in -Q.

If the -Q option cannot be changed, please provide separate option which
turns off colors, something like:

  --no-colors

I know it's possiblt to:

   --eval '(global-font-lock-mode -1)'

But I'd call that 'workaround', considering:

1)  Some programs that parse EDITOR, can't handle embedded quotes and
    embedded spaces  correctly.
2)  It calls for understanding more lisp than needed for average Joe
3)  The short, self documenting option "--no-colors" and some suitable
    short option is easier to write.

Jari




This bug report was last modified 16 years and 164 days ago.

Previous Next


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