Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion bug#12340: 24.2.50; python-shell-switch-to-shell in TRAMP buffer gives "No such file or directory: '/var/folders/vk/p95wm1qx0vdf0087p0z9qzc40000gn/T/py62333GTT'"
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael Albinus  
View profile  
 More options Sep 4 2012, 9:54 am
Newsgroups: gnu.emacs.bug
From: Michael Albinus <michael.albi...@gmx.de>
Date: Tue, 04 Sep 2012 15:51:05 +0200
Local: Tues, Sep 4 2012 9:51 am
Subject: bug#12340: 24.2.50; python-shell-switch-to-shell in TRAMP buffer gives "No such file or directory: '/var/folders/vk/p95wm1qx0vdf0087p0z9qzc40000gn/T/py62333GTT'"

Matt McClure <matthewlmccl...@gmail.com> writes:
> Here's a patch that I think might resolve the issue. Only lightly tested.

It looks good, you have derived it from the patch we have created some
weeks ago :-)

However:

> +        (let* ((temporary-file-directory
> +                (if (file-remote-p default-directory)
> +                    (concat (file-remote-p default-directory) "/tmp")
> +                  temporary-file-directory))
> +               (f (make-temp-file "py"))
> +               (temp-file-name (or (file-remote-p f 'localname) f))
>                 (file-name (or (buffer-file-name) temp-file-name)))

Shouldn't this be

                 (file-name (or (buffer-file-name) f)))

Best regards, Michael.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.