emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: tmm and enabled menus.


From: Nick Roberts
Subject: Re: tmm and enabled menus.
Date: Thu, 2 Jun 2005 21:46:22 +1200

 >  > I prefer this behaviour for selection but I don't understand why
 >  > you have removed the mouse-face property. I can't see such
 >  > properties on a text terminal and in situations where I can, I
 >  > would be able to use the ordinary menu bar.
 > 
 > These are removed so that if you go into the *Completions* buffer
 > (with PgUp or M-v) and press RET on an inactive entry, you just get a
 > "No completion here" message; choose-completion checks for a
 > mouse-face property around point.  Since this is not obvious, maybe a
 > comment should be added.

OK. I follow this now.

 >  > +(defface tmm-inactive-face
 >  > +  '((t :inherit font-lock-comment-face))
 >  > +  "Face used for inactive menu items."
 >  > +  :group 'tmm)
 > 
 >  > font-lock-comment-face displays as ordinary text on a text terminal
 >  > now.
 > 
 > I use a terminal with more than 16 colours, so didn't notice this.
 > 
 >  >  Would it not be better to define tmm-active-face and make that
 >  > stand out?
 > 
 > I thought it more natural to deal with the inactive entries,
 > especially since the mouse-face can be removed at the same time.

With 16 colours, I guess font-lock-comment-face is still red. How about
using a more subdued colour?

If no-one objects, I will install this.

Nick




reply via email to

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