From: Michael Albinus <michael.albinus@gmx.de>
To: "Chris Moore" <dooglus@gmail.com>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: M-x shell fails in tramp buffer
Date: Wed, 22 Aug 2007 21:58:20 +0200 [thread overview]
Message-ID: <87ejhvbaub.fsf@gmx.de> (raw)
In-Reply-To: <a9691ee20708210244l263c3cc4ne9facca15c584c09@mail.gmail.com> (Chris Moore's message of "Tue, 21 Aug 2007 11:44:53 +0200")
"Chris Moore" <dooglus@gmail.com> writes:
> Visit some FTP site:
>
> "C-x d /anonymous@ftp.gnu.org:/ RET"
>
> Then try running a shell:
>
> "M-x shell RET"
>
> I see a backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument processp nil)
> process-coding-system(nil)
> comint-exec-1("shell" #<buffer *shell*> "/bin/bash" ("--noediting" "-i"))
comint-exec-1 uses start-file-process now, which starts a process
depending on the file name handler responsible for default-directory.
ange-ftp is not able to start a process; it always returns nil for
start-file-process.
I've added a check in comint-exec-1 to raise an error if
start-file-process returns nil. Additionally, if you start "shell"
with a prefix argument, and default-directory is a remote file name,
you will be prompted now to change the value of default-directory.
"C-u M-x shell RET"
shall be reasonable now if you are on a remote FTP site.
Best regards, Michael.
prev parent reply other threads:[~2007-08-22 19:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 9:44 M-x shell fails in tramp buffer Chris Moore
2007-08-22 19:58 ` Michael Albinus [this message]
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=87ejhvbaub.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=dooglus@gmail.com \
--cc=emacs-pretest-bug@gnu.org \
/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).