all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15378: 24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp
@ 2013-09-14  8:24 Russell Sim
  2013-12-13  0:57 ` bug#15378: Fabián Ezequiel Gallina
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Sim @ 2013-09-14  8:24 UTC (permalink / raw)
  To: 15378

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

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 694 bytes --]

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))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#15378:
  2013-09-14  8:24 bug#15378: 24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp Russell Sim
@ 2013-12-13  0:57 ` Fabián Ezequiel Gallina
  0 siblings, 0 replies; 2+ messages in thread
From: Fabián Ezequiel Gallina @ 2013-12-13  0:57 UTC (permalink / raw)
  To: 15378-done

Fixed in revno 115500.


Thanks,
Fabián.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-13  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-14  8:24 bug#15378: 24.3.50; Python pdbtrack doesn't open correct file when debugging over tramp Russell Sim
2013-12-13  0:57 ` bug#15378: Fabián Ezequiel Gallina

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.