GNU bug report logs - #15378
24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp

Previous Next

Package: emacs;

Reported by: Russell Sim <russell.sim <at> gmail.com>

Date: Sat, 14 Sep 2013 09:08:01 UTC

Severity: normal

Found in version 24.3.50

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15378 in the body.
You can then email your comments to 15378 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15378; Package emacs. (Sat, 14 Sep 2013 09:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Russell Sim <russell.sim <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 14 Sep 2013 09:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Russell Sim <russell.sim <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 Python pdbtrack doesn't open correct file when debugging over tramp
Date: Sat, 14 Sep 2013 18:24:13 +1000
[Message part 1 (text/plain, inline)]
Hi,

Currently when using pdbtrack over tramp Emacs opens local files instead
of the remote files.

I have attached a patch that fixes this.

All the best,
Russell

[Message part 2 (text/x-patch, inline)]
diff --git a/python.el b/python.el
index be151bf..3ed69a3 100644
--- a/python.el
+++ b/python.el
@@ -2476,7 +2476,8 @@ Argument OUTPUT is a string with the output from the comint process."
                                    (match-string-no-properties 2)))
                 (match-string-no-properties 1)))))
       (if (and file-name line-number)
-          (let* ((tracked-buffer
+          (let* ((file-name (concat (file-remote-p default-directory) file-name))
+                 (tracked-buffer
                   (python-pdbtrack-set-tracked-buffer file-name))
                  (shell-buffer (current-buffer))
                  (tracked-buffer-window (get-buffer-window tracked-buffer))

Reply sent to fgallina <at> gnu.org (Fabián Ezequiel Gallina):
You have taken responsibility. (Fri, 13 Dec 2013 00:58:02 GMT) Full text and rfc822 format available.

Notification sent to Russell Sim <russell.sim <at> gmail.com>:
bug acknowledged by developer. (Fri, 13 Dec 2013 00:58:03 GMT) Full text and rfc822 format available.

Message #10 received at 15378-done <at> debbugs.gnu.org (full text, mbox):

From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 15378-done <at> debbugs.gnu.org
Date: Thu, 12 Dec 2013 21:57:03 -0300
Fixed in revno 115500.


Thanks,
Fabián.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 10 Jan 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 129 days ago.

Previous Next


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