GNU bug report logs -
#31032
can't read emacs - unusable
Previous Next
Full log
View this message in rfc822 format
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.