GNU bug report logs -
#25522
26.0.50; (hl-line-maybe-unhighlight): (error "Selecting deleted buffer")
Previous Next
Full log
View this message in rfc822 format
Stephen Berman <stephen.berman <at> gmx.net> writes:
> >> Error in post-command-hook (hl-line-maybe-unhighlight): (error
> >> "Selecting deleted buffer")
> > FWIW this is my setup:
> >
> > #+begin_src emacs-lisp
> > (add-hook 'gnus-summary-mode-hook #'hl-line-mode)
> > (add-hook 'gnus-group-mode-hook #'hl-line-mode)
> > (add-hook 'gnus-server-mode-hook #'hl-line-mode)
> > #+end_src
>
> I updated my build to current master, started emacs -Q, evaluated the
> above sexps in *scratch*, started Gnus, saw that the current line in the
> *Summary* buffer was highlighted, then exited Gnus without getting an
> error. Same thing by making ~/.emacs contain only the above sexps.
Finding a recipe is not easy because I have to find the offending pieces
in my setup. I tried M-x debug-on-entry hl-line-maybe-unhighlight,
also edebug, but the error magically disappeared.
But I found that I had concealed a related setting in my .emacs:
(setq-default hl-line-sticky-flag nil)
If you still can't reproduce with that, I will probably have to create a
new user on my system to be able to bisect my setup without messing up
my Gnus.
Regards,
Michael.
This bug report was last modified 8 years and 170 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.