all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13159: 24.3.50; `find-file-noselect' should not display or log messages
@ 2012-12-12 18:46 Drew Adams
  2012-12-12 23:16 ` Juri Linkov
  2012-12-13 17:27 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Drew Adams @ 2012-12-12 18:46 UTC (permalink / raw)
  To: 13159

I'm using `find-file-noselect', and I see this in *Messages*:
 
 Note: file is write protected
 
First, that is not helpful at all, without saying WHICH file is
write-protected.
 
More importantly, why does it make sense to display or record
such a message when the file is not visited interactively?
 
This message comes from `after-find-file'.  And there are umpteen
additional such messages issued from this function.  The call to
`after-find-file' is in `find-file-noselect-1'.
 
I see that this is nothing new - it is the case even in Emacs 20.
Nevertheless, I do not understand why `find-file-noselect' would issue
messages.
 
If you decide to keep this behavior, please consider adding the file
name to such a message.  At least that way, a user can learn something
from the *Messages* log.
 
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2012-12-07 on MS-W7-DANI
Bzr revision: 111150 eggert@cs.ucla.edu-20121207175317-wxhrqxpp0173whq0
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src
 -Ic:/emacs/libs/libpng-1.2.37-lib/include -Ic:/emacs/libs/zlib-1.2.5
 -Ic:/emacs/libs/giflib-4.1.4-1-lib/include
 -Ic:/emacs/libs/jpeg-6b-4-lib/include
 -Ic:/emacs/libs/tiff-3.8.2-1-lib/include
 -Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2
 -Ic:/emacs/libs/gnutls-3.0.9-w32-bin/include
 -Ic:/emacs/libs/libiconv-1.9.2-1-lib/include'
 






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-13 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 18:46 bug#13159: 24.3.50; `find-file-noselect' should not display or log messages Drew Adams
2012-12-12 23:16 ` Juri Linkov
2012-12-12 23:31   ` Drew Adams
2012-12-13 17:27 ` Eli Zaretskii
2012-12-13 17:46   ` Drew Adams
2012-12-13 18:08     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.