GNU bug report logs - #14582
24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.

Previous Next

Package: emacs;

Reported by: E Sabof <esabof <at> gmail.com>

Date: Sun, 9 Jun 2013 09:14:02 UTC

Severity: normal

Found in version 24.3.50.1

Full log


View this message in rfc822 format

From: E Sabof <esabof <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 14582 <at> debbugs.gnu.org
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Date: Sun, 9 Jun 2013 18:37:12 +0100
[Message part 1 (text/plain, inline)]
On Sun, Jun 9, 2013 at 6:06 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> "If it hurts, don't do that."  You've put window-start on a position
> that is at the beginning of a line, but happens to be covered by an
> overlay.  Emacs obeyed.
>
> What did you expect instead, and why?  Is there some real-life use
> case where this causes trouble?
>

I think the correct behavior would be to adjust the window-position. As far
as the window is concerned, putting a hiding overlay should be no different
than deleting text.

Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
similar commands.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.