unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Overlays at the end of the buffer does not reach it
@ 2008-03-24 20:40 Lennart Borgman (gmail)
  2008-03-25  1:39 ` Stefan Monnier
  2008-03-25 18:31 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-03-24 20:40 UTC (permalink / raw)
  To: Emacs Devel

If you put an overlay at the end of the buffer and then put point at the 
  end of the buffer then point is outside the overlay.

That prevents the use of overlay keymaps at the end of the buffer. I 
therefor suggest that in this case the point should be regarded to be 
within the overlay.

Or, alternatively that move-overlay used with something like

   (widen)
   (move-overlay ovl beg (1+ (point-max)))

should make the overlay behave the way I suggest.

However when inserting text at the end of the buffer I guess that text 
still should be regarded as placed after the overlay. Otherwise it would 
be very inconvenient to add text after the overlay.




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

end of thread, other threads:[~2008-03-25 20:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-24 20:40 Overlays at the end of the buffer does not reach it Lennart Borgman (gmail)
2008-03-25  1:39 ` Stefan Monnier
2008-03-25  2:19   ` Lennart Borgman (gmail)
2008-03-25 18:31 ` Richard Stallman
2008-03-25 20:14   ` Lennart Borgman (gmail)

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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