all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Carlos Pita <carlosjosepita@gmail.com>
Cc: 18171@debbugs.gnu.org, Fabian Ezequiel Gallina <galli.87@gmail.com>
Subject: bug#18171: 24.3.92; pdb gud-print shows "Text is read only"
Date: Fri, 13 Sep 2019 13:20:06 +0200	[thread overview]
Message-ID: <CADwFkmnX_+x+kQWtYe8765mG_GYphYaqmOK9uJbC9ZUBcq2Hjw@mail.gmail.com> (raw)
In-Reply-To: <8761ibyc8y.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

Carlos Pita <carlosjosepita@gmail.com> 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)<module>()
    -> num = 200

2. Hit "n"

    (Pdb) n
    > /home/skangas/foo.py(2)<module>()
    -> 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

[-- Attachment #2: Type: text/html, Size: 2113 bytes --]

  reply	other threads:[~2019-09-13 11:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02  0:19 bug#18171: 24.3.92; pdb gud-print shows "Text is read only" Carlos Pita
2019-09-13 11:20 ` Stefan Kangas [this message]
2019-10-14 12:30   ` Stefan Kangas

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=CADwFkmnX_+x+kQWtYe8765mG_GYphYaqmOK9uJbC9ZUBcq2Hjw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=18171@debbugs.gnu.org \
    --cc=carlosjosepita@gmail.com \
    --cc=galli.87@gmail.com \
    /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.