From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#18171: 24.3.92; pdb gud-print shows "Text is read only" Date: Fri, 13 Sep 2019 13:20:06 +0200 Message-ID: References: <8761ibyc8y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005cefa105926d7039" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="203964"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 18171@debbugs.gnu.org, Fabian Ezequiel Gallina To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 13 13:21:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i8jdg-000qwn-5r for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 13:21:20 +0200 Original-Received: from localhost ([::1]:42552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8jdf-0007hT-0K for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 07:21:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44251) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8jdS-0007gI-JE for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8jdQ-0003c0-Rs for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:21:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8jdO-0003ZB-Lm for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8jdO-00033o-Fw for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 07:21:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <8761ibyc8y.fsf@gmail.com> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2019 11:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18171 X-GNU-PR-Package: emacs Original-Received: via spool by 18171-submit@debbugs.gnu.org id=B18171.156837362511697 (code B ref 18171); Fri, 13 Sep 2019 11:21:02 +0000 Original-Received: (at 18171) by debbugs.gnu.org; 13 Sep 2019 11:20:25 +0000 Original-Received: from localhost ([127.0.0.1]:44434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8jcn-00032b-30 for submit@debbugs.gnu.org; Fri, 13 Sep 2019 07:20:25 -0400 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:42993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8jcl-00032O-GN for 18171@debbugs.gnu.org; Fri, 13 Sep 2019 07:20:23 -0400 Original-Received: by mail-pl1-f175.google.com with SMTP id e5so2055468pls.9 for <18171@debbugs.gnu.org>; Fri, 13 Sep 2019 04:20:23 -0700 (PDT) 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:cc; bh=EjAFofE0gYK3rmES5MI4qY6G4w1Izoy+fZ0glI+aGxY=; b=N2xf5zvtqsIdiyk6D7dImXFN29bFKgINh7bfMZ5QnGYeQ/SQTGhVV7Pmj0jcvZ0I3Y ERMR48lz2jkk9ef1LW7C/Yb790k9PPu/5rrru9eckObauIeB4eYXDK90z5RxOULpWBMm C96uwuo+MBdx9PBknBNVgXzHBHdpXaXMf8BqCS3L4V/528ocP3Q9KDqkhJB5+N4AI2hR A2BCsxurBqFbo3exHdYHFt5vyIRk+DT2dvbvpeo02uy//YKXKIc93HbJNzqRURsGH8QE gPAHDT694lREwFk6hplPwhVBt0pXYcdTwBMmgaUI4Qk1fZuntT2jWvBD8Ycy+9dV+xov oDFg== X-Gm-Message-State: APjAAAX/jBIJ2qKV6l1nOXrPRsBOQ/Yg9ERbSloFKoU2ICLRuHHGU8zH 8ffyW0pZnl/8St7VnmX3asMFR9GKJCyE6a+2nkeU7aGW X-Google-Smtp-Source: APXvYqyTbFHtztk3MRWMYT2/eC2zy3zFxHrJxip/NYz6CvEf0GFgtn+bHklye/uj9Ina5ZGZPAGniUpfSUxob8hfz20= X-Received: by 2002:a17:902:8b8c:: with SMTP id ay12mr46358605plb.251.1568373617781; Fri, 13 Sep 2019 04:20:17 -0700 (PDT) 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: 209.51.188.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:166391 Archived-At: --0000000000005cefa105926d7039 Content-Type: text/plain; charset="UTF-8" Carlos Pita writes: > While debugging a python script in python-mode (checkout of the latest > python.el) if the region contains, say, the name "v" of a python > variable, both C-x C-a C-p (in the python buffer) and C-c C-p (in the > gud buffer) just shows a "Text is read only" message at the > minibuffer. But executing "p v" in the gud buffer correctly shows the > value of the variable. > > --------- > Python 3.4.1 > > > In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) > of 2014-07-24 on memeplex Thanks for the report. I've tried reproducing this bug on the latest development branch and Emacs 26.2, but was unable to. First, I have a file ~/foo.py with the following contents: num = 200 print(num) Next, I do this: 0. emacs -Q 1. M-x pdb RET pdb3 ~/foo.py RET Current directory is /home/skangas/ > /home/skangas/foo.py(1)() -> num = 200 2. Hit "n" (Pdb) n > /home/skangas/foo.py(2)() -> print(num) 3. If I now do the step "C-x C-a C-p (in the python buffer) and C-c C-p (in the > gud buffer)" (with point on the variable name), I see the following: num = 200 num = 200 (Pdb) I don't see the message "Text is read only". Are you still able to reproduce this bug on a recent version of Emacs? If yes, could you please provide a recipe for how to reproduce it, starting from "emacs -Q"? If I don't hear back from you in a couple of weeks, I'll just assume that the bug has been fixed in the years since you reported it and close this bug report. Best regards, Stefan Kangas --0000000000005cefa105926d7039 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Carlos Pita <carlosjosepita@gmail.com> writes:

> While debuggi= ng a python script in python-mode (checkout of the latest
> python.el= ) if the region contains, say, the name "v" of a python
> v= ariable, both C-x C-a C-p (in the python buffer) and C-c C-p (in the
>= ; gud buffer) just shows a "Text is read only" message at the
= > minibuffer. But executing "p v" in the gud buffer correctly = shows the
> value of the variable.
>
> ---------
> = Python 3.4.1
>
>
> In GNU Emacs 24.3.92.1 (x86_64-unknown= -linux-gnu, GTK+ Version 3.12.2)
> =C2=A0of 2014-07-24 on memeplex

Thanks for the report.

=
I've tried reproducing this bug on the latest development branch a= nd Emacs 26.2, but was unable to.

First, I have a file ~/foo.py wi= th the following contents:

num =3D 200
print(num)

Next, I = do this:

0. emacs -Q
1. M-x pdb RET pdb3 ~/foo.py RET

=C2= =A0 =C2=A0 Current directory is /home/skangas/
=C2=A0 =C2=A0 > /home/= skangas/foo.py(1)<module>()
=C2=A0 =C2=A0 -> num =3D 200
2. Hit "n"

=C2=A0 =C2=A0 (Pdb) n
=C2=A0 =C2=A0 > /h= ome/skangas/foo.py(2)<module>()
=C2=A0 =C2=A0 -> print(num)
=
3. If I now do the step "C-x C-a C-p (in the python buffer) and C-= c C-p (in the
=C2=A0 =C2=A0> gud buffer)" (with point on the var= iable name), I see the following:

=C2=A0 =C2=A0 num =3D 200
=C2= =A0 =C2=A0 num =3D 200
=C2=A0 =C2=A0 (Pdb)

I don= 't see the message "Text is read only".

Are you still able to reproduce this bug on a recent version of Emacs?If yes, could you please provide a recipe for how to reproduce it,
sta= rting from "emacs -Q"?

If I don't hear back from you i= n a couple of weeks, I'll just assume
that the bug has been fixed in= the years since you reported it and close
this bug report.

Best = regards,
Stefan Kangas
--0000000000005cefa105926d7039--