bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is ins


From: E Sabof
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Date: Sun, 9 Jun 2013 19:16:06 +0100




On Sun, Jun 9, 2013 at 6:52 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Sun, 9 Jun 2013 18:37:12 +0100
> From: E Sabof <esabof@gmail.com>
> Cc: 14582@debbugs.gnu.org
>
> I think the correct behavior would be to adjust the window-position.

Adjust to where?

Either to the next or previous character starting a line.

> Yes, it happens quite frequently after (fold-dwim-hide-all), and maybe in
> similar commands.

Who calls set-window-start there, and why do they set window-start in
the middle of text that is hidden?

There is no need to call it explicitly. Part of a function might be before the window start, and part after. If one evokes hs-hide-all (to which fold-dwim-hide-all delegates), the same thing will happen.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]