From: Michael Heerdegen <michael_heerdegen@web.de>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 25522@debbugs.gnu.org
Subject: bug#25522: 26.0.50; (hl-line-maybe-unhighlight): (error "Selecting deleted buffer")
Date: Fri, 27 Jan 2017 10:29:07 +0100 [thread overview]
Message-ID: <87h94k26n0.fsf@web.de> (raw)
In-Reply-To: <87mvedip14.fsf@gmx.net> (Stephen Berman's message of "Thu, 26 Jan 2017 20:45:11 +0100")
Stephen Berman <stephen.berman@gmx.net> writes:
> I think I found out what triggers the error: when you kill a buffer in
> whose mode hl-line-mode is enabled and the mode of the next (now
> current) buffer does not have hl-line-mode enabled, and then you change
> (or Emacs changes) to another buffer in whose mode hl-line-mode is
> enabled -- that raises the error. Can you confirm this?
Could be. In my posted recipes, when I turn off hl-line-mode in the
buffer I end up in, there is indeed no error. An experiment with three
buffers as you described and switching manually to the third also
confirms your assumption.
> Just out of curiosity, because I think the above fix is good enough
> and it's simple, so unless someone sees a problem with it, I'll commit
> it to master.
Yes, it's obvious that it isn't harmful.
Thanks,
Michael
next prev parent reply other threads:[~2017-01-27 9:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 23:26 bug#25522: 26.0.50; (hl-line-maybe-unhighlight): (error "Selecting deleted buffer") Michael Heerdegen
2017-01-24 23:39 ` Michael Heerdegen
2017-01-25 12:16 ` Stephen Berman
2017-01-26 1:14 ` Michael Heerdegen
2017-01-26 1:21 ` Michael Heerdegen
2017-01-26 2:07 ` Michael Heerdegen
2017-01-26 9:54 ` Stephen Berman
2017-01-26 10:15 ` Michael Heerdegen
2017-01-26 19:45 ` Stephen Berman
2017-01-27 9:29 ` Michael Heerdegen [this message]
2017-01-28 19:52 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h94k26n0.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=25522@debbugs.gnu.org \
--cc=stephen.berman@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.