GNU bug report logs - #8964
24.0.50; `find-file' triggers the debugger when called with a nonexistent remote file

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 30 Jun 2011 09:42:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; `find-file' triggers the debugger when called with a
	nonexistent remote file
Date: Thu, 30 Jun 2011 11:40:49 +0200
Package: emacs
Version: 24.0.50

From "emacs -Q":
1. Eval this, literally: (find-file "/user <at> host:/file")
2. Give any random password (for user <at> host).

Then, the a debugger window pops up, with this text:

  Debugger entered--Lisp error: (ftp-error #("FTP Error: OPEN request
failed: Unknown host host." 32 50 (fontified nil front-sticky (field
inhibit-line-move-field-capture) rear-nonsticky t field output
inhibit-line-move-field-capture t)))
    signal(ftp-error (#("FTP Error: OPEN request failed: Unknown host
host." 32 50 (fontified nil front-sticky (field
inhibit-line-move-field-capture) rear-nonsticky t field output
inhibit-line-move-field-capture t))))
    byte-code("\203


If the host is unknown, it should be notified with a message in the
minibuffer (as happens if you do it interactively with C-x C-f), but
not by triggering the debugger.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-06-27 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'


-- 
Dani Moncayo




This bug report was last modified 14 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.