all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Overlays at the end of the buffer does not reach it
Date: Tue, 25 Mar 2008 14:31:26 -0400	[thread overview]
Message-ID: <E1JeDvi-0000dr-VC@fencepost.gnu.org> (raw)
In-Reply-To: <47E811C1.6040708@gmail.com> (lennart.borgman@gmail.com)

    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.

This issue calls for very careful thought.  The change you're proposing
would be useful, but it would be an inconsistency.  Inconsistencies
in the meaning of Lisp data tend to bite you.  For instance, what happens
if you narrow and set ZV to the place where an overlay ends.
Does that cause the overlay to start affecting the position at the end
whereas previously it did not?

If this doesn't depend on the marker insertion type of each end of the
overlay, perhaps making it depend on that is a good solution.




  parent reply	other threads:[~2008-03-25 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=E1JeDvi-0000dr-VC@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.