help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Ellipsis "..." from outline-mode: how to react to mouse-1 events?


From: Johan Bockgård
Subject: Re: Ellipsis "..." from outline-mode: how to react to mouse-1 events?
Date: Sat, 01 Dec 2007 13:29:31 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> The outline overlay (which adds the `invisible' property) could simply
>>> have a `keymap' property (as well as a mouse-face property).
>>> 
>>> I think this currently wouldn't do anything
>
>> And do know what "this" refers to.
>
> "this" refers to adding those two properties to outline-mode's overlays.

`mouse-face' certainly works.

>> Anyway, my tries seemed to indicate that bindings for mouse buttons
>> have no effect but that ordinary keyboard keys work.
>
> Oh, so you're saying that the `keymap' property is obeyed for keyboard
> keys (on text replaced by an ellipsis)?

Yes.

-- 
Johan Bockgård


reply via email to

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