unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Krzysztof Żelechowski" <giecrilj@stegny.2a.pl>
Cc: 68732@debbugs.gnu.org
Subject: bug#68732: 29.1; shell-command-default-error-buffer is not interactive
Date: Fri, 26 Jan 2024 18:19:19 +0200	[thread overview]
Message-ID: <86il3g9iew.fsf@gnu.org> (raw)
In-Reply-To: <170dfb3d-21c9-4992-8933-c840f89e91d0@email.android.com> (message from Krzysztof Żelechowski on Fri, 26 Jan 2024 16:16:21 +0100)

> Date: Fri, 26 Jan 2024 16:16:21 +0100
> From: Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
> Cc: 68732@debbugs.gnu.org
> 
> The point is, the function shell-command does not use this variable because it only affects interactive
> use.  So indeed, writing a command that invokes shell-command is an option, but it does make a use
> case for the existence of this variable.
> 
> My POV is splitting standard output and standard error (maybe on demand) is a basic usability
> requirement and should not require writing custom commands.
> 
> The problem is not with using setq by users, it is with getting non-developers to write and execute
> Lisp scripts to accomplish basic tasks, including scripts that just invoke setq.  The latter obviously is
> not a problem when you are a scientist, but I imagine that the front end would be much cleaner if
> operable cleanly without scripting (again, this concept limited to basic tasks obviously).

We cannot possibly make every variable a defcustom, just because
someone somewhere will need to set a variable while not being a
programmer, can we?

So, while I understand your motivation, it still doesn't convince me
to make the variable a user option.  Splitting stdout and stderr might
be a basic usability requirement in your eyes, but IME users rarely
send stderr to a separate place, which is why this variable is not a
defcustom.





  reply	other threads:[~2024-01-26 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26 11:04 bug#68732: 29.1; shell-command-default-error-buffer is not interactive Christopher Yeleighton
2024-01-26 12:38 ` Eli Zaretskii
2024-01-26 14:23   ` Krzysztof Żelechowski
2024-01-26 14:41     ` Eli Zaretskii
2024-01-26 15:16       ` Krzysztof Żelechowski
2024-01-26 16:19         ` Eli Zaretskii [this message]
2024-01-26 17:14           ` Krzysztof Żelechowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86il3g9iew.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68732@debbugs.gnu.org \
    --cc=giecrilj@stegny.2a.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).