|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#15378: closed (24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp) |
Date: | Fri, 13 Dec 2013 00:58:02 +0000 |
Your message dated Thu, 12 Dec 2013 21:57:03 -0300 with message-id <address@hidden> and subject line has caused the debbugs.gnu.org bug report #15378, regarding 24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 15378: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15378 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp Date: Sat, 14 Sep 2013 18:24:13 +1000 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, Russelldiff --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))
--- End Message ---
--- Begin Message ---Subject: Date: Thu, 12 Dec 2013 21:57:03 -0300 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1 Fixed in revno 115500. Thanks, Fabián.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |