GNU bug report logs - #79036
[PATCH] Fix pdb tracking for remote filenames

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Thu, 17 Jul 2025 04:59:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Liu Hui <liuhui1610 <at> gmail.com>
To: kobarity <kobarity <at> gmail.com>
Cc: 79036 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, michael.albinus <at> gmx.de
Subject: bug#79036: [PATCH] Fix pdb tracking for remote filenames
Date: Thu, 7 Aug 2025 16:12:37 +0800
On Wed, Aug 6, 2025 at 10:14 PM kobarity <kobarity <at> gmail.com> wrote:
>
> kobarity wrote:
> >
> > Liu Hui wrote:
> > >
> > > On Sun, Aug 3, 2025 at 7:47 PM kobarity <kobarity <at> gmail.com> wrote:
> > >
> > > > Eli Zaretskii wrote:
> > > > >
> > > > > > From: Liu Hui <liuhui1610 <at> gmail.com>
> > > > > > Date: Thu, 24 Jul 2025 08:45:54 +0800
> > > > > > Cc: Eli Zaretskii <eliz <at> gnu.org>, michael.albinus <at> gmx.de, 79036 <at> debbugs.gnu.org
> > > > > >
> > > > > > On Wed, Jul 23, 2025 at 11:08 PM kobarity <kobarity <at> gmail.com> wrote:
> > > > > >
> > > > > > > > For non-file buffers, could it return buffer name instead of <string>?
> > > > > > > > e.g. #<buffer NAME> or #<NAME> where NAME may need to be quoted. Then
> > > > > > > > python-pdbtrack-set-tracked-buffer can find it by (get-buffer-create
> > > > > > > > "NAME").
> > > > > > >
> > > > > > > That might be a good idea.  Why is `get-buffer-create' is necessary
> > > > > > > rather than `get-buffer'?
> > > > > >
> > > > > > Thanks for pointing it out. get-buffer should be used here.
> > > > >
> > > > > So can we please have an updated patch for this?
> > > >
> > > > Since it is an improvement to add a new feature and not a fix for
> > > > #79036, I think it would be better to separate the patches.
> > > >
> > > > Attached is my proposed patch to fix #79036.
> > >
> > > Hi,
> > >
> > > I find python-shell-send-file has the same issue as
> > > python-shell-send-string, and
> > > needs to use correct file-name too.
> >
> > Thanks, I will update the patch.
>
> Attached is the revised patch to fix #79036.

Thanks! I confirm it works.




This bug report was last modified 1 day ago.

Previous Next


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