* M-x shell fails in tramp buffer
@ 2007-08-21 9:44 Chris Moore
2007-08-22 19:58 ` Michael Albinus
0 siblings, 1 reply; 2+ messages in thread
From: Chris Moore @ 2007-08-21 9:44 UTC (permalink / raw
To: emacs-pretest-bug
[-- Attachment #1.1: Type: text/plain, Size: 1040 bytes --]
In GNU Emacs 22.1.50.8 (i686-pc-linux-gnu, GTK+ Version 2.10.11)
of 2007-08-21 on trpaslik
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure '--with-gtk' '--prefix' '/usr/local'
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''
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(#<buffer *shell*> "shell" "/bin/bash" nil ("--noediting"
"-i"))
make-comint-in-buffer("shell" #<buffer *shell*> "/bin/bash" nil
"--noediting" "-i")
apply(make-comint-in-buffer "shell" #<buffer *shell*> "/bin/bash" nil
("--noediting" "-i"))
shell(nil)
call-interactively(shell)
execute-extended-command(nil)
call-interactively(execute-extended-command)
I think I may have seen and reported this before - it does look familiar.
[-- Attachment #1.2: Type: text/html, Size: 1493 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: M-x shell fails in tramp buffer
2007-08-21 9:44 M-x shell fails in tramp buffer Chris Moore
@ 2007-08-22 19:58 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2007-08-22 19:58 UTC (permalink / raw
To: Chris Moore; +Cc: emacs-pretest-bug
"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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-22 19:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 9:44 M-x shell fails in tramp buffer Chris Moore
2007-08-22 19:58 ` Michael Albinus
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).