unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Ellipsis "..." from outline-mode: how to react to mouse-1 events?
@ 2007-11-28 13:59 David Reitter
  0 siblings, 0 replies; 5+ messages in thread
From: David Reitter @ 2007-11-28 13:59 UTC (permalink / raw)
  To: gnu emacs-help gnu

How would one go about creating an overlay for every "..." ellipsis  
displayed in lieu of invisible portions of text?

I'd like to get outline-minor-mode to allow me to click on the  
ellipses to show/hide the entry (the key bindings used in outline- 
minor-mode are way too awkward).
One can change the ellipsis itself:

(set-display-table-slot standard-display-table
                          'selective-display
                          (string-to-vector "more..."))

but this way one cannot add properties or overlays, since the display  
table contains character vectors.

So what would be the best method?

Thanks
- David

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-01 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4239.1196258357.18990.help-gnu-emacs@gnu.org>
2007-11-30 17:04 ` Ellipsis "..." from outline-mode: how to react to mouse-1 events? Stefan Monnier
2007-12-01  1:18   ` Johan Bockgård
2007-12-01  4:19     ` Stefan Monnier
2007-12-01 12:29       ` Johan Bockgård
2007-11-28 13:59 David Reitter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).