unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51233: 28.0.60; Bookmark fringe indicator not removed
@ 2021-10-16  4:32 Carlos Pita
  2021-10-16  7:11 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Pita @ 2021-10-16  4:32 UTC (permalink / raw)
  To: 51233

Hi all,

the new fringe indicator for bookmarks is correctly set but then not
removed when the bookmark is deleted.

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 to delete the bookmark: the fringe indicator is
   still there

Best regards,
Carlos

---

In GNU Emacs 28.0.60 (build 2, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165))
 of 2021-10-14 built on Carloss-MacBook-Pro.local
Repository revision: a8caf24c7af05d9d1f92f52632cfe7ccefd3f2dd
Repository branch: local
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.6

Configured using:
 'configure --without-native-compilation'

Configured features:
ACL DBUS GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE
NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  company-box-mode: t
  outline-minor-mode: t
  display-line-numbers-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  ivy-mode: t
  global-company-mode: t
  company-mode: t
  which-key-mode: t
  override-global-mode: t
  electric-pair-mode: t
  minions-mode: t
  doom-modeline-mode: t
  ns-auto-titlebar-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-history-mode: t
  tab-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/carlos/.emacs.d/straight/build/transient/transient hides /Applications/Emacs.app/Contents/Resources/lisp/transient
/Users/carlos/.emacs.d/straight/build/org/ob-exp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/carlos/.emacs.d/straight/build/org/ob-emacs-lisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/carlos/.emacs.d/straight/build/org/oc hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc
/Users/carlos/.emacs.d/straight/build/org/ob-css hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/carlos/.emacs.d/straight/build/org/ob-lob hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/carlos/.emacs.d/straight/build/org/ol-irc hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-irc
/Users/carlos/.emacs.d/straight/build/org/ob-forth hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-forth
/Users/carlos/.emacs.d/straight/build/org/org-macs hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/carlos/.emacs.d/straight/build/org/ob hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob
/Users/carlos/.emacs.d/straight/build/org/org-version hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-version
/Users/carlos/.emacs.d/straight/build/org/ob-scheme hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/carlos/.emacs.d/straight/build/org/ox hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox
/Users/carlos/.emacs.d/straight/build/org/ob-C hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/carlos/.emacs.d/straight/build/org/org-capture hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-capture
/Users/carlos/.emacs.d/straight/build/org/ob-ref hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/carlos/.emacs.d/straight/build/org/ob-clojure hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/carlos/.emacs.d/straight/build/org/org-mouse hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/carlos/.emacs.d/straight/build/org/org-ctags hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/carlos/.emacs.d/straight/build/org/org-entities hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-entities
/Users/carlos/.emacs.d/straight/build/org/org-archive hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-archive
/Users/carlos/.emacs.d/straight/build/org/ob-screen hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/carlos/.emacs.d/straight/build/org/ol-bibtex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-bibtex
/Users/carlos/.emacs.d/straight/build/org/ob-haskell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/carlos/.emacs.d/straight/build/org/org-table hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/carlos/.emacs.d/straight/build/org/ol-eww hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-eww
/Users/carlos/.emacs.d/straight/build/org/ol-man hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-man
/Users/carlos/.emacs.d/straight/build/org/ox-org hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-org
/Users/carlos/.emacs.d/straight/build/org/org-num hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-num
/Users/carlos/.emacs.d/straight/build/org/org-plot hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/carlos/.emacs.d/straight/build/org/ol-rmail hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-rmail
/Users/carlos/.emacs.d/straight/build/org/ob-awk hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/carlos/.emacs.d/straight/build/org/ob-groovy hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-groovy
/Users/carlos/.emacs.d/straight/build/org/ob-octave hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/carlos/.emacs.d/straight/build/org/org-faces hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/carlos/.emacs.d/straight/build/org/oc-biblatex hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-biblatex
/Users/carlos/.emacs.d/straight/build/org/org-colview hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-colview
/Users/carlos/.emacs.d/straight/build/org/ob-R hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/carlos/.emacs.d/straight/build/org/org-refile hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-refile
/Users/carlos/.emacs.d/straight/build/org/org-timer hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/carlos/.emacs.d/straight/build/org/org-mobile hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/carlos/.emacs.d/straight/build/org/ob-fortran hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/carlos/.emacs.d/straight/build/org/ob-shell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-shell
/Users/carlos/.emacs.d/straight/build/org/ob-perl hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/carlos/.emacs.d/straight/build/org/ob-sqlite hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/carlos/.emacs.d/straight/build/org/oc-basic hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-basic
/Users/carlos/.emacs.d/straight/build/org/ob-sed hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sed
/Users/carlos/.emacs.d/straight/build/org/org-list hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/carlos/.emacs.d/straight/build/org/ob-ruby hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/carlos/.emacs.d/straight/build/org/ob-eval hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/carlos/.emacs.d/straight/build/org/org-habit hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/carlos/.emacs.d/straight/build/org/org-clock hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/carlos/.emacs.d/straight/build/org/org-goto hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-goto
/Users/carlos/.emacs.d/straight/build/org/ox-html hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-html
/Users/carlos/.emacs.d/straight/build/org/org-src hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/carlos/.emacs.d/straight/build/org/ob-lisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/carlos/.emacs.d/straight/build/org/ol-eshell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-eshell
/Users/carlos/.emacs.d/straight/build/org/ob-ditaa hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/carlos/.emacs.d/straight/build/org/org-pcomplete hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Users/carlos/.emacs.d/straight/build/org/org-lint hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-lint
/Users/carlos/.emacs.d/straight/build/org/ox-latex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-latex
/Users/carlos/.emacs.d/straight/build/org/ob-sass hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/carlos/.emacs.d/straight/build/org/ob-tangle hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/carlos/.emacs.d/straight/build/org/ob-calc hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/carlos/.emacs.d/straight/build/org/ob-java hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/carlos/.emacs.d/straight/build/org/ox-icalendar hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-icalendar
/Users/carlos/.emacs.d/straight/build/org/ol-mhe hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-mhe
/Users/carlos/.emacs.d/straight/build/org/org-attach-git hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-attach-git
/Users/carlos/.emacs.d/straight/build/org/ox-md hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-md
/Users/carlos/.emacs.d/straight/build/org/ox-beamer hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-beamer
/Users/carlos/.emacs.d/straight/build/org/org-element hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-element
/Users/carlos/.emacs.d/straight/build/org/oc-natbib hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-natbib
/Users/carlos/.emacs.d/straight/build/org/org-protocol hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Users/carlos/.emacs.d/straight/build/org/ob-gnuplot hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/carlos/.emacs.d/straight/build/org/org-tempo hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-tempo
/Users/carlos/.emacs.d/straight/build/org/ob-latex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/carlos/.emacs.d/straight/build/org/ol-w3m hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-w3m
/Users/carlos/.emacs.d/straight/build/org/org-id hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/carlos/.emacs.d/straight/build/org/ox-man hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-man
/Users/carlos/.emacs.d/straight/build/org/ol-doi hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-doi
/Users/carlos/.emacs.d/straight/build/org/org-feed hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/carlos/.emacs.d/straight/build/org/ob-julia hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-julia
/Users/carlos/.emacs.d/straight/build/org/ob-lua hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lua
/Users/carlos/.emacs.d/straight/build/org/ob-table hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/carlos/.emacs.d/straight/build/org/ob-ocaml hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/carlos/.emacs.d/straight/build/org/oc-csl hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-csl
/Users/carlos/.emacs.d/straight/build/org/ol-gnus hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-gnus
/Users/carlos/.emacs.d/straight/build/org/org-indent hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/carlos/.emacs.d/straight/build/org/ob-lilypond hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Users/carlos/.emacs.d/straight/build/org/ob-matlab hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/carlos/.emacs.d/straight/build/org/org-datetree hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Users/carlos/.emacs.d/straight/build/org/ol-docview hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-docview
/Users/carlos/.emacs.d/straight/build/org/ob-python hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/carlos/.emacs.d/straight/build/org/ob-makefile hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-makefile
/Users/carlos/.emacs.d/straight/build/org/org-duration hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-duration
/Users/carlos/.emacs.d/straight/build/org/org-agenda hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/carlos/.emacs.d/straight/build/org/ob-dot hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/carlos/.emacs.d/straight/build/org/ob-js hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/carlos/.emacs.d/straight/build/org/ox-publish hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-publish
/Users/carlos/.emacs.d/straight/build/org/org-inlinetask hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Users/carlos/.emacs.d/straight/build/org/ob-org hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/carlos/.emacs.d/straight/build/org/org-keys hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-keys
/Users/carlos/.emacs.d/straight/build/org/ob-core hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-core
/Users/carlos/.emacs.d/straight/build/org/org-compat hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/carlos/.emacs.d/straight/build/org/ol hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol
/Users/carlos/.emacs.d/straight/build/org/ox-odt hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-odt
/Users/carlos/.emacs.d/straight/build/org/ol-info hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-info
/Users/carlos/.emacs.d/straight/build/org/ob-plantuml hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Users/carlos/.emacs.d/straight/build/org/ob-eshell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-eshell
/Users/carlos/.emacs.d/straight/build/org/ox-ascii hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-ascii
/Users/carlos/.emacs.d/straight/build/org/org-loaddefs hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-loaddefs
/Users/carlos/.emacs.d/straight/build/org/ox-koma-letter hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-koma-letter
/Users/carlos/.emacs.d/straight/build/org/ob-maxima hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/carlos/.emacs.d/straight/build/org/org hides /Applications/Emacs.app/Contents/Resources/lisp/org/org
/Users/carlos/.emacs.d/straight/build/org/ol-bbdb hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-bbdb
/Users/carlos/.emacs.d/straight/build/org/org-macro hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-macro
/Users/carlos/.emacs.d/straight/build/org/ob-sql hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/carlos/.emacs.d/straight/build/org/org-attach hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/carlos/.emacs.d/straight/build/org/ob-processing hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-processing
/Users/carlos/.emacs.d/straight/build/org/ox-texinfo hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-texinfo
/Users/carlos/.emacs.d/straight/build/org/org-crypt hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/carlos/.emacs.d/straight/build/org/org-footnote hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Users/carlos/.emacs.d/straight/build/org/org-install hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-install
/Users/carlos/.emacs.d/straight/build/org/ob-comint hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/carlos/.emacs.d/straight/build/let-alist/let-alist hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist

