[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default |
Date: |
Tue, 14 Sep 2021 14:46:51 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Karl Fogel <kfogel@red-bean.com>, Eli Zaretskii <eliz@gnu.org>, "Paul
> W. Rankin" <pwr@bydasein.com>, Stefan Kangas <stefan@marxist.se>, "Paul
> W. Rankin via Emacs development discussions." <emacs-devel@gnu.org>
> Date: Tue, 14 Sep 2021 13:15:53 +0200
>
> Matthias Meulien <orontee@gmail.com> writes:
>
> > See the following attachment where two bookmark-fringe-mark are
> > visible in the fringe (I just opened multiple bookmarks to *vc-dir*
> > buffers where one bookmark doesn't point to the first line of the
> > buffer):
>
> So the problem seems to be that a `revert-buffer' doesn't keep overlays
> where they were, I guess? (Or remove the overlays, at least.)
Are they removed, or do they move/evaporate because their markers
move?
> Do we have some machinery to handle overlays like this, or conventions
> about what to do with overlays when doing a `revert-buffer' actions?
AFAIK, we already try to preserve the buffer markers, if possible.
And revert-buffer-with-fine-grain tries harder. So if the issue is
that the overlays' markers moved, we already try.
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Stefan Kangas, 2021/09/13
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Manuel Uberti, 2021/09/13
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Colin Baxter, 2021/09/13
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Adam Porter, 2021/09/13
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Lars Ingebrigtsen, 2021/09/13
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Matthias Meulien, 2021/09/13
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, miha, 2021/09/14
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Lars Ingebrigtsen, 2021/09/14
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, miha, 2021/09/14
- Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default, Lars Ingebrigtsen, 2021/09/15