GNU bug report logs - #8966
24.0.50; Strange message in the echo area after creating a new file

Previous Next

Package: emacs;

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

Date: Thu, 30 Jun 2011 16:14: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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8966 in the body.
You can then email your comments to 8966 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8966; Package emacs. (Thu, 30 Jun 2011 16:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 30 Jun 2011 16:14:01 GMT) Full text and rfc822 format available.

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; Strange message in the echo area after creating a new file
Date: Thu, 30 Jun 2011 18:12:51 +0200
Package: emacs
Version: 24.0.50

From "emacs -Q", eval (find-file "<path-to-new-file>"), where
<path-to-new-file> denotes the name (with path) of a nonexistent file
(which we are creating right now).

After doing that, the echo area shows "#<buffer <path-to-new-file>>",
but it should show "(New file)", as when you do the same interactively
with C-x C-f.


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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8966; Package emacs. (Thu, 30 Jun 2011 16:38:04 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 8966 <at> debbugs.gnu.org
Subject: Re: 24.0.50;
	Strange message in the echo area after creating a new file
Date: Thu, 30 Jun 2011 18:36:55 +0200
I've just realized that the same strange message appears also when the
visited file already exists.  (If you do it interactively, the echo
area ends empty).

-- 
Dani Moncayo




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 30 Jun 2011 18:26:02 GMT) Full text and rfc822 format available.

Notification sent to Dani Moncayo <dmoncayo <at> gmail.com>:
bug acknowledged by developer. (Thu, 30 Jun 2011 18:26:02 GMT) Full text and rfc822 format available.

Message #13 received at 8966-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 8966-done <at> debbugs.gnu.org
Subject: Re: bug#8966: 24.0.50;
	Strange message in the echo area after creating a new file
Date: Thu, 30 Jun 2011 21:25:01 +0300
> Date: Thu, 30 Jun 2011 18:12:51 +0200
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> 
> >From "emacs -Q", eval (find-file "<path-to-new-file>"), where
> <path-to-new-file> denotes the name (with path) of a nonexistent file
> (which we are creating right now).
> 
> After doing that, the echo area shows "#<buffer <path-to-new-file>>",
> but it should show "(New file)", as when you do the same interactively
> with C-x C-f.

Not a bug.  Evaluating an expression causes its value to be displayed
in the echo area.  find-file returns the buffer it creates, and that's
what you see.  Check out the section in the ELisp manual about the
buffer object reading syntax.

The "(New file)" message gets overwritten by that, but you can still
find it in the *Messages* buffer.

I'm closing this bug.




Message #14 received at 8966-done <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8966-done <at> debbugs.gnu.org
Subject: Re: bug#8966: 24.0.50; Strange message in the echo area after
	creating a new file
Date: Thu, 30 Jun 2011 20:58:49 +0200
Thanks.  Sorry for the noise.


-- 
Dani Moncayo

Mental note: Learn a bit more about Emacs Lisp before submitting such
bug reports.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Jul 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 332 days ago.

Previous Next


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