unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Matt McClure <matthewlmcclure@gmail.com>
Cc: 12340@debbugs.gnu.org
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'"
Date: Fri, 07 Sep 2012 13:45:41 +0200	[thread overview]
Message-ID: <87ehmef44a.fsf@gmx.de> (raw)
In-Reply-To: <CAJELnLEzWvifd+iQ-3+xA7F-OsRtjJqdjPXx3KSBhGMrOTb2iQ@mail.gmail.com> (Matt McClure's message of "Thu, 6 Sep 2012 22:52:10 -0400")

Matt McClure <matthewlmcclure@gmail.com> writes:

> Michael,

Hi Matt,

> Here's a much simpler patch with the same behavior.
>
> https://github.com/matthewlmcclure/emacs/compare/master...debbug-12340

Looks OK to me.

But there is still one weak point (not introduced by your patch). In
`python-shell-send-file', there is the form

(or (expand-file-name
     (or (file-remote-p file-name 'localname)
         file-name))
    temp-file-name)

The intention is obvious: if `file-name' is nil, use `temp-file-name'
instead. But in this case, we would eval (expand-file-name nil), which
raises an error. Could you fix this as well?

I would commit this patch in your name, if this is fixed. Ah, a
ChangeLog entry would be great.

> Matt

Best regards, Michael.





  reply	other threads:[~2012-09-07 11:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 16:34 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
2012-09-03 23:34 ` Matt McClure
2012-09-04  1:00   ` Matt McClure
2012-09-04 13:51   ` Michael Albinus
2012-09-04 20:23     ` Matt McClure
2012-09-05 15:03       ` Michael Albinus
2012-09-05 19:05         ` Matt McClure
2012-09-06  4:15           ` Chong Yidong
2012-09-07  2:12             ` Matt McClure
2012-09-07  2:52         ` Matt McClure
2012-09-07 11:45           ` Michael Albinus [this message]
2012-09-07 14:36             ` Matt McClure
2012-09-07 14:56               ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehmef44a.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=12340@debbugs.gnu.org \
    --cc=matthewlmcclure@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).