GNU bug report logs -
#75953
30.0.92; Bookmark fringe indicator not removed
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75953 in the body.
You can then email your comments to 75953 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75953
; Package
emacs
.
(Thu, 30 Jan 2025 21:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 30 Jan 2025 21:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello.
I'm sending this bug report as a continuation of this closed report
bug#51233.
The fringe indicator for bookmarks is correctly set, but the procedure
`bookmark-delete-all` does not delete the indicator.
Steps for reproduction:
1. Run emacs -q
2. Create a new file, say /tmp/test.txt
3. Ensure bookmark-set-fringe-mark is t (should be by default)
4. Add some text and bookmark the line: a fringe indicator should appear
at the left
5. Call `bookmark-delete-all` to delete the bookmark: the fringe
indicator is still there
Best regards,
Sergio.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75953
; Package
emacs
.
(Fri, 31 Jan 2025 08:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75953 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 30 Jan 2025 22:04:20 +0100
> From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
>
> Hello.
>
> I'm sending this bug report as a continuation of this closed report
> bug#51233.
>
> The fringe indicator for bookmarks is correctly set, but the procedure
> `bookmark-delete-all` does not delete the indicator.
>
> Steps for reproduction:
>
> 1. Run emacs -q
>
> 2. Create a new file, say /tmp/test.txt
>
> 3. Ensure bookmark-set-fringe-mark is t (should be by default)
>
> 4. Add some text and bookmark the line: a fringe indicator should appear
> at the left
>
> 5. Call `bookmark-delete-all` to delete the bookmark: the fringe
> indicator is still there
Does the patch below give good results?
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index cd59293..153646c 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1584,6 +1584,8 @@ bookmark-delete-all
(when (or no-confirm
(yes-or-no-p "Permanently delete all bookmarks? "))
(bookmark-maybe-load-default-file)
+ (dolist (bm bookmark-alist)
+ (bookmark--remove-fringe-mark bm))
(setq bookmark-alist-modification-count
(+ bookmark-alist-modification-count (length bookmark-alist)))
(setq bookmark-alist nil)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75953
; Package
emacs
.
(Fri, 31 Jan 2025 20:09:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 75953 <at> debbugs.gnu.org (full text, mbox):
Hello!
On 1/31/25 09:03, Eli Zaretskii wrote:
> Does the patch below give good results?
Yes, the patch fixes the issue.
Thanks for taking a look at it.
Regards,
Sergio
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 01 Feb 2025 09:35:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
:
bug acknowledged by developer.
(Sat, 01 Feb 2025 09:35:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 75953-done <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 31 Jan 2025 21:08:01 +0100
> Cc: 75953 <at> debbugs.gnu.org
> From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
>
> Hello!
>
> On 1/31/25 09:03, Eli Zaretskii wrote:
> > Does the patch below give good results?
>
> Yes, the patch fixes the issue.
>
> Thanks for taking a look at it.
Thanks, installed on the emacs-30 branch, and closing the bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 01 Mar 2025 12:24:17 GMT)
Full text and
rfc822 format available.
This bug report was last modified 135 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.