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


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 8964 <at> debbugs.gnu.org
Subject: bug#8964: 24.0.50; `find-file' triggers the debugger when called with a nonexistent remote file
Date: Thu, 30 Jun 2011 20:52:37 +0200
>> > How is it possible?  I.e., why "C-h v" gives a different value than "M-:"?
>> >
>> > And why "M-: debug-on-error RET" returns `t' even after doing (setq
>> > debug-on-error nil)?
>>
>> Because of eval-expression-debug-on-error, I think.
>
> Of course.  And that's also the reason why evaluating something like
> `(find-file "foo")' will run with debug-on-error set non-nil, and
> that's why ange-ftp enters the debugger when it signals an error.
>
> IOW, not a bug, like I said.

Eli, Glenn, thanks for your explanations.  I understand it now.

You can close this bug.

-- 
Dani Moncayo




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

Previous Next


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