Features:
(shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa
epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source
password-cache json map time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt company-box
company-box-doc frame-local company-box-icons noutline outline
display-line-numbers server pdf-tools-autoloads tablist-autoloads
org-roam-autoloads emacsql-sqlite-autoloads emacsql-autoloads
lsp-pyright-autoloads pyvenv-autoloads jupyter-autoloads
websocket-autoloads simple-httpd-autoloads zmq-autoloads
code-cells-autoloads dired-x exec-path-from-shell
exec-path-from-shell-autoloads polymode derived poly-lock polymode-base
polymode-weave polymode-export polymode-compat polymode-methods
polymode-core format-spec polymode-classes eieio-custom eieio-base eieio
eieio-core eieio-loaddefs polymode-autoloads jinja2-mode-autoloads
yasnippet-snippets-autoloads yasnippet-snippets yasnippet
yasnippet-autoloads hl-todo-autoloads cus-edit pp cus-load wid-edit
flycheck-autoloads let-alist-autoloads pkg-info-autoloads epl-autoloads
dap-mode-autoloads bui-autoloads lsp-treemacs-autoloads
lsp-ivy-autoloads lsp-ui-autoloads lsp-mode-autoloads
markdown-mode-autoloads spinner-autoloads git-timemachine-autoloads
magit-autoloads magit-section-autoloads git-commit-autoloads
with-editor-autoloads transient-autoloads treemacs-icons-dired-autoloads
treemacs-projectile-autoloads treemacs-autoloads cfrs-autoloads
posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads
pfuture-autoloads ace-window-autoloads projectile-autoloads counsel xdg
dired dired-loaddefs compile text-property-search comint ansi-color
swiper ivy delsel ivy-faces ivy-overlay colir color counsel-autoloads
swiper-autoloads ivy-autoloads company-box-autoloads
frame-local-autoloads company-oddmuse company-keywords company-etags
etags fileloop generator xref project ring company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company pcase company-autoloads which-key advice
which-key-autoloads visual-fill-column-autoloads wgrep-autoloads
avy-autoloads edmacro kmacro undo-tree-autoloads use-package-bind-key
bind-key easy-mmode elec-pair minions minions-autoloads doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
rx f s all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons dash
doom-modeline-autoloads shrink-path-autoloads f-autoloads dash-autoloads
s-autoloads all-the-icons-autoloads doom-themes-ext-org
doom-themes-ext-treemacs doom-themes-ext-visual-bell face-remap
doom-solarized-light-theme doom-themes doom-themes-base
doom-themes-autoloads finder-inf ns-auto-titlebar
ns-auto-titlebar-autoloads use-package-core use-package-autoloads
bind-key-autoloads straight-autoloads info cl-seq cl-extra help-mode seq
byte-opt straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp
byte-compile cconv iso-transl tooltip eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 248606 13704)
 (symbols 48 20539 2)
 (strings 32 66020 3048)
 (string-bytes 1 2354442)
 (vectors 16 31842)
 (vector-slots 8 489072 13005)
 (floats 8 846 191)
 (intervals 56 376 8)
 (buffers 992 11))





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-10-16  4:32 bug#51233: 28.0.60; Bookmark fringe indicator not removed Carlos Pita
@ 2021-10-16  7:11 ` Eli Zaretskii
  2021-11-14 22:26   ` Carlos Pita
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2021-10-16  7:11 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51233

