bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8964: 24.0.50; `find-file' triggers the debugger when called with a


From: Eli Zaretskii
Subject: bug#8964: 24.0.50; `find-file' triggers the debugger when called with a nonexistent remote file
Date: Thu, 30 Jun 2011 08:19:50 -0400

> Date: Thu, 30 Jun 2011 11:40:49 +0200
> From: Dani Moncayo <dmoncayo@gmail.com>
> 
> >From "emacs -Q":
> 1. Eval this, literally: (find-file "/user@host:/file")
> 2. Give any random password (for user@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

Do you eval this in the *scratch* buffer?  If so, this is a feature:
the Lisp interaction mode in *scratch* sets up things so that
debug-on-error is non-nil, which causes every call to `error' to enter
the debugger.  Normally, `error' just aborts the current command and
displays an error message.

If you don't eval in *scratch*, please tell exactly how you do it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]