GNU bug report logs - #31032
can't read emacs - unusable

Previous Next

Package: emacs;

Reported by: K Richard Pixley <pixleyr <at> google.com>

Date: Mon, 2 Apr 2018 22:11:01 UTC

Severity: minor

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: K Richard Pixley <pixleyr <at> google.com>
Cc: K Richard Pixley <rich <at> noir.com>, 31032 <at> debbugs.gnu.org
Subject: bug#31032: can't read emacs - unusable
Date: Mon, 02 Apr 2018 19:31:00 -0400
K Richard Pixley <pixleyr <at> google.com> writes:

> On my private configurations, I can set them to turn off font-lock
> mode, but from the command line, even --eval='(global-font-lock-mode
> 0)' doesn't seem to be working.

Perhaps the configuration explicitly enables font-lock?  Why not use -Q
so you don't have to deal with random configurations?

    emacs -Q --eval='(global-font-lock-mode 0)'

I don't there is any command line option to disable colour in graphical
mode.  Possibly you could disable font-lock later, e.g.,

    emacs --eval='(add-hook (quote after-init-hook) (lambda () (global-font-lock-mode 0)))'

To completely get rid of all colour, you could evaluate:

    (dolist (face (face-list))
      (when (face-foreground face)
        (set-face-foreground face 'unspecified))
      (when (face-background face)
        (set-face-background face 'unspecified)))

(again, this would probably have to be done in the after-init-hook, if
the configuration makes its own colour settings to faces)




This bug report was last modified 7 years and 47 days ago.

Previous Next


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