bug#4398: 23.1.50; Reading dangling symbolic link gives misleading message

Ulrich Neumerkel <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
--text follows this line--

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email protected] mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Create a symbolic link to a nonexistent file.
M-!  ln -s /nowhere/thatfile /tmp

Try to find-file dangling link:

C-x C-f /tmp/thatfile

Now I get a request for confirmation  [Confirm]
After confirming, I get as message

File exists, but cannot be read

Expected: A more specific message like: "dangling link".

Some messages are already informative, like
"file-truename: Apparent cycle of symbolic links for /tmp/circular"

In GNU Emacs 23.1.50.2 (i686-pc-linux-gnu, X toolkit)
 of 2009-09-10 on gupu2
Windowing system distributor `The X.Org Foundation', version 11.0.10603000
configured using `configure  '--without-toolkit-scroll-bars' '--prefix' '/opt/gupu/emacs-git''

Recent input:
M-! l n SPC - s SPC / n o w h e r e / t h a t f i l 
e SPC / t m p <return> C-x C-f / t m p / t h <tab> 
<return> <return> M-x r e p o r t <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
(Shell command succeeded with no output)
File exists, but cannot be read

Load-path shadows:
None found.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.