[Top][All Lists]

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

Re: tmm and enabled menus.

From: Matt Hodges
Subject: Re: tmm and enabled menus.
Date: Wed, 18 May 2005 10:54:24 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/22.0.50 (gnu/linux)

>>>>> Nick Roberts writes:

 > > I am interested in hearing what others here think about that
 > > question.

 > I've tried it and it seems to work. I think it would be even
 > clearer without the hyphens:

I tried without hyphens first, but found their addition clarified
things for me when there are long entries that span the two columns.


 > The nonselectable items, are still selectable from the completions
 > buffer with mouse-1 or <RET>. They just do nothing and return to
 > the original buffer. I guess this is consistent with clicking on a
 > nonselectable menu-item but in this case its clearer that you
 > haven't selected anything because the relief of the menu-item
 > doesn't raise when the mouse is over it. Might it be better/is it
 > possible to make clicking with mouse-1 or typing <RET> over these
 > items do absolutely nothing in text mode i.e keep the completions
 > buffer intact (and perhaps echo "No completions here" in the
 > mini-buffer), just like in the preamble?

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.

 > Overall I think this an improvement, more consistent and worth
 > installing.

Thanks for testing.

Attachment: txtAwI4PaOFtT.txt
Description: tmm.el patch.

reply via email to

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