emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Global Font Lock by default


From: Dan Nicolaescu
Subject: Re: Global Font Lock by default
Date: Mon, 31 Oct 2005 22:25:41 -0800

Eli Zaretskii <address@hidden> writes:

  > > From: Romain Francoise <address@hidden>
  > > Date: Mon, 31 Oct 2005 22:11:54 +0100
  > > Cc: address@hidden
  > > 
  > > Dan Nicolaescu <address@hidden> writes:
  > > 
  > > > IMO font-lock-comment-face is missing a default as in the patch below.
  > > 
  > > It's probably the wrong fix -- the face definition appears to work fine
  > > on window-system displays.  What makes it behave differently on ttys?
  > 
  > I suspect it's different on a tty because the tty color support is not
  > yet fully set up when Emacs is dumped, and/or because we dump in batch
  > mode.  Dan, could you please see if that guess is true?

No, that's not the issue, it's just the way font-lock-comment-face is
defined (see a detailed explanation elsewhere in the
thread: http://lists.gnu.org/archive/html/emacs-devel/2005-10/msg01785.html)

  > If I'm right, one possible solution is to load font-lock at startup
  > instead of in loadup.

I don't think that would be needed. 



  > Btw, whatever solution we decide upon, we should make sure that
  > invoking Emacs with --colors switch does TRT, even if the argument to
  > this option is different from the default number of supported colors
  > (the one in effect at dump time).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]