[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlays at the end of the buffer does not reach it
From: |
Richard Stallman |
Subject: |
Re: Overlays at the end of the buffer does not reach it |
Date: |
Tue, 25 Mar 2008 14:31:26 -0400 |
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.