all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4398: 23.1.50; Reading dangling symbolic link gives misleading message
@ 2009-09-11  0:51 Ulrich Neumerkel
  2011-07-12 23:26 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Neumerkel @ 2009-09-11  0:51 UTC (permalink / raw)
  To: emacs-pretest-bug

--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 emacs-pretest-bug@gnu.org 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.





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

* bug#4398: 23.1.50; Reading dangling symbolic link gives misleading message
  2009-09-11  0:51 bug#4398: 23.1.50; Reading dangling symbolic link gives misleading message Ulrich Neumerkel
@ 2011-07-12 23:26 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-12 23:26 UTC (permalink / raw)
  To: Ulrich Neumerkel; +Cc: 4398

Ulrich Neumerkel <ulrich@complang.tuwien.ac.at> writes:

> 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".

I've now fixed this in Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

end of thread, other threads:[~2011-07-12 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11  0:51 bug#4398: 23.1.50; Reading dangling symbolic link gives misleading message Ulrich Neumerkel
2011-07-12 23:26 ` Lars Magne Ingebrigtsen

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.