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: Stefan Monnier
Subject: Re: Ellipsis "..." from outline-mode: how to react to mouse-1 events?
Date: Fri, 30 Nov 2007 23:19:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> 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.

> 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)?  I didn't know.
I do know that it doesn't work for mouse events.


        Stefan


reply via email to

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