>>>>> Nick Roberts writes: > > I have written some code that removes the mouse-face property for > > inactive entries, and adds a face inherited from > > font-lock-comment-face; see attached. I think this does what you > > want regarding selection.
> 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. > +(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. Thanks, Matt _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug