GNU bug report logs - #38413
27.0.50; [PATCH] python.el: Check if buffer `python-pdbtrack-tracked-buffer' is live.

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: Andrii Kolomoiets <andreyk.mad@HIDDEN>; Keywords: patch; Done: Eli Zaretskii <eliz@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 38413-done <at> debbugs.gnu.org:


Received: (at 38413-done) by debbugs.gnu.org; 8 Dec 2019 08:14:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 08 03:14:26 2019
Received: from localhost ([127.0.0.1]:50435 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1idrhy-0007kb-MB
	for submit <at> debbugs.gnu.org; Sun, 08 Dec 2019 03:14:26 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1idrhx-0007kP-5k
 for 38413-done <at> debbugs.gnu.org; Sun, 08 Dec 2019 03:14:25 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60125)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1idWbh-0000VT-Cw; Sat, 07 Dec 2019 04:42:33 -0500
Received: from [176.228.60.248] (port=4149 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1idWbg-0005Wd-SE; Sat, 07 Dec 2019 04:42:33 -0500
Date: Sat, 07 Dec 2019 11:42:21 +0200
Message-Id: <83a784fp4y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andrii Kolomoiets <andreyk.mad@HIDDEN>
In-reply-to: <8AC765A6-8D5E-4F5C-9A48-4B9DD8B79906@HIDDEN> (message from
 Andrii Kolomoiets on Thu, 28 Nov 2019 16:03:30 +0200)
Subject: Re: bug#38413: 27.0.50;
 [PATCH] python.el: Check if buffer `python-pdbtrack-tracked-buffer'
 is live.
References: <8AC765A6-8D5E-4F5C-9A48-4B9DD8B79906@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38413-done
Cc: 38413-done <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: -3.3 (---)

> From: Andrii Kolomoiets <andreyk.mad@HIDDEN>
> Date: Thu, 28 Nov 2019 16:03:30 +0200
> 
> 1. echo 'import pdb; pdb.set_trace()' > test.py
> 2. emacs -Q
> 3. M-x run-python
> 4. M-x python-shell-send-file <RET> test.py
> 5. C-x k test.py
> 6. c <RET>
> 
> Leads to error:
> python-pdbtrack-tracking-finish: Selecting deleted buffer

Thanks, pushed to the master branch.




Notification sent to Andrii Kolomoiets <andreyk.mad@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Eli Zaretskii <eliz@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 28 Nov 2019 14:03:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 09:03:49 2019
Received: from localhost ([127.0.0.1]:56892 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iaKOb-0001gQ-Kb
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2019 09:03:49 -0500
Received: from lists.gnu.org ([209.51.188.17]:53648)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreyk.mad@HIDDEN>) id 1iaKOa-0001gI-1b
 for submit <at> debbugs.gnu.org; Thu, 28 Nov 2019 09:03:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46653)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <andreyk.mad@HIDDEN>) id 1iaKOU-0005H0-78
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2019 09:03:46 -0500
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,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andreyk.mad@HIDDEN>) id 1iaKOP-0001rm-IS
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2019 09:03:39 -0500
Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:35501)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <andreyk.mad@HIDDEN>)
 id 1iaKOO-0001cT-Rp
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2019 09:03:37 -0500
Received: by mail-lj1-x243.google.com with SMTP id j6so19638427lja.2
 for <bug-gnu-emacs@HIDDEN>; Thu, 28 Nov 2019 06:03:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:mime-version:subject:message-id:date:to;
 bh=81m4crcreN4OEzPGlElUvRtV7u9SSXBa0pJ9CR3Wlug=;
 b=hDrGAY53lQmiJgZPHMHJ6oyM78LnLH8T6oz2MmdwEnCp72rKhR6//j6m4BAWjsVY9v
 mZcOcDQEr5Awrr72TDSzzJbEAPgyMja2x5qwgqSyDMmoR8DRb4l8FczrLjvxBCPhMyvL
 U0F0swzF6XMwwjJk4jwfoJYin1Qhc6J4MU7PTRykNfZI4+7Lu3zqG/ohk6Fy/5AbE4IK
 e4wh8BZIzpcO4lGO82uf9+rmXKzaGNyC+8PQsO8aswLmuSKkyVW6hOEKw41auO6gpHSO
 b3BvE6JEKNq8Jqsqs3B2VOMOiHRjvpFjZO0sWaPFJAe74ZbmUV7Jz3wjPUoZeJ5CyXDq
 qWOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:mime-version:subject:message-id:date:to;
 bh=81m4crcreN4OEzPGlElUvRtV7u9SSXBa0pJ9CR3Wlug=;
 b=VrpKY/TaY+R6rmLnp8XVx7YUh7kKy8swVDy7aZpJgwg26/jsvS0euWfmfmRUjvVgNo
 K83OwSFuVzbYq7D8Mw9VUwGqM8/jiy55c6RLfy+NlGqBqoPLqrWFpvqn8V4NaLoz+g3p
 ybXufDTOBvdJ9ge1MSXfqUiG+9072wGTMTY45xkkcOYYl2t89CIhqrinjEQjzjDrVrT4
 pQF6kRx0RwKKkrUGaavbKwJ3UpkVSdTKA4pxyWmv8BVeCo6HwWDhU18My+Qi4xh/6Mun
 eJ61ruHIkRdd15xQgCgUC9BvMa7aTFFTogCKd2pbPO1wHSJn3ruvtp/9O2otrOjSS6wK
 RmlA==
X-Gm-Message-State: APjAAAUG0FqUS4fNLOYwx5xdikcyw7s3U6jym7k74GGoSrcFyJwhchJt
 Vn8BB6GdNQeCgwYgvd44HbDyajCG
X-Google-Smtp-Source: APXvYqzE4gZjIaFQ8dFoxIzhQppSWOL4r2hs/WiSmT5wJmqad3SVJBkzokfrvYlQH3BZLyrPJBKlQw==
X-Received: by 2002:a2e:58c:: with SMTP id 134mr21528790ljf.12.1574949812698; 
 Thu, 28 Nov 2019 06:03:32 -0800 (PST)
Received: from [10.1.1.147] (188-42-207-82.ip.ukrtel.net. [82.207.42.188])
 by smtp.gmail.com with ESMTPSA id s11sm8678077ljo.42.2019.11.28.06.03.31
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 28 Nov 2019 06:03:31 -0800 (PST)
From: Andrii Kolomoiets <andreyk.mad@HIDDEN>
Content-Type: multipart/mixed;
 boundary="Apple-Mail=_8C0D9DD0-44CC-4F9A-A221-518BD1B3167E"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\))
Subject: 27.0.50; [PATCH] python.el: Check if buffer
 `python-pdbtrack-tracked-buffer' is live.
Message-Id: <8AC765A6-8D5E-4F5C-9A48-4B9DD8B79906@HIDDEN>
Date: Thu, 28 Nov 2019 16:03:30 +0200
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3601.0.10)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::243
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 (--)


--Apple-Mail=_8C0D9DD0-44CC-4F9A-A221-518BD1B3167E
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

1. echo 'import pdb; pdb.set_trace()' > test.py
2. emacs -Q
3. M-x run-python
4. M-x python-shell-send-file <RET> test.py
5. C-x k test.py
6. c <RET>

Leads to error:
python-pdbtrack-tracking-finish: Selecting deleted buffer


--Apple-Mail=_8C0D9DD0-44CC-4F9A-A221-518BD1B3167E
Content-Disposition: attachment;
	filename=0001-python.el-Call-buffer-live-p-in-python-pdbtrack-unse.patch
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="0001-python.el-Call-buffer-live-p-in-python-pdbtrack-unse.patch"
Content-Transfer-Encoding: quoted-printable

=46rom=20cf8a031307bd21da448982c0ae9ceaf9ac5616cd=20Mon=20Sep=2017=20=
00:00:00=202001=0AFrom:=20Andrii=20Kolomoiets=20<andreyk.mad@HIDDEN>=0A=
Date:=20Thu,=2028=20Nov=202019=2015:54:41=20+0200=0ASubject:=20[PATCH]=20=
python.el:=20Call=20buffer-live-p=20in=0A=20=
python-pdbtrack-unset-tracked-buffer=0A=0A*=20lisp/progmodes/python.el=20=
(python-pdbtrack-unset-tracked-buffer):=0ACheck=20if=20buffer=20=
`python-pdbtrack-tracked-buffer'=20is=20live.=0A---=0A=20=
lisp/progmodes/python.el=20|=206=20+++---=0A=201=20file=20changed,=203=20=
insertions(+),=203=20deletions(-)=0A=0Adiff=20--git=20=
a/lisp/progmodes/python.el=20b/lisp/progmodes/python.el=0Aindex=20=
e720c6eb6a..1b3b92deaf=20100644=0A---=20a/lisp/progmodes/python.el=0A+++=20=
b/lisp/progmodes/python.el=0A@@=20-3832,10=20+3832,10=20@@=20=
python-pdbtrack-set-tracked-buffer=0A=20=0A=20(defun=20=
python-pdbtrack-unset-tracked-buffer=20()=0A=20=20=20"Untrack=20=
currently=20tracked=20buffer."=0A-=20=20(when=20=
python-pdbtrack-tracked-buffer=0A+=20=20(when=20(buffer-live-p=20=
python-pdbtrack-tracked-buffer)=0A=20=20=20=20=20(with-current-buffer=20=
python-pdbtrack-tracked-buffer=0A-=20=20=20=20=20=20(set-marker=20=
overlay-arrow-position=20nil))=0A-=20=20=20=20(setq=20=
python-pdbtrack-tracked-buffer=20nil)))=0A+=20=20=20=20=20=20(set-marker=20=
overlay-arrow-position=20nil)))=0A+=20=20(setq=20=
python-pdbtrack-tracked-buffer=20nil))=0A=20=0A=20(defun=20=
python-pdbtrack-tracking-finish=20()=0A=20=20=20"Finish=20tracking."=0A=
--=20=0A2.15.1=0A=0A=

--Apple-Mail=_8C0D9DD0-44CC-4F9A-A221-518BD1B3167E--




Acknowledgement sent to Andrii Kolomoiets <andreyk.mad@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#38413; 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: Sun, 8 Dec 2019 08:30:03 UTC

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