[Top][All Lists]

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

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

From: Eli Zaretskii
Subject: bug#14582:; Strange overlay behavior, when window-start is inside an overlay.
Date: Sun, 09 Jun 2013 21:25:46 +0300

> Date: Sun, 9 Jun 2013 19:16:06 +0100
> From: E Sabof <address@hidden>
> Cc: address@hidden
> > > 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.

You mean, a character that is outside the overlay, I presume.

> > > 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.

It would help if you could show a recipe with one of these starting
from "emacs -Q".

reply via email to

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