GNU bug report logs - #15215
24.3; quit abnormally when find-file

Previous Next

Package: emacs;

Reported by: forward <eude.xj <at> gmail.com>

Date: Fri, 30 Aug 2013 06:41:01 UTC

Severity: normal

Tags: notabug

Found in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15215 in the body.
You can then email your comments to 15215 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15215; Package emacs. (Fri, 30 Aug 2013 06:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to forward <eude.xj <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 30 Aug 2013 06:41:02 GMT) Full text and rfc822 format available.

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

From: forward <eude.xj <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; quit abnormally when find-file
Date: Fri, 30 Aug 2013 14:06:54 +0800
[Message part 1 (text/plain, inline)]
In definition of function `find-file-noselect' in file "files.el"
from line 1807 to 1816

            ;; Certain files should be reverted automatically
            ;; if they have changed on disk and not in the buffer.
            ((and (not (buffer-modified-p buf))
                  (let ((tail revert-without-query)
                    (found nil))
                (while tail
                  (if (string-match (car tail) filename)  ===>
                      (setq found t))
                  (setq tail (cdr tail)))
                found))

   ==> when tail is `t' since `revert-without-query' is `t' ,  it signals a
"Wrong type argument: listp, t". Should it be checked? Thanks.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15215; Package emacs. (Fri, 30 Aug 2013 07:05:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: forward <eude.xj <at> gmail.com>
Cc: 15215 <at> debbugs.gnu.org
Subject: Re: bug#15215: 24.3; quit abnormally when find-file
Date: Fri, 30 Aug 2013 03:04:33 -0400
forward wrote:

> In definition of function `find-file-noselect' in file "files.el"
> from line 1807 to 1816
>
>             ;; Certain files should be reverted automatically
>             ;; if they have changed on disk and not in the buffer.
>             ((and (not (buffer-modified-p buf))
>                   (let ((tail revert-without-query)
>                     (found nil))
>                 (while tail
>                   (if (string-match (car tail) filename)  ===>
>                       (setq found t))
>                   (setq tail (cdr tail)))
>                 found))
>
>    ==> when tail is `t' since `revert-without-query' is `t' ,  it signals a
> "Wrong type argument: listp, t".

`t' is not a documented value for revert-without-query.
It is supposed to be a list of regexps.
Set it to '(".") if you really want to revert everything without asking.




Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 30 Aug 2013 16:57:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 15215 <at> debbugs.gnu.org and forward <eude.xj <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 30 Aug 2013 16:57:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Sep 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 359 days ago.

Previous Next


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