From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#25522: 26.0.50; (hl-line-maybe-unhighlight): (error "Selecting deleted buffer") Date: Sat, 28 Jan 2017 20:52:56 +0100 Message-ID: <87vasz9d2f.fsf@rosalinde> References: <8737g8jaz4.fsf@web.de> <87inp4xc1q.fsf@web.de> <87pojbcp2a.fsf@gmx.net> <87fuk6wrjo.fsf@web.de> <87bmuuwr8m.fsf@web.de> <8737g6inew.fsf@web.de> <8737g6jgd4.fsf@gmx.net> <8760l29lfn.fsf@web.de> <87mvedip14.fsf@gmx.net> <87h94k26n0.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485634822 16087 195.159.176.226 (28 Jan 2017 20:20:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 20:20:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25522-done@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 28 21:20:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXZTn-0003By-JA for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jan 2017 21:20:11 +0100 Original-Received: from localhost ([::1]:53029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXZTs-00078a-OY for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jan 2017 15:20:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXZTj-00073p-Au for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 15:20:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXZTe-0005Kw-Mr for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 15:20:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXZTe-0005Kq-JX for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 15:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cXZTe-0000Ho-BX for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 15:20:02 -0500 Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Jan 2017 20:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25522 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25522@debbugs.gnu.org, stephen.berman@gmx.net, michael_heerdegen@web.de Original-Received: via spool by 25522-done@debbugs.gnu.org id=D25522.14856347421027 (code D ref 25522); Sat, 28 Jan 2017 20:20:02 +0000 Original-Received: (at 25522-done) by debbugs.gnu.org; 28 Jan 2017 20:19:02 +0000 Original-Received: from localhost ([127.0.0.1]:49424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXZSg-0000GV-CQ for submit@debbugs.gnu.org; Sat, 28 Jan 2017 15:19:02 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:49471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXZSe-0000G1-CL for 25522-done@debbugs.gnu.org; Sat, 28 Jan 2017 15:19:00 -0500 Original-Received: from rosalinde ([83.135.20.4]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5Z5A-1cHwJw3Nlo-00xbxF; Sat, 28 Jan 2017 21:18:52 +0100 In-Reply-To: <87h94k26n0.fsf@web.de> (Michael Heerdegen's message of "Fri, 27 Jan 2017 10:29:07 +0100") X-Provags-ID: V03:K0:wJTDcEHw3K04PIV0k054sw2IAXl+UiFrdQC50UZ7CP6xAV+MaBj F5Iyhoh3tgmsoxFEfL8or2d7aSN6Crenj1ZD7SubbZ+LbJmHSWYN09nolshNWz1lfBrJBZH Ge8UgXcg1KKQBN5nHsb4fNvaMho1nlkyXuwbcZLseRXCz08uGzuy1Zg9C5ipVCzxdbump4+ K7UYoWgyp4ht6W3qiry8A== X-UI-Out-Filterresults: notjunk:1;V01:K0:D5x+WLSUIKA=:HP2AavoCCz5pRxBW7FcrmT jBNxNp1gyZEp7CRcF8sh/GvtWzGDPLRvgiKSCTWpRckSZZvnfSFF3UffqBdeg9jWzHQvqxmie YMihxPWRJAdWdhn+aqaKm7z5seAOAsGakLEqwOHxtyst4Kglp1zM+uHnQSUywG4TYCCD+8psR qLZTmk2hgfXGTQJHxOhlb0NnaOX4BDH4bsqt9yfBJ7AaUAo1YjscjXIxgbtgf6VtZB6faBAI4 LDO0Zm4kyLaDIxPY0SeT2SJUr81h0VzlYlCUjfwzh5459yLFDVWPOQGgObQPv/hSV8nGlqKhD gawYxouOfKLtBPKpBpFZEF1bSZ8w8lz0ht9FVExodK3tw7nZyBLounHoURauzVkoqkJitPWav h7Yc9vo67dZVbHnlCIbYOF4kVmqhI05evAIl7CUOzPS9mbEtM1B4fSII1NYIHwWtPDnwbemhR MOFVUez2/9EHMKX9rZvdYASm1UG0cTRnJppQ9Zr+y1x4ib7BkAKgjUL3JHskXN2f7ywYMy8wm nfQ6n7AE/cmgcNymq7hXZpu0gi6Z2l3sTJbTJxKLtto676JgppvkkslVykCpmP78y/7MHIiW9 wiZN4ofF3X7+cCeRLKerdByGJrrxT8I53rVEd3OK+iHnbkBQJF0ZV+DzzHoPR6e2yvSv/N9fS b7FLewOx/SjC5dRYudXsjUBWwodgR4tvPhHv0T0ZOP/Cdyo+XVFfeFb1XUhRkdxAGmJDMBrMR EAywEYJx3Y7ozZSGi3VURGtn7x88HzND0Zd72awr8IDYN7DTmPxyoQOcoMosQwvr81nYt2D3 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128733 Archived-At: On Fri, 27 Jan 2017 10:29:07 +0100 Michael Heerdegen wrote: > Stephen Berman 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 Pushed as commit d12e1dd and closing the bug. Steve Berman