On 2008-08-25 21:49 +0200, Claus Fischer wrote:

> When calling emacs in my root xterm which has no X authority
> and has a light-red background, emacs will display some portions
> of config files in colors that are virtually unreadable.

I would not recommend to run Emacs as root at all.  There are better
methods like sudoedit or Tramp if you want to edit a system file.

> While my choice of background color is entirely my own fault,
> color-terminal programs should generally set background and
> foreground color together.

I'm not convinced that this is true, especially not for text editors.
IMHO they should respect the user's decision for these colors.  Anyway,
you can use the -bg and -fg command line options to change them.

> Otherwise the default color palette
> will look wonderful in the Emacs developer's xterm but will
> give some users a hard time.

True; the emacs-goodies-el package contains a wonderful add-on named
emacs-color-themes which may contain a scheme suitable to red background
colors.

> Alternatively, color highlighting could be switched off completely
> in nonwindow mode.

That's your call, if you prefer that.  Put

(unless window-system
  (global-font-lock-mode 0))

into your .emacs to achieve it.  But most people will be happy that
font-lock is on by default.
   
Regards,
        Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to