> From: Carlos Pita <carlosjosepita2@gmail.com>
> Date: Sat, 16 Oct 2021 01:32:16 -0300
> 
> 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 to delete the bookmark: the fringe indicator is
>    still there

Thanks, should be fixed now.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-10-16  7:11 ` Eli Zaretskii
@ 2021-11-14 22:26   ` Carlos Pita
  2021-11-15 14:25     ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Pita @ 2021-11-14 22:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51233

> > 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 to delete the bookmark: the fringe indicator is
> >    still there
>
> Thanks, should be fixed now.

I realized a problem still remains: instead of step 5 above, remove
the bookmark from the bookmark list (C-x r l) and the fringe indicator
won't be removed.

Best regards,
Carlos





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-14 22:26   ` Carlos Pita
@ 2021-11-15 14:25     ` Eli Zaretskii
  2021-11-15 16:28       ` Carlos Pita
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2021-11-15 14:25 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51233

> From: Carlos Pita <carlosjosepita2@gmail.com>
> Date: Sun, 14 Nov 2021 19:26:56 -0300
> Cc: 51233@debbugs.gnu.org
> 
> > > 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 to delete the bookmark: the fringe indicator is
> > >    still there
> >
> > Thanks, should be fixed now.
> 
> I realized a problem still remains: instead of step 5 above, remove
> the bookmark from the bookmark list (C-x r l) and the fringe indicator
> won't be removed.

I cannot reproduce this with today's emacs-28 branch, so please show a
full recipe, complete with all the commands you invoke.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-15 14:25     ` Eli Zaretskii
@ 2021-11-15 16:28       ` Carlos Pita
  2021-11-15 16:47         ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Pita @ 2021-11-15 16:28 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51233

Hi Eli,

> I cannot reproduce this with today's emacs-28 branch, so please show a
> full recipe, complete with all the commands you invoke.

This:

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

Followed by:

5. Show the bookmark lisk: C-x r l
6. Delete the new bookmark: d x
7. Quit the list and return to the file: q
8. The indicator is still in the fringe

I'm on recent master (revision 370d4038c5a671d3b9e3a4d28d849948c1a96f53).

Best regards,
Carlos





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-15 16:28       ` Carlos Pita
@ 2021-11-15 16:47         ` Eli Zaretskii
  2021-11-15 17:24           ` Carlos Pita
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2021-11-15 16:47 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51233

