GNU bug report logs - #36556
26.2; python.el pdbtracking sometimes kills buffers when it shouldn't (plus fix)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ken Manheimer <ken.manheimer@HIDDEN>; dated Mon, 8 Jul 2019 22:30:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) patch. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 36556 <at> debbugs.gnu.org:


Received: (at 36556) by debbugs.gnu.org; 10 Aug 2020 10:41:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 10 06:41:42 2020
Received: from localhost ([127.0.0.1]:34561 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k55FO-0004mm-Eb
	for submit <at> debbugs.gnu.org; Mon, 10 Aug 2020 06:41:42 -0400
Received: from quimby.gnus.org ([95.216.78.240]:46004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1k55FM-0004mO-Ej
 for 36556 <at> debbugs.gnu.org; Mon, 10 Aug 2020 06:41:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Y2+/g+WFg5P5qwVFtNQgLlszRU+eK+N0owYuF3wHcEk=; b=BWcbB3TN2QeO44zwoz1GOgMlXf
 zYOC/ZYC/Q9t+TIoAd8bOtoZPJf3kd3NMIIsjbwKAZO7EITd6lw9ooSax8/E+tsa9MGUm+Ih2yQPU
 SxVc9Sp+e1CzPfQDIMkBBz/4ZbcfZy1wX0VNzLH8eWFud5Fp/5LRCIpX6ylMrHWC7QlM=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1k55FD-0002vW-Tr; Mon, 10 Aug 2020 12:41:34 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Ken Manheimer <ken.manheimer@HIDDEN>
Subject: Re: bug#36556: 26.2; python.el pdbtracking sometimes kills buffers
 when it shouldn't (plus fix)
References: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
 <85blxsln3a.fsf@HIDDEN>
 <CAAT_zTHyxoiCL5dr-HbhLjaiT3rCAD78-CJWKeb_V7GLYQjYiA@HIDDEN>
 <877e8gz0ca.fsf@HIDDEN> <87bljjboof.fsf@HIDDEN>
 <CAAT_zTHqRZ6uWuqbejqGdJhzN9MFyJznMnKM3v3NuBnyyPKU-g@HIDDEN>
Date: Mon, 10 Aug 2020 12:41:30 +0200
In-Reply-To: <CAAT_zTHqRZ6uWuqbejqGdJhzN9MFyJznMnKM3v3NuBnyyPKU-g@HIDDEN>
 (Ken Manheimer's message of "Sun, 9 Aug 2020 16:21:01 -0400")
Message-ID: <87lfim9411.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Ken Manheimer <ken.manheimer@HIDDEN> writes: > I'm sorry
 I didn't reply. I think Noam's analysis makes sense, and > what he suggests
 should be implemented. The problem is real, and > should be rectified. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36556
Cc: Noam Postavsky <npostavs@HIDDEN>, 36556 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Ken Manheimer <ken.manheimer@HIDDEN> writes:

> I'm sorry I didn't reply. I think Noam's analysis makes sense, and
> what he suggests should be implemented. The problem is real, and
> should be rectified.

OK; reopening.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.

Message received at 36556 <at> debbugs.gnu.org:


Received: (at 36556) by debbugs.gnu.org; 9 Aug 2020 20:21:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 09 16:21:28 2020
Received: from localhost ([127.0.0.1]:33578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k4rou-0005Ym-3q
	for submit <at> debbugs.gnu.org; Sun, 09 Aug 2020 16:21:28 -0400
Received: from mail-wm1-f42.google.com ([209.85.128.42]:36954)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ken.manheimer@HIDDEN>) id 1k4roq-0005YY-Ig
 for 36556 <at> debbugs.gnu.org; Sun, 09 Aug 2020 16:21:26 -0400
Received: by mail-wm1-f42.google.com with SMTP id k8so6492226wma.2
 for <36556 <at> debbugs.gnu.org>; Sun, 09 Aug 2020 13:21:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=E0pvy3Q2CZSekjUUHmAX0+ZZgjW9cSvNIDcXF3HYeQo=;
 b=DhdhbdyRCGwD7TElFUs/AruI8TmqzLNsVVFdyg38tyuDDoD1hxpMuKeaMgQcTkTH0v
 19urveK0vMQNpnePQqu46N76PG8FsbVPYxoZD7inqr1wB4iXl2TFsn84mri7ndi3fg0m
 HDyME6RNOYV62fJJF7K87/cOOJgQn0C3XzbTnlbpo0gf2+4+lFzFCtYCQK3n0GJz/TB0
 nI57DKFoLfDD1kQrIG27uqDNwMzRPONtsDl1iLBq8dNfqSXo/VZcyaMpdo4Jvm/PdqJZ
 ZZHBPyZaOXGOQC8HzK46YtD3cHP/x2w4gUqOm1+tOniKrdZcCKh/ydZjNUoK7jADdM+V
 Jj+Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=E0pvy3Q2CZSekjUUHmAX0+ZZgjW9cSvNIDcXF3HYeQo=;
 b=MDZIxengNX56uMw1anoVOUs7GgHX7AWE+nTyM66b3fCSo65ZS5SaFvmDZddl0qiWWa
 rQ9GIVeZuqGOKJVEYP9xav76wsCX5PcBWcCh3/I02M3BxY+N/DZO5n5+hKmMBrNX3Lam
 LkXT6KC2sc/MJXCVlfH7gbOQru7oWxPynUwyg9bj8V54SdfiHKnteSq8Rt36qjSBVSU6
 D5xg4LKPBfZRddtlqc88sLm6dXgRqid2tdJapEMhK3kcLfGe4Wi6bycGJbC40fvkgKNR
 TH+oWAxPjiJJm/6gvwZ671AuUMCFy6vcEYdjFsA7j9OZH3fjoljwHQmhL5OCBS17H1P8
 eILA==
X-Gm-Message-State: AOAM532J0N7LAB1uNbTaCxBgH/PQkcTA1SZfMJf/jUIr8ZnyV1MKhTVP
 eo7KH4qYzPBafpcbgGJOdOf4wsZWVK/Ci2jxYBU=
X-Google-Smtp-Source: ABdhPJwUITHTzXpcqKyYIiWv4vtRcisfF+csUuhBidHCkUXy8J4X7eMF4s8yl3WVnW40aSP2Sx4ZyLF9fKvZV7ZBvd4=
X-Received: by 2002:a1c:ba83:: with SMTP id
 k125mr22347844wmf.160.1597004478610; 
 Sun, 09 Aug 2020 13:21:18 -0700 (PDT)
MIME-Version: 1.0
References: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
 <85blxsln3a.fsf@HIDDEN>
 <CAAT_zTHyxoiCL5dr-HbhLjaiT3rCAD78-CJWKeb_V7GLYQjYiA@HIDDEN>
 <877e8gz0ca.fsf@HIDDEN> <87bljjboof.fsf@HIDDEN>
In-Reply-To: <87bljjboof.fsf@HIDDEN>
From: Ken Manheimer <ken.manheimer@HIDDEN>
Date: Sun, 9 Aug 2020 16:21:01 -0400
Message-ID: <CAAT_zTHqRZ6uWuqbejqGdJhzN9MFyJznMnKM3v3NuBnyyPKU-g@HIDDEN>
Subject: Re: bug#36556: 26.2; python.el pdbtracking sometimes kills buffers
 when it shouldn't (plus fix)
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000a7028b05ac77945d"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36556
Cc: Noam Postavsky <npostavs@HIDDEN>, 36556 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000a7028b05ac77945d
Content-Type: text/plain; charset="UTF-8"

I'm sorry I didn't reply. I think Noam's analysis makes sense, and what he
suggests should be implemented. The problem is real, and should be
rectified.

Ken

On Sun, Aug 9, 2020 at 3:32 PM Lars Ingebrigtsen <larsi@HIDDEN> wrote:

> Noam Postavsky <npostavs@HIDDEN> writes:
>
> > If (or find-file-visit-truename find-file-visit-truename) is nil, then
> > find-file-noselect would really return a new buffer in that situation,
> > so it would be correct to kill it (i.e., with these settings, we are in
> > case (a)).
> >
> > Do I have a mistake in the above?
>
> This was over a year ago, and there was no response to this question, so
> I'm closing this bug report.  If the problem still exists, please
> respond to this email and we'll reopen the bug report.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

--000000000000a7028b05ac77945d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m sorry I didn&#39;t reply. I think Noam&#39;s analy=
sis makes sense, and what he suggests should be implemented. The problem is=
 real, and should be rectified.<div><br></div><div>Ken</div></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Aug 9, =
2020 at 3:32 PM Lars Ingebrigtsen &lt;<a href=3D"mailto:larsi@HIDDEN">lar=
si@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">Noam Postavsky &lt;<a href=3D"mailto:npostavs@HIDDEN" target=
=3D"_blank">npostavs@HIDDEN</a>&gt; writes:<br>
<br>
&gt; If (or find-file-visit-truename find-file-visit-truename) is nil, then=
<br>
&gt; find-file-noselect would really return a new buffer in that situation,=
<br>
&gt; so it would be correct to kill it (i.e., with these settings, we are i=
n<br>
&gt; case (a)).<br>
&gt;<br>
&gt; Do I have a mistake in the above?<br>
<br>
This was over a year ago, and there was no response to this question, so<br=
>
I&#39;m closing this bug report.=C2=A0 If the problem still exists, please<=
br>
respond to this email and we&#39;ll reopen the bug report.<br>
<br>
-- <br>
(domestic pets only, the antidote for overdose, milk.)<br>
=C2=A0 =C2=A0bloggy blog: <a href=3D"http://lars.ingebrigtsen.no" rel=3D"no=
referrer" target=3D"_blank">http://lars.ingebrigtsen.no</a><br>
</blockquote></div>

--000000000000a7028b05ac77945d--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.
bug closed, send any further explanations to 36556 <at> debbugs.gnu.org and Ken Manheimer <ken.manheimer@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 36556 <at> debbugs.gnu.org:


Received: (at 36556) by debbugs.gnu.org; 9 Aug 2020 19:32:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 09 15:32:44 2020
Received: from localhost ([127.0.0.1]:33489 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k4r3k-0005wi-8d
	for submit <at> debbugs.gnu.org; Sun, 09 Aug 2020 15:32:44 -0400
Received: from quimby.gnus.org ([95.216.78.240]:39194)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1k4r3i-0005t9-6E
 for 36556 <at> debbugs.gnu.org; Sun, 09 Aug 2020 15:32:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=CS8K+lUhMi/K1AewPCPm5qB8JhETeHDejuamKPop4J0=; b=b4+FF0wdknJ95TmFdxk8Wc363O
 ZB8X7I+yBYvTpKh7oXJGKppS44TYOlbj0/Z88vSMXTnbdo+c3775hLf0TTwX66i8JrNAJSQAH0lgV
 RkUtYwLddjS773q9ntX6vyyCcDvjALpS420NxlV+XC9GQydUtmJvbr+aAPM27rHmOm2U=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1k4r3Z-0002mt-Ua; Sun, 09 Aug 2020 21:32:36 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#36556: 26.2; python.el pdbtracking sometimes kills buffers
 when it shouldn't (plus fix)
References: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
 <85blxsln3a.fsf@HIDDEN>
 <CAAT_zTHyxoiCL5dr-HbhLjaiT3rCAD78-CJWKeb_V7GLYQjYiA@HIDDEN>
 <877e8gz0ca.fsf@HIDDEN>
Date: Sun, 09 Aug 2020 21:32:32 +0200
In-Reply-To: <877e8gz0ca.fsf@HIDDEN> (Noam Postavsky's message of "Wed, 17
 Jul 2019 19:51:33 -0400")
Message-ID: <87bljjboof.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Noam Postavsky <npostavs@HIDDEN> writes: > If (or
 find-file-visit-truename
 find-file-visit-truename) is nil, then > find-file-noselect would really
 return a new buffer in that situation, > so it would be correct to kill it
 (i.e., with these [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36556
Cc: Ken Manheimer <ken.manheimer@HIDDEN>, 36556 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Noam Postavsky <npostavs@HIDDEN> writes:

> If (or find-file-visit-truename find-file-visit-truename) is nil, then
> find-file-noselect would really return a new buffer in that situation,
> so it would be correct to kill it (i.e., with these settings, we are in
> case (a)).
>
> Do I have a mistake in the above?

This was over a year ago, and there was no response to this question, so
I'm closing this bug report.  If the problem still exists, please
respond to this email and we'll reopen the bug report.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.

Message received at 36556 <at> debbugs.gnu.org:


Received: (at 36556) by debbugs.gnu.org; 17 Jul 2019 23:51:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 19:51:44 2019
Received: from localhost ([127.0.0.1]:53175 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnti2-0005hj-JP
	for submit <at> debbugs.gnu.org; Wed, 17 Jul 2019 19:51:42 -0400
Received: from mail-io1-f43.google.com ([209.85.166.43]:36903)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1hnti0-0005hX-SJ
 for 36556 <at> debbugs.gnu.org; Wed, 17 Jul 2019 19:51:41 -0400
Received: by mail-io1-f43.google.com with SMTP id q22so48602277iog.4
 for <36556 <at> debbugs.gnu.org>; Wed, 17 Jul 2019 16:51:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=oHRLAnCtsbcUYeeIegwW4xAI64dZp/lkJe+DVXQUkhU=;
 b=JnRGvvnR0rdpvlq4ofD3k/cJnHKX7tgXdV2ExvfduDZJsAr1DG7ZAbdfw0TnF5S9mq
 pvvgNu/fymcF4E4IhLYDBs0DWXeBtyIcsjwgT9y6ZNT/LeP7M7jZs4ToA0nhf6AUStF1
 VzjREFBTxVwfb3e/csrO/n/0T6tXDLMxuWsQG/YNH2HsZhcSPdcwX3LUb8PdWZr92Dan
 HuUck2nosPPIGDpJvIydUGTE2VsTX2ZZflLQEJh7pgPdGRCn4cKRWaC01GhHO5Eu6+lq
 i1ynSc39Rd9REIiglFIXSt+FjLzc19ZVVR4kflE3sjSllELe+W/GK4zO9piydSMSaNSl
 B/Ew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=oHRLAnCtsbcUYeeIegwW4xAI64dZp/lkJe+DVXQUkhU=;
 b=D551kEHZM4kXoW8XXSwfYxsJOMKxkaXLa9ZEcz5U5+btBdGkUVbbmczjBS+Utwzf9C
 Rw9k9juKVPHftg8ZtgxkSPeUsYh/ZGyRWwbLKrcbd9YQq9UQAHlRA39xNMl3topN7DVX
 xDoDIrl/aMgjKCyIHwYnGuY4Pw3yaPA9o3Coc40BuG1fFi7fT32SYWJjyuPWbSxCOgJX
 O6+QA/4vxez+RsYArvSFq15ewx8wzkLCc3gWEtUCr+oavThMOz/y9CBEid8w24QaD664
 wZ9F2lipl2NbcngL1vDSRXo73lw49/gq3QPhv+xp9POpOSbq9cYXD8jlf7zXMbDr9ynK
 EYhA==
X-Gm-Message-State: APjAAAUtN4EWBXo12uEaMLEo7IAs9o9qiVX7QkW18OoWO1jxqw4CliQi
 P6ahx3pcPr7dsxxNhHeT/ydMhtcK
X-Google-Smtp-Source: APXvYqwePF0Gwl6CeZeBLdNik6eHyogge7hJjQ3QUTj2bBYfGZO8BQaGUu0Jn21aEHBKEVWUhijq4w==
X-Received: by 2002:a02:1a86:: with SMTP id 128mr45372424jai.95.1563407494981; 
 Wed, 17 Jul 2019 16:51:34 -0700 (PDT)
Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.gmail.com with ESMTPSA id
 20sm30295704iog.62.2019.07.17.16.51.34
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 17 Jul 2019 16:51:34 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Ken Manheimer <ken.manheimer@HIDDEN>
Subject: Re: bug#36556: 26.2;
 python.el pdbtracking sometimes kills buffers when it shouldn't (plus
 fix)
References: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
 <85blxsln3a.fsf@HIDDEN>
 <CAAT_zTHyxoiCL5dr-HbhLjaiT3rCAD78-CJWKeb_V7GLYQjYiA@HIDDEN>
Date: Wed, 17 Jul 2019 19:51:33 -0400
In-Reply-To: <CAAT_zTHyxoiCL5dr-HbhLjaiT3rCAD78-CJWKeb_V7GLYQjYiA@HIDDEN> (Ken
 Manheimer's message of "Wed, 17 Jul 2019 15:31:34 -0400")
Message-ID: <877e8gz0ca.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36556
Cc: 36556 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Ken Manheimer <ken.manheimer@HIDDEN> writes:

>> > that `python-pdbtrack-set-tracked-buffer()` uses the wrong buffer-finding
>> > function. Instead of using `get-file-buffer()`, it should be using
>> > `find-buffer-visiting()`. I believe that this will solve the problem.
>>
>> I think this should be conditional on (or find-file-existing-other-name
>> find-file-visit-truename), which is what find-file-noselect checks for.
>>
>
> No, as far as I can tell, that doesn't hold in this situation.
>
> The point of this issue is to not delete a source file that was already
> present in the editing session before the pdb-tracking debugging process
> stepped through code in the file. The prior presence of the file should be
> respected regardless of the settings of find-file-existing-other-name or
> find-file-visit-truename, so these settings should not be considered for
> this comparison.

My understanding is that python-pdbtrack-set-tracked-buffer has to
decide whether or not to (a) make a new buffer for visiting FILE-NAME
(in which case pdb should kill that buffer when done with it), or (b)
use an existing one (in which case, the buffer should be left open).

If (or find-file-visit-truename find-file-visit-truename) is t, and
FILE-NAME is visitied via an alternate name, then the current
implementation will get nil from get-file-buffer, create a "new" buffer
with find-file-noselect (and register that buffer in
python-pdbtrack-buffers-to-kill).  However, find-file-noselect will
return an existing buffer, so killing this buffer is a bug (i.e., the
function think it's in case (a), but it's actually in case (b)).

If (or find-file-visit-truename find-file-visit-truename) is nil, then
find-file-noselect would really return a new buffer in that situation,
so it would be correct to kill it (i.e., with these settings, we are in
case (a)).

Do I have a mistake in the above?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.

Message received at 36556 <at> debbugs.gnu.org:


Received: (at 36556) by debbugs.gnu.org; 17 Jul 2019 19:32:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 15:32:01 2019
Received: from localhost ([127.0.0.1]:53032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnpei-0005TN-Lk
	for submit <at> debbugs.gnu.org; Wed, 17 Jul 2019 15:32:00 -0400
Received: from mail-io1-f44.google.com ([209.85.166.44]:35613)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ken.manheimer@HIDDEN>) id 1hnpeh-0005TB-6F
 for 36556 <at> debbugs.gnu.org; Wed, 17 Jul 2019 15:31:59 -0400
Received: by mail-io1-f44.google.com with SMTP id m24so47650633ioo.2
 for <36556 <at> debbugs.gnu.org>; Wed, 17 Jul 2019 12:31:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=/3clum75cxZEBi1ZcCxaPbhWRhqZAhHk0I0M2ew0Uw0=;
 b=KgwAvT4Fzt7C7dfjolj1Xe1DzC0lJR6To5TGUijqVaNb2atvonVgdGkvpXDQxOxBBi
 v9O+uHsT15ksH6RmyZtHtNf6r5SYtbLxoaPtXUnR/1VP6/1kSOqrIk6CWOn9UkRTq5bc
 H7XzDezG/o6ECQT6FfBtk/UuTy3cTR+3B4yJz9STNYI4RaNTFPlk4Sj4xQx+EdZAv6An
 7JV7zhU7i4vEKN/K19x+7Y8kt3M+3dBv+vgvDSmIAiKRlk6YYgWFmispz8YUrE/PhdL4
 BD7GI2nLmqPmLaFR3nPzzYpPImdGAr66fCg4b53nvUio/dCDMnqoKtO/PMDgTEF8Dzeh
 M6cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=/3clum75cxZEBi1ZcCxaPbhWRhqZAhHk0I0M2ew0Uw0=;
 b=eeXlSKyBSYhu5CU7fM+m9/+oVDOGxx/FRgxPWTlllQfbZ2szVNYk5ni4Z32hkOsD45
 4A9VI5xLS0EIV4K5G63t+dpedlcykhK0sagnCmDECmFiC4ka7HoKSmGUnLnvNiToNOtj
 6okYoiWF/LN2xtHZEMqqXQETZOPspXI4uoIeSCJqGwiZQXV0GxFTc8wIc3nsZGJvPAl8
 BK4aJSGraDOcNuliwj+i6MCkfOHC8Z8LScCLcscTirSkHqsC17ojitcieOTjLs0pwM7E
 qOduYkbzOI3lMY5UyFh3k+U95WEPx32vtgrCKNJ0m88w+ecwvq8G6ZwJPgDY+5yKx1Gf
 pbbQ==
X-Gm-Message-State: APjAAAXQMjQtXAfMFDXkFy0lPtm+Vd1FEDXGL4UScURSL3SQ/wJA9C/o
 RNo0VNmK+hxQ68h4jSbFnlo3ZluS18jU2R0ug+0=
X-Google-Smtp-Source: APXvYqwErm0F2xwVvt6p9GI4g/R+CaZJHzpdWArZEHi1eXTX3xfKaWtznJkhsZpWdA/CBuvGnM+OZyyCBUgi3egixoA=
X-Received: by 2002:a05:6602:cc:: with SMTP id
 z12mr19265535ioe.86.1563391913058; 
 Wed, 17 Jul 2019 12:31:53 -0700 (PDT)
MIME-Version: 1.0
References: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
 <85blxsln3a.fsf@HIDDEN>
In-Reply-To: <85blxsln3a.fsf@HIDDEN>
From: Ken Manheimer <ken.manheimer@HIDDEN>
Date: Wed, 17 Jul 2019 15:31:34 -0400
Message-ID: <CAAT_zTHyxoiCL5dr-HbhLjaiT3rCAD78-CJWKeb_V7GLYQjYiA@HIDDEN>
Subject: Re: bug#36556: 26.2; python.el pdbtracking sometimes kills buffers
 when it shouldn't (plus fix)
To: Noam Postavsky <npostavs@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000009f651e058de58b98"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36556
Cc: 36556 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000009f651e058de58b98
Content-Type: text/plain; charset="UTF-8"

On Wed, Jul 17, 2019 at 11:03 AM Noam Postavsky <npostavs@HIDDEN> wrote:

> Ken Manheimer <ken.manheimer@HIDDEN> writes:
>
> > The problem is that this provision sometimes registers buffers that
> > were present in the editing session before the pdbtracking session, so
> > that pdbtracking sometimes causes pdbtracked buffers to be deleted
> > when it shouldn't.
> >
> > I'm unsure what exact conditions lead to the problem,
>
> I guess this can happen if your python source files are accessible
> through symlinks?
>

Yes, that turned out to be the situation in the cases I encountered. There
are probably other ways a file can be found via multiple paths, like
hardlinks and multiple mounts of a filesystem.

> but I'm pretty sure
> > that `python-pdbtrack-set-tracked-buffer()` uses the wrong buffer-finding
> > function. Instead of using `get-file-buffer()`, it should be using
> > `find-buffer-visiting()`. I believe that this will solve the problem.
>
> I think this should be conditional on (or find-file-existing-other-name
> find-file-visit-truename), which is what find-file-noselect checks for.
>

No, as far as I can tell, that doesn't hold in this situation.

The point of this issue is to not delete a source file that was already
present in the editing session before the pdb-tracking debugging process
stepped through code in the file. The prior presence of the file should be
respected regardless of the settings of find-file-existing-other-name or
find-file-visit-truename, so these settings should not be considered for
this comparison.

Ken

--0000000000009f651e058de58b98
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr">On Wed, Jul 17, 2019 at 11:03 AM Noam Postavsky &lt;<a href=3D"ma=
ilto:npostavs@HIDDEN">npostavs@HIDDEN</a>&gt; wrote:<br></div><div cl=
ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-colo=
r:rgb(204,204,204);padding-left:1ex">Ken Manheimer &lt;<a href=3D"mailto:ke=
n.manheimer@HIDDEN" target=3D"_blank">ken.manheimer@HIDDEN</a>&gt; wr=
ites:<br>
<br>
&gt; The problem is that this provision sometimes registers buffers that<br=
>
&gt; were present in the editing session before the pdbtracking session, so=
<br>
&gt; that pdbtracking sometimes causes pdbtracked buffers to be deleted<br>
&gt; when it shouldn&#39;t.<br>
&gt;<br>
&gt; I&#39;m unsure what exact conditions lead to the problem,<br>
<br>
I guess this can happen if your python source files are accessible<br>
through symlinks?<br></blockquote><div><br></div><div>Yes, that turned out =
to be the situation in the cases I encountered. There are probably other wa=
ys a file can be found via multiple paths, like hardlinks and multiple moun=
ts of a filesystem.</div><div><br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:so=
lid;border-left-color:rgb(204,204,204);padding-left:1ex">&gt; but I&#39;m p=
retty sure<br>
&gt; that `python-pdbtrack-set-tracked-buffer()` uses the wrong buffer-find=
ing<br>
&gt; function. Instead of using `get-file-buffer()`, it should be using<br>
&gt; `find-buffer-visiting()`. I believe that this will solve the problem.<=
br>
<br>
I think this should be conditional on (or find-file-existing-other-name<br>
find-file-visit-truename), which is what find-file-noselect checks for.<br>=
</blockquote><div><br></div><div>No, as far as I can tell, that doesn&#39;t=
 hold in this situation.</div><div><br></div><div>The point of this issue i=
s to not delete a source file that was already present in the editing sessi=
on before the pdb-tracking debugging process stepped through code in the fi=
le. The prior presence of the file should be respected regardless of the se=
ttings of find-file-existing-other-name or find-file-visit-truename, so the=
se settings should not be considered for this comparison.</div><div><br></d=
iv><div>Ken</div></div></div></div></div></div>

--0000000000009f651e058de58b98--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.

Message received at 36556 <at> debbugs.gnu.org:


Received: (at 36556) by debbugs.gnu.org; 17 Jul 2019 15:04:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 11:04:10 2019
Received: from localhost ([127.0.0.1]:52838 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnlTV-0001aT-OT
	for submit <at> debbugs.gnu.org; Wed, 17 Jul 2019 11:04:09 -0400
Received: from mail-io1-f42.google.com ([209.85.166.42]:43248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1hnlTQ-0001Zu-VJ
 for 36556 <at> debbugs.gnu.org; Wed, 17 Jul 2019 11:04:08 -0400
Received: by mail-io1-f42.google.com with SMTP id k20so46210111ios.10
 for <36556 <at> debbugs.gnu.org>; Wed, 17 Jul 2019 08:04:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=0BqViDXQWXFsQ3c/KpM8x9V0k3+CLmziuiSLMcHKgX8=;
 b=AYJOBP/IllEJlCIRRuk9bKepckPB+My9nT847PF2FyC2+FmQ3beVO5G2NG2wF1bvzT
 5B1+oiZUONfGrSV9aqqSGYOSlWOAZBLEYgbxmFFyh6Lnr+OX6MuCNlFYg1omujpcZrCl
 I3LdVA9q2y4aI6iXUJaF5uNpleONJHb8YO4adZRnVojJybniNfNm8cUy8lQhc09uSh1Z
 ti98oHFbXP6GujM6zbW/bgTmWXNDAEOzUI5hdDZbhDkuRoI5A++i0fUCGSasid9eh3+i
 GYUVeGolIzcYnthXnTFKWzOw7+x5U9QLUzntXQFUaO1yMl7NYjkt+4wxwvG6Nnwfyeuw
 j01g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=0BqViDXQWXFsQ3c/KpM8x9V0k3+CLmziuiSLMcHKgX8=;
 b=tJ7BEOiqDSWNX7Fi93T5QxjOuJpYbhI5iedI9A7TdPo7aN7crKlNiZbRmVEZNy+tlK
 MP9fvBKfPOaowBPfBI0ZFVlGfZH5pjYT9+lSCiieYDYUFScSBqda1DLBaN5H2yalf0FS
 qIcAw2DLcPcXRDwNXGcHK6Ra0dZmzrmlJM+VHgqHpuTaUm7rh3wmQXW/Hzu+mySm/MDc
 Y1f1FJ3tMXHC0OiWlgbLevBJA5kFUcYcvFRzVnLGDDHiwPcUZnaxzTrP48ETMXd1LxvE
 lqR8Jy127AHGSuO/giawJXvlMdBTYPGU9qixtJrC5ldNG6LyLJ8NcmzrNGcyYenLY3/k
 mI2w==
X-Gm-Message-State: APjAAAWGhfMBUVZdPpoH/dZasoMz0iDBYqtFeE9+VeJRu/YKfHPetO/1
 W0NH0BVvnXJSYGTe5w0LtYO9laRK
X-Google-Smtp-Source: APXvYqwWgO9UbWLCa7Npk2pSwZMEO/e5W+PqpBYVyeB6oHbtcuPbmOedDCmSflGZ0zWdezIdE85ezQ==
X-Received: by 2002:a5d:9942:: with SMTP id v2mr5652421ios.177.1563375837965; 
 Wed, 17 Jul 2019 08:03:57 -0700 (PDT)
Received: from vhost2
 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196])
 by smtp.gmail.com with ESMTPSA id p10sm40591266iob.54.2019.07.17.08.03.56
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 17 Jul 2019 08:03:56 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Ken Manheimer <ken.manheimer@HIDDEN>
Subject: Re: bug#36556: 26.2;
 python.el pdbtracking sometimes kills buffers when it shouldn't (plus
 fix)
References: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
Date: Wed, 17 Jul 2019 11:03:53 -0400
In-Reply-To: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN> (Ken
 Manheimer's message of "Mon, 8 Jul 2019 18:28:53 -0400")
Message-ID: <85blxsln3a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36556
Cc: 36556 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Ken Manheimer <ken.manheimer@HIDDEN> writes:

> The problem is that this provision sometimes registers buffers that
> were present in the editing session before the pdbtracking session, so
> that pdbtracking sometimes causes pdbtracked buffers to be deleted
> when it shouldn't.
>
> I'm unsure what exact conditions lead to the problem,

I guess this can happen if your python source files are accessible
through symlinks?

> but I'm pretty sure
> that `python-pdbtrack-set-tracked-buffer()` uses the wrong buffer-finding
> function. Instead of using `get-file-buffer()`, it should be using
> `find-buffer-visiting()`. I believe that this will solve the problem.

I think this should be conditional on (or find-file-existing-other-name
find-file-visit-truename), which is what find-file-noselect checks for.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.
Added tag(s) patch. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Jul 2019 22:29:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 08 18:29:27 2019
Received: from localhost ([127.0.0.1]:59861 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hkc8U-0006DJ-3o
	for submit <at> debbugs.gnu.org; Mon, 08 Jul 2019 18:29:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:51890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ken.manheimer@HIDDEN>) id 1hkc8M-0006D6-QM
 for submit <at> debbugs.gnu.org; Mon, 08 Jul 2019 18:29:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50191)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <ken.manheimer@HIDDEN>) id 1hkc8J-0005KD-PZ
 for bug-gnu-emacs@HIDDEN; Mon, 08 Jul 2019 18:29:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ken.manheimer@HIDDEN>) id 1hkc8G-0007x6-R9
 for bug-gnu-emacs@HIDDEN; Mon, 08 Jul 2019 18:29:15 -0400
Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]:36350)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <ken.manheimer@HIDDEN>)
 id 1hkc8G-0007wY-Im
 for bug-gnu-emacs@HIDDEN; Mon, 08 Jul 2019 18:29:12 -0400
Received: by mail-io1-xd36.google.com with SMTP id o9so23330482iom.3
 for <bug-gnu-emacs@HIDDEN>; Mon, 08 Jul 2019 15:29:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=t+kLNMkZBk8Pz2WlECpDRzDxzeqmGcnbW33vq5UimrE=;
 b=ZlrWDaiK3hIppg4Cssy7lRJI9aKJ5ajrnlI6ehIUPouTdd3Ipbg9LRWaH1bBE4Sj5u
 ep+iQkX+y+GAc4JiS1DlSJ97ZLvjbDJIZAkcMr2aDme/07nZ2Wck6mAXndeoFkmCx238
 nB8FW/cqaB6U9tAwAQiGVUvTtCBfQE5slXQP8LntDMbwiRxKiPwB95N926hwnQOyCDS5
 RDTJ4cCO72Sx8gZrmvoPjxcI7+VWn0iaHSie19ciw/d1qx1SmBaKIyhkz3+R2PJViUY0
 aqmriI6B3p6UdwngMQIGnjnVXlAWGsGaKi4Y20ksJ6fIlMFZJs1CQj89W9f61V+2yhFc
 Z59g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=t+kLNMkZBk8Pz2WlECpDRzDxzeqmGcnbW33vq5UimrE=;
 b=cFZdQk2lSYSEyg0IJHnEJ8l8yMvtKrN7NnqnYc5vZryjC2tY+d0uvi2HgJ8gMCdt17
 +uZ+3D1lJ3TsSd0jx8+MupfeEtaTtpkiSuFXQHzyORaVnoEIGiKrZXN5vBoZfEt58uDF
 25h4bFyZtwB1Tr/9x2Bdl7NeMbWbhHKo4Mta/Ho8WB5qaAumUtDseIjuJujwURYHPJRN
 4uRMcCSxQfARfcecyKxVomV/E+RI5vlHu6C9zsbI+opbtIVcAwas84EoCauT0v6bu3tc
 iSHC/wv0ZxLQECsvnuW7u71lk66gZ1902Y893ClZiQvXgfbRpUkAkyoCf+j8P+wcDAj+
 6wEQ==
X-Gm-Message-State: APjAAAV8KDA/66LJ4ZSTDCAFEFip+SW4+JyKiIqFVN3wddxAi3rTaa3L
 HrxITuFVa45W2eRi0+f94PrVrx4B/Y+U7JM6AkIsJ2CwL/s=
X-Google-Smtp-Source: APXvYqxQyWgKFd/4RQ8i10KIa83xtEbGnCNUvGLBbgObImYVLAgPCJcL/cBuvqhS5BIuXIQiDIhD2VyUhpKL1dWFkeA=
X-Received: by 2002:a6b:6e01:: with SMTP id d1mr1858001ioh.156.1562624950464; 
 Mon, 08 Jul 2019 15:29:10 -0700 (PDT)
MIME-Version: 1.0
From: Ken Manheimer <ken.manheimer@HIDDEN>
Date: Mon, 8 Jul 2019 18:28:53 -0400
Message-ID: <CAAT_zTHMA9JmohQ9hxi7rm6+jOe_Msa+nEbGF65M0oTAb4BmJg@HIDDEN>
Subject: 26.2; python.el pdbtracking sometimes kills buffers when it shouldn't
 (plus fix)
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000016f432058d32f989"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::d36
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000016f432058d32f989
Content-Type: text/plain; charset="UTF-8"

python.el has a feature whereby the editor will progressively present the
python code lines that the user is stepping through in a pdb session in a
python buffer (or any comint buffer to which the user has added the filter
functions). The python.el pdb tracking provisions includes a function,
`python-pdbtrack-set-tracked-buffer()`, which registers python code buffers
that were created to visit files for pdbtracking for subsequent deletion
(the buffers, not the files) after the pdb session concludes. The problem
is that this provision sometimes registers buffers that were present in the
editing session before the pdbtracking session, so that pdbtracking
sometimes causes pdbtracked buffers to be deleted when it shouldn't.

I'm unsure what exact conditions lead to the problem, but I'm pretty sure
that `python-pdbtrack-set-tracked-buffer()` uses the wrong buffer-finding
function. Instead of using `get-file-buffer()`, it should be using
`find-buffer-visiting()`. I believe that this will solve the problem.

Here's a diff of python.el from the emacs-26.2.90 branch with my suggested
change applied. (The same patch would obtain for the master branch):

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 38dcc823d0..151b27aa80 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3717,7 +3717,7 @@ python-pdbtrack-set-tracked-buffer
 Returns the tracked buffer."
   (let* ((file-name-prospect (concat (file-remote-p default-directory)
                               file-name))
-         (file-buffer (get-file-buffer file-name-prospect)))
+         (file-buffer (find-buffer-visiting file-name-prospect)))
     (if file-buffer
         (setq python-pdbtrack-tracked-buffer file-buffer)
       (cond

I have verified that pdbtracking will delete some buffers that were created
just for tracking and keep some buffers that were present before tracking,
but haven't used it long enough to be sure it will do the right thing with
all buffers. But I'm pretty sure that find-buffer-visiting should be used
instead of get-file-buffer, so am pretty confident that this is a proper
change.

Ken Manheimer
ken.manheimer@HIDDEN



In GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20
Version 10.14.3 (Build 18D109))  of 2019-04-12 built on
builder10-14.porkrind.org Windowing system distributor 'Apple', version
10.3.1671
Recent messages:
Checking 87 files in /Applications/Emacs.app/Contents/Resources/lisp/calc...
Checking 105 files in
/Applications/Emacs.app/Contents/Resources/lisp/obsolete...
Checking for load-path shadows...done
Saved text from "



In GNU Emacs 26.2 (build 1, x86_64-a"
mwheel-scroll: Beginning of buffer [11 times]
previous-line: Beginning of buffer
Quit [5 times]
Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS

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

Major mode: Python

Minor modes in effect:
  flycheck-mode: t
  yas-minor-mode: t
  highlight-indentation-mode: t
  company-mode: t
  elpy-mode: t
  pyvenv-mode: t
  flymake-mode: t
  auto-revert-mode: t
  diff-hl-flydiff-mode: t
  save-place-mode: t
  show-paren-mode: t
  recentf-mode: t
  rcirc-track-minor-mode: t
  global-whitespace-mode: t
  global-diff-hl-mode: t
  diff-hl-mode: t
  diff-auto-refine-mode: t
  desktop-save-mode: t
  rainbow-delimiters-mode: t
  fci-mode: t
  savehist-mode: t
  shell-dirtrack-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  icomplete-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/klm/lib/emacs/EmacsMultishell/multishell hides
/Users/klm/lib/emacs/EmacsUtils/multishell
/Users/klm/lib/emacs/misc hides
/Applications/Emacs.app/Contents/Resources/lisp/misc
/Users/klm/lib/emacs/align hides
/Applications/Emacs.app/Contents/Resources/lisp/align
/Users/klm/lib/emacs/allout_dev/allout hides
/Applications/Emacs.app/Contents/Resources/lisp/allout
/Users/klm/lib/emacs/allout_dev/allout-widgets hides
/Applications/Emacs.app/Contents/Resources/lisp/allout-widgets
/Users/klm/lib/emacs/css-mode hides
/Applications/Emacs.app/Contents/Resources/lisp/textmodes/css-mode
/Users/klm/lib/emacs/rst hides
/Applications/Emacs.app/Contents/Resources/lisp/textmodes/rst
/Users/klm/lib/emacs/nxml/rng-uri hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-uri
/Users/klm/lib/emacs/nxml/rng-pttrn hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-pttrn
/Users/klm/lib/emacs/nxml/rng-match hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-match
/Users/klm/lib/emacs/nxml/nxml-maint hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-maint
/Users/klm/lib/emacs/nxml/rng-dt hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-dt
/Users/klm/lib/emacs/nxml/xmltok hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/xmltok
/Users/klm/lib/emacs/nxml/nxml-enc hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-enc
/Users/klm/lib/emacs/nxml/rng-util hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-util
/Users/klm/lib/emacs/nxml/rng-loc hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-loc
/Users/klm/lib/emacs/nxml/rng-parse hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-parse
/Users/klm/lib/emacs/nxml/xsd-regexp hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/xsd-regexp
/Users/klm/lib/emacs/nxml/rng-xsd hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-xsd
/Users/klm/lib/emacs/nxml/rng-cmpct hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-cmpct
/Users/klm/lib/emacs/nxml/nxml-mode hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-mode
/Users/klm/lib/emacs/nxml/rng-valid hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-valid
/Users/klm/lib/emacs/nxml/nxml-ns hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-ns
/Users/klm/lib/emacs/nxml/nxml-util hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-util
/Users/klm/lib/emacs/nxml/rng-maint hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-maint
/Users/klm/lib/emacs/nxml/nxml-parse hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-parse
/Users/klm/lib/emacs/nxml/rng-nxml hides
/Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-nxml

Features:
(pp shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view
mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo
gnus-spec gnus-int gnus-range gnus-win emacsbug message rmc puny rfc822
mml mml-sec epa mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail edebug compare-w add-log
log-view pcvs-util view sh-script smie executable time-stamp misearch
multi-isearch conf-mode markdown-mode noutline outline flycheck rx dash
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-cmake
company-xcode company-clang company-eclim company-template company-bbdb
cl-extra yasnippet help-mode highlight-indentation company-capf company
elpy find-file-in-project ivy colir color ivy-overlay ffap windmove
elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc
esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-profile
elpy-django s elpy-refactor subr-x ido files-x etags xref project
cus-edit flymake-proc flymake warnings thingatpt python json map
autorevert filenotify diff-hl-flydiff disp-table elec-pair saveplace
jka-compr paren recentf tree-widget rcirc-reconnect rcirc-notify rcirc
avoid gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045
ietf-drums mail-utils mm-util mail-prsvr whitespace hl-line diff-hl
face-remap vc-hg vc-git vc-dir ewoc diff-mode easy-mmode desktop
frameset allout-widgets wid-edit allout cus-start cus-load delsel
mouse-drag flyspell ispell server monkey monkey-dir background nice
fields modal dired dired-loaddefs wgrep grep compile rainbow-delimiters
fill-column-indicator multishell multishell-list derived savehist pcase
user-info ange-ftp tramp-ftp tramp-sh tramp tramp-compat tramp-loaddefs
trampver shell pcomplete comint ansi-color ring parse-time format-spec
advice file-registry namedmarks vc vc-dispatcher misc undo-tree diff
icomplete-fix nxml-mode nxml-util nxml-glyph nxml-enc xmltok find-func
retain-copy cl epg icomplete edmacro kmacro finder-inf info package
easymenu epg-config url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt
gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 701576 48230)
 (symbols 48 47329 11)
 (miscs 40 17455 3460)
 (strings 32 120830 4193)
 (string-bytes 1 3766078)
 (vectors 16 80685)
 (vector-slots 8 2053353 146650)
 (floats 8 517 2021)
 (intervals 56 29302 12)
 (buffers 992 154))

--00000000000016f432058d32f989
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div><div>python.el has a feature whereby the editor will progressively =
present the python code lines that the user is stepping through in a pdb se=
ssion in a python buffer (or any comint buffer to which the user has added =
the filter functions). The python.el pdb tracking provisions includes a fun=
ction, `python-pdbtrack-set-tracked-buffer()`, which registers python code =
buffers that were created to visit files for pdbtracking for subsequent del=
etion (the buffers, not the files) after the pdb session concludes. The pro=
blem is that this provision sometimes registers buffers that were present i=
n the editing session before the pdbtracking session, so that pdbtracking s=
ometimes causes pdbtracked buffers to be deleted when it shouldn&#39;t.</di=
v><div><br></div><div>I&#39;m unsure what exact conditions lead to the prob=
lem, but I&#39;m pretty sure that `python-pdbtrack-set-tracked-buffer()` us=
es the wrong buffer-finding function. Instead of using `get-file-buffer()`,=
 it should be using `find-buffer-visiting()`. I believe that this will solv=
e the problem.</div><div><br></div><div>Here&#39;s a diff of python.el from=
 the emacs-26.2.90 branch with my suggested change applied. (The same patch=
 would obtain for the master branch):</div><div><br></div><div><div><div><f=
ont face=3D"courier new, monospace">diff --git a/lisp/progmodes/python.el b=
/lisp/progmodes/python.el</font></div><div><font face=3D"courier new, monos=
pace">index 38dcc823d0..151b27aa80 100644</font></div><div><font face=3D"co=
urier new, monospace">--- a/lisp/progmodes/python.el</font></div><div><font=
 face=3D"courier new, monospace">+++ b/lisp/progmodes/python.el</font></div=
><div><font face=3D"courier new, monospace">@@ -3717,7 +3717,7 @@ python-pd=
btrack-set-tracked-buffer</font></div><div><font face=3D"courier new, monos=
pace">=C2=A0Returns the tracked buffer.&quot;</font></div><div><font face=
=3D"courier new, monospace">=C2=A0 =C2=A0(let* ((file-name-prospect (concat=
 (file-remote-p default-directory)</font></div><div><font face=3D"courier n=
ew, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0file-name))</font></div=
><div><font face=3D"courier new, monospace">- =C2=A0 =C2=A0 =C2=A0 =C2=A0 (=
file-buffer (get-file-buffer file-name-prospect)))</font></div><div><font f=
ace=3D"courier new, monospace">+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 (file-buffer (=
find-buffer-visiting file-name-prospect)))</font></div><div><font face=3D"c=
ourier new, monospace">=C2=A0 =C2=A0 =C2=A0(if file-buffer</font></div><div=
><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(s=
etq python-pdbtrack-tracked-buffer file-buffer)</font></div><div><font face=
=3D"courier new, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0(cond</font></div></=
div></div><div><br></div><div>I have verified that pdbtracking will delete =
some buffers that were created just for tracking and keep some buffers that=
 were present before tracking, but haven&#39;t used it long enough to be su=
re it will do the right thing with all buffers. But I&#39;m pretty sure tha=
t find-buffer-visiting should be used instead of get-file-buffer, so am pre=
tty confident that this is a proper change.</div><div><br></div><div>Ken Ma=
nheimer</div><div><a href=3D"mailto:ken.manheimer@HIDDEN">ken.manheimer@=
gmail.com</a></div><div><br></div><div><br></div><div><br></div><div>In GNU=
 Emacs 26.2 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version =
10.14.3 (Build 18D109)) =C2=A0of 2019-04-12 built on <a href=3D"http://buil=
der10-14.porkrind.org">builder10-14.porkrind.org</a> Windowing system distr=
ibutor &#39;Apple&#39;, version 10.3.1671</div><div>Recent messages:</div><=
div>Checking 87 files in /Applications/Emacs.app/Contents/Resources/lisp/ca=
lc...</div><div>Checking 105 files in /Applications/Emacs.app/Contents/Reso=
urces/lisp/obsolete...</div><div>Checking for load-path shadows...done</div=
><div>Saved text from &quot;</div><div><br></div><div><br></div><div><br></=
div><div>In GNU Emacs 26.2 (build 1, x86_64-a&quot;</div><div>mwheel-scroll=
: Beginning of buffer [11 times]</div><div>previous-line: Beginning of buff=
er</div><div>Quit [5 times]</div><div>Configured using:</div><div>=C2=A0&#3=
9;configure --with-ns &#39;--enable-locallisppath=3D/Library/Application</d=
iv><div>=C2=A0Support/Emacs/${version}/site-lisp:/Library/Application</div>=
<div>=C2=A0Support/Emacs/site-lisp&#39; --with-modules&#39;</div><div><br><=
/div><div>Configured features:</div><div>NOTIFY ACL GNUTLS LIBXML2 ZLIB TOO=
LKIT_SCROLL_BARS NS MODULES THREADS</div><div><br></div><div>Important sett=
ings:</div><div>=C2=A0 value of $LANG: en_US.UTF-8</div><div>=C2=A0 locale-=
coding-system: utf-8-unix</div><div><br></div><div>Major mode: Python</div>=
<div><br></div><div>Minor modes in effect:</div><div>=C2=A0 flycheck-mode: =
t</div><div>=C2=A0 yas-minor-mode: t</div><div>=C2=A0 highlight-indentation=
-mode: t</div><div>=C2=A0 company-mode: t</div><div>=C2=A0 elpy-mode: t</di=
v><div>=C2=A0 pyvenv-mode: t</div><div>=C2=A0 flymake-mode: t</div><div>=C2=
=A0 auto-revert-mode: t</div><div>=C2=A0 diff-hl-flydiff-mode: t</div><div>=
=C2=A0 save-place-mode: t</div><div>=C2=A0 show-paren-mode: t</div><div>=C2=
=A0 recentf-mode: t</div><div>=C2=A0 rcirc-track-minor-mode: t</div><div>=
=C2=A0 global-whitespace-mode: t</div><div>=C2=A0 global-diff-hl-mode: t</d=
iv><div>=C2=A0 diff-hl-mode: t</div><div>=C2=A0 diff-auto-refine-mode: t</d=
iv><div>=C2=A0 desktop-save-mode: t</div><div>=C2=A0 rainbow-delimiters-mod=
e: t</div><div>=C2=A0 fci-mode: t</div><div>=C2=A0 savehist-mode: t</div><d=
iv>=C2=A0 shell-dirtrack-mode: t</div><div>=C2=A0 global-undo-tree-mode: t<=
/div><div>=C2=A0 undo-tree-mode: t</div><div>=C2=A0 icomplete-mode: t</div>=
<div>=C2=A0 tooltip-mode: t</div><div>=C2=A0 global-eldoc-mode: t</div><div=
>=C2=A0 eldoc-mode: t</div><div>=C2=A0 electric-indent-mode: t</div><div>=
=C2=A0 mouse-wheel-mode: t</div><div>=C2=A0 file-name-shadow-mode: t</div><=
div>=C2=A0 global-font-lock-mode: t</div><div>=C2=A0 font-lock-mode: t</div=
><div>=C2=A0 blink-cursor-mode: t</div><div>=C2=A0 auto-composition-mode: t=
</div><div>=C2=A0 auto-encryption-mode: t</div><div>=C2=A0 auto-compression=
-mode: t</div><div>=C2=A0 line-number-mode: t</div><div>=C2=A0 transient-ma=
rk-mode: t</div><div><br></div><div>Load-path shadows:</div><div>/Users/klm=
/lib/emacs/EmacsMultishell/multishell hides /Users/klm/lib/emacs/EmacsUtils=
/multishell</div><div>/Users/klm/lib/emacs/misc hides /Applications/Emacs.a=
pp/Contents/Resources/lisp/misc</div><div>/Users/klm/lib/emacs/align hides =
/Applications/Emacs.app/Contents/Resources/lisp/align</div><div>/Users/klm/=
lib/emacs/allout_dev/allout hides /Applications/Emacs.app/Contents/Resource=
s/lisp/allout</div><div>/Users/klm/lib/emacs/allout_dev/allout-widgets hide=
s /Applications/Emacs.app/Contents/Resources/lisp/allout-widgets</div><div>=
/Users/klm/lib/emacs/css-mode hides /Applications/Emacs.app/Contents/Resour=
ces/lisp/textmodes/css-mode</div><div>/Users/klm/lib/emacs/rst hides /Appli=
cations/Emacs.app/Contents/Resources/lisp/textmodes/rst</div><div>/Users/kl=
m/lib/emacs/nxml/rng-uri hides /Applications/Emacs.app/Contents/Resources/l=
isp/nxml/rng-uri</div><div>/Users/klm/lib/emacs/nxml/rng-pttrn hides /Appli=
cations/Emacs.app/Contents/Resources/lisp/nxml/rng-pttrn</div><div>/Users/k=
lm/lib/emacs/nxml/rng-match hides /Applications/Emacs.app/Contents/Resource=
s/lisp/nxml/rng-match</div><div>/Users/klm/lib/emacs/nxml/nxml-maint hides =
/Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-maint</div><div>/=
Users/klm/lib/emacs/nxml/rng-dt hides /Applications/Emacs.app/Contents/Reso=
urces/lisp/nxml/rng-dt</div><div>/Users/klm/lib/emacs/nxml/xmltok hides /Ap=
plications/Emacs.app/Contents/Resources/lisp/nxml/xmltok</div><div>/Users/k=
lm/lib/emacs/nxml/nxml-enc hides /Applications/Emacs.app/Contents/Resources=
/lisp/nxml/nxml-enc</div><div>/Users/klm/lib/emacs/nxml/rng-util hides /App=
lications/Emacs.app/Contents/Resources/lisp/nxml/rng-util</div><div>/Users/=
klm/lib/emacs/nxml/rng-loc hides /Applications/Emacs.app/Contents/Resources=
/lisp/nxml/rng-loc</div><div>/Users/klm/lib/emacs/nxml/rng-parse hides /App=
lications/Emacs.app/Contents/Resources/lisp/nxml/rng-parse</div><div>/Users=
/klm/lib/emacs/nxml/xsd-regexp hides /Applications/Emacs.app/Contents/Resou=
rces/lisp/nxml/xsd-regexp</div><div>/Users/klm/lib/emacs/nxml/rng-xsd hides=
 /Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-xsd</div><div>/Us=
ers/klm/lib/emacs/nxml/rng-cmpct hides /Applications/Emacs.app/Contents/Res=
ources/lisp/nxml/rng-cmpct</div><div>/Users/klm/lib/emacs/nxml/nxml-mode hi=
des /Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-mode</div><di=
v>/Users/klm/lib/emacs/nxml/rng-valid hides /Applications/Emacs.app/Content=
s/Resources/lisp/nxml/rng-valid</div><div>/Users/klm/lib/emacs/nxml/nxml-ns=
 hides /Applications/Emacs.app/Contents/Resources/lisp/nxml/nxml-ns</div><d=
iv>/Users/klm/lib/emacs/nxml/nxml-util hides /Applications/Emacs.app/Conten=
ts/Resources/lisp/nxml/nxml-util</div><div>/Users/klm/lib/emacs/nxml/rng-ma=
int hides /Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-maint</d=
iv><div>/Users/klm/lib/emacs/nxml/nxml-parse hides /Applications/Emacs.app/=
Contents/Resources/lisp/nxml/nxml-parse</div><div>/Users/klm/lib/emacs/nxml=
/rng-nxml hides /Applications/Emacs.app/Contents/Resources/lisp/nxml/rng-nx=
ml</div><div><br></div><div>Features:</div><div>(pp shadow sort mail-extr g=
nus-msg gnus-art mm-uu mml2015 mm-view</div><div>mml-smime smime dig mailca=
p gnus-sum gnus-group gnus-undo gnus-start</div><div>gnus-cloud nnimap nnma=
il mail-source tls gnutls utf7 netrc nnoo</div><div>gnus-spec gnus-int gnus=
-range gnus-win emacsbug message rmc puny rfc822</div><div>mml mml-sec epa =
mm-decode mm-bodies mm-encode mail-parse rfc2231</div><div>mailabbrev gmm-u=
tils mailheader sendmail edebug compare-w add-log</div><div>log-view pcvs-u=
til view sh-script smie executable time-stamp misearch</div><div>multi-isea=
rch conf-mode markdown-mode noutline outline flycheck rx dash</div><div>com=
pany-oddmuse company-keywords company-etags company-gtags</div><div>company=
-dabbrev-code company-dabbrev company-files company-cmake</div><div>company=
-xcode company-clang company-eclim company-template company-bbdb</div><div>=
cl-extra yasnippet help-mode highlight-indentation company-capf company</di=
v><div>elpy find-file-in-project ivy colir color ivy-overlay ffap windmove<=
/div><div>elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc=
</div><div>esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-prof=
ile</div><div>elpy-django s elpy-refactor subr-x ido files-x etags xref pro=
ject</div><div>cus-edit flymake-proc flymake warnings thingatpt python json=
 map</div><div>autorevert filenotify diff-hl-flydiff disp-table elec-pair s=
aveplace</div><div>jka-compr paren recentf tree-widget rcirc-reconnect rcir=
c-notify rcirc</div><div>avoid gnus nnheader gnus-util rmail rmail-loaddefs=
 rfc2047 rfc2045</div><div>ietf-drums mail-utils mm-util mail-prsvr whitesp=
ace hl-line diff-hl</div><div>face-remap vc-hg vc-git vc-dir ewoc diff-mode=
 easy-mmode desktop</div><div>frameset allout-widgets wid-edit allout cus-s=
tart cus-load delsel</div><div>mouse-drag flyspell ispell server monkey mon=
key-dir background nice</div><div>fields modal dired dired-loaddefs wgrep g=
rep compile rainbow-delimiters</div><div>fill-column-indicator multishell m=
ultishell-list derived savehist pcase</div><div>user-info ange-ftp tramp-ft=
p tramp-sh tramp tramp-compat tramp-loaddefs</div><div>trampver shell pcomp=
lete comint ansi-color ring parse-time format-spec</div><div>advice file-re=
gistry namedmarks vc vc-dispatcher misc undo-tree diff</div><div>icomplete-=
fix nxml-mode nxml-util nxml-glyph nxml-enc xmltok find-func</div><div>reta=
in-copy cl epg icomplete edmacro kmacro finder-inf info package</div><div>e=
asymenu epg-config url-handlers url-parse auth-source cl-seq eieio</div><di=
v>eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt</d=
iv><div>gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date tooltip=
</div><div>eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwhe=
el</div><div>term/ns-win ns-win ucs-normalize mule-util term/common-win too=
l-bar dnd</div><div>fontset image regexp-opt fringe tabulated-list replace =
newcomment</div><div>text-mode elisp-mode lisp-mode prog-mode register page=
 menu-bar</div><div>rfn-eshadow isearch timer select scroll-bar mouse jit-l=
ock font-lock</div><div>syntax facemenu font-core term/tty-colors frame cl-=
generic cham georgian</div><div>utf-8-lang misc-lang vietnamese tibetan tha=
i tai-viet lao korean</div><div>japanese eucjp-ms cp51932 hebrew greek roma=
nian slovak czech european</div><div>ethiopic indian cyrillic chinese compo=
site charscript charprop</div><div>case-table epa-hook jka-cmpr-hook help s=
imple abbrev obarray minibuffer</div><div>cl-preloaded nadvice loaddefs but=
ton faces cus-face macroexp files</div><div>text-properties overlay sha1 md=
5 base64 format env code-pages mule</div><div>custom widget hashtable-print=
-readable backquote threads kqueue cocoa ns</div><div>multi-tty make-networ=
k-process emacs)</div><div><br></div><div>Memory information:</div><div>((c=
onses 16 701576 48230)</div><div>=C2=A0(symbols 48 47329 11)</div><div>=C2=
=A0(miscs 40 17455 3460)</div><div>=C2=A0(strings 32 120830 4193)</div><div=
>=C2=A0(string-bytes 1 3766078)</div><div>=C2=A0(vectors 16 80685)</div><di=
v>=C2=A0(vector-slots 8 2053353 146650)</div><div>=C2=A0(floats 8 517 2021)=
</div><div>=C2=A0(intervals 56 29302 12)</div><div>=C2=A0(buffers 992 154))=
</div></div><div><br></div></div></div></div></div></div></div></div></div>=
</div>

--00000000000016f432058d32f989--




Acknowledgement sent to Ken Manheimer <ken.manheimer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#36556; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 10 Aug 2020 10:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.