GNU bug report logs -
#63432
30.0.50; Handle current-prefix-arg in async-shell-command
Previous Next
Reported by: Gabriel <gabriel376 <at> hotmail.com>
Date: Wed, 10 May 2023 23:10:02 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: gabriel376 <at> hotmail.com, Stefan Monnier <monnier <at> iro.umontreal.ca>,
> 63432 <at> debbugs.gnu.org
> Date: Mon, 15 May 2023 20:17:00 +0300
>
> > Btw, I've noticed that the ERROR-BUFFER argument is ignored by
> > async-shell-command, and OUTPUT-BUFFER is not documented. So I've now
> > fixed the doc string to correct these deficiencies.
> >
> > (I wonder why was ERROR-BUFFER at all provided in this function in the
> > first place, since the underlying shell-command cannot support it.
> > Maybe we should have an advertised-calling-convention there which
> > excludes it?)
>
> Keeping the same function signatures for shell-command and async-shell-command
> would allow to implement the error-buffer support for the latter in future.
That's fine, but then it would have been better to mention this in a
comment. Because otherwise it just looks like a copy-pasta error
(after one wastes some time to figure out that it is basically
unused).
This bug report was last modified 2 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.