> From: Carlos Pita <carlosjosepita2@gmail.com>
> Date: Mon, 15 Nov 2021 13:28:35 -0300
> Cc: 51233@debbugs.gnu.org
> 
> > > > > 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
> 
> Followed by:
> 
> 5. Show the bookmark lisk: C-x r l
> 6. Delete the new bookmark: d x

When you press 'x', does the fringe mark go away or doesn't?

> 7. Quit the list and return to the file: q
> 8. The indicator is still in the fringe

I actually had both the list of bookmarks and the buffer with the
fringe mark on display at the same time (2 sibling windows), and
I clearly saw the fringe mark go away in its buffer's display.

I did that as you describe now, and I still don't see the problem.

> I'm on recent master (revision 370d4038c5a671d3b9e3a4d28d849948c1a96f53).

Tried on master: no problem here.

So I wonder what is different on your system.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-15 16:47         ` Eli Zaretskii
@ 2021-11-15 17:24           ` Carlos Pita
  2021-11-15 18:24             ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Pita @ 2021-11-15 17:24 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51233

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

This is exactly what I do:

1. emacs -q
2. C-x C-f /tmp/test-fringe (a new blank file)
3. Type "some text"
4. C-x r m (you can use the default name or enter a different one)
5. C-x r l (by default replaces window, but also tested it side by
side as in your case by first splitting the window)
6. d x (the bookmark disappears from the list as per usual)
7. q (the /tmp/test-fringe buffer is shown again)
8. I get what's shown in the attached screenshot.

