[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives
From: |
Andreas Schwab |
Subject: |
bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error |
Date: |
Thu, 12 Oct 2017 16:02:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
On Okt 12 2017, Kaushal Modi <kaushal.modi@gmail.com> wrote:
> OK, but it seems non-standard compared to error messages from Elisp land.
>
> Shouldn't
>
> (file-error Non-regular file Is a directory /home/kmodi/.emacs.d/foo)
>
> look like:
>
> file-error: Non-regular file: /home/kmodi/.emacs.d/foo is a directory
>
> - Why those parentheses?
> - Why are "N" and "I" capitalized in-between that "sentence".. error
> messages are usually sentences without ending in period, right?
> - Above instead looks like a list printed with 3 elements.
No, it contains 4 elements:
- the error symbol (file-error)
- a descriptive string ("Non-regular file")
- the system error as a string ("Is a directory")
- the offending object ("/home/kmodi/.emacs.d/foo")
> Also, the error is not-informative.. the user is trying to trash foo/ and
> knows that foo/ is a directory.. so how would
copy-file does not support copying non-regular files.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, (continued)
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/11
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/11
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Eli Zaretskii, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Eli Zaretskii, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error,
Andreas Schwab <=
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Eli Zaretskii, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Andreas Schwab, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Paul Eggert, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/12
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Paul Eggert, 2017/10/15
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Kaushal Modi, 2017/10/15
- bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error, Noam Postavsky, 2017/10/15