all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: Overlays at the end of the buffer does not reach it
Date: Mon, 24 Mar 2008 21:40:33 +0100	[thread overview]
Message-ID: <47E811C1.6040708@gmail.com> (raw)

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.




             reply	other threads:[~2008-03-24 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 20:40 Lennart Borgman (gmail) [this message]
2008-03-25  1:39 ` Overlays at the end of the buffer does not reach it 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)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E811C1.6040708@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.