I've done about 20 repetitions now and a couple of times I actually
saw the indicator disappear, in both cases it was the one in the last
line of the buffer and in one case it took some time before it was
removed (it was weird because I was going to take the screenshot and
all of a sudden the image vanished). Perhaps try entering a few
additional bookmarks in other lines of the file.

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 45000 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-15 17:24           ` Carlos Pita
@ 2021-11-15 18:24             ` Eli Zaretskii
  2021-11-15 18:27               ` Carlos Pita
  2021-12-23 10:29               ` Lars Ingebrigtsen
  0 siblings, 2 replies; 10+ messages in thread
From: Eli Zaretskii @ 2021-11-15 18:24 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51233

> From: Carlos Pita <carlosjosepita2@gmail.com>
> Date: Mon, 15 Nov 2021 14:24:36 -0300
> Cc: 51233@debbugs.gnu.org
> 
> This is exactly what I do:
> 
> 1. emacs -q
> 2. C-x C-f /tmp/test-fringe (a new blank file)
> 3. Type "some text"
> 4. C-x r m (you can use the default name or enter a different one)
> 5. C-x r l (by default replaces window, but also tested it side by
> side as in your case by first splitting the window)
> 6. d x (the bookmark disappears from the list as per usual)
> 7. q (the /tmp/test-fringe buffer is shown again)
> 8. I get what's shown in the attached screenshot.
> 
> I've done about 20 repetitions now and a couple of times I actually
> saw the indicator disappear, in both cases it was the one in the last
> line of the buffer and in one case it took some time before it was
> removed (it was weird because I was going to take the screenshot and
> all of a sudden the image vanished). Perhaps try entering a few
> additional bookmarks in other lines of the file.

Thanks, should be fixed now on the emacs-28 branch.

(The lesson to take home today is that the recipe should always be
described 110% precisely, especially when the initial attempt at
reproduction fails.  The bug only happened when the bookmark position
was NOT at beginning of line, and until the above accurate description
that was never actually said nor even hinted.  Needless to say, I
always put the bookmarks at BOL, since it's so easy.  So I never saw
the bug.)





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-15 18:24             ` Eli Zaretskii
@ 2021-11-15 18:27               ` Carlos Pita
  2021-12-23 10:29               ` Lars Ingebrigtsen
  1 sibling, 0 replies; 10+ messages in thread
From: Carlos Pita @ 2021-11-15 18:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51233

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

Thanks! Sorry for the imprecision then, I thought bookmarks were per line
so I wasn't paying attention to their position inside a line.

[-- Attachment #2: Type: text/html, Size: 162 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#51233: 28.0.60; Bookmark fringe indicator not removed
  2021-11-15 18:24             ` Eli Zaretskii
  2021-11-15 18:27               ` Carlos Pita
@ 2021-12-23 10:29               ` Lars Ingebrigtsen
  1 sibling, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-23 10:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Carlos Pita, 51233

Eli Zaretskii <eliz@gnu.org> writes:

> Thanks, should be fixed now on the emacs-28 branch.

Seems like this was fixed, but the bug report remained open, so I'm
closing it now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-12-23 10:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16  4:32 bug#51233: 28.0.60; Bookmark fringe indicator not removed Carlos Pita
2021-10-16  7:11 ` Eli Zaretskii
2021-11-14 22:26   ` Carlos Pita
2021-11-15 14:25     ` Eli Zaretskii
2021-11-15 16:28       ` Carlos Pita
2021-11-15 16:47         ` Eli Zaretskii
2021-11-15 17:24           ` Carlos Pita
2021-11-15 18:24             ` Eli Zaretskii
2021-11-15 18:27               ` Carlos Pita
2021-12-23 10:29               ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).