GNU bug report logs -
#30938
27.0; `dired-do-create-files' etc.: do NOT always raise error if no files
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 25 Mar 2018 16:37:01 UTC
Severity: minor
Found in version 27.0
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sun, 25 Mar 2018 09:36:08 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> The bug is that calls to `dired-get-marked-files' have been changed all
> over the place to systematically pass a non-nil value for optional arg
> ERROR. In general, this is completely inappropriate when the command
> invoking `dired-get-marked-files' is not called interactively.
>
> There is NO reason to suppose that a `user-error' occurred when a given
> command is invoked non-interactively.
>
> The logic behind this change is wrong - much too simplistic. A non-nil
> ERROR arg should perhaps be passed when called from some commands, but
> typically only when such a command is called interactively. Only then
> might Emacs legitimately assume (and even this is arguable, in general)
> that the user has committed an error.
Please provide at least one example (preferably more than one) of a
real-life use case where these changes get in the way.
This bug report was last modified 3 years and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.