all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Phil Sainty <psainty@orcon.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: Adding streams for standard out and standard err
Date: Fri, 22 Jul 2016 16:42:18 +0100	[thread overview]
Message-ID: <87lh0tvfvp.fsf@russet.org.uk> (raw)
In-Reply-To: <57923230.9090608@orcon.net.nz> (Phil Sainty's message of "Sat, 23 Jul 2016 02:48:16 +1200")

Phil Sainty <psainty@orcon.net.nz> writes:

> I'm all for a more obvious way to write to stderr (albeit more for
> batch uses in my case).
>
> In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17390 it was pointed
> out to me that a PRINTCHARFUN function for stderr already exists --
> `external-debugging-output' defined in print.c
>
> I failed to follow up on that, but at the time I was thinking that
> it would be nice to have a `standard-error' variable set to this
> function, just like there's a `standard-output' variable, as it
> would be dramatically more discoverable that way.
>
> As `external-debugging-output' hadn't already cropped up in this
> discussion, I just wanted to point it out in case it wasn't known
> to everyone.


Well, there you go, never knew about that. And, except for the name, and
the fact that it gets whitespace correct, it's identical to my stderr.

I think my name is better, but open to differences of opinion.

So, options:

1) drop my patch
2) accept my patch, make external-debbugging-output use stderr (or vice
versa), to keep the name alive.

Don't really mind. I have no use case that differentiates between stderr
and stdout.

Phil







      reply	other threads:[~2016-07-22 15:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20 22:48 Adding streams for standard out and standard err Phillip Lord
2016-07-21  7:12 ` Andreas Schwab
2016-07-21 18:42   ` Phillip Lord
2016-07-25  7:35     ` Andreas Schwab
2016-07-21 14:21 ` Eli Zaretskii
2016-07-21 14:40   ` Paul Eggert
2016-07-21 15:02     ` Eli Zaretskii
2016-07-21 19:01       ` Phillip Lord
2016-07-21 18:52   ` Phillip Lord
2016-07-21 19:11     ` Eli Zaretskii
2016-07-21 20:13       ` Phillip Lord
2016-07-22  6:50         ` Eli Zaretskii
2016-07-22 15:43           ` Phillip Lord
2016-07-21 22:15     ` Davis Herring
2016-08-02 23:35   ` John Wiegley
2016-07-22 14:48 ` Phil Sainty
2016-07-22 15:42   ` Phillip Lord [this message]

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

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

  git send-email \
    --in-reply-to=87lh0tvfvp.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=psainty@orcon.net.nz \
    /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 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.