[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing to STDOUT from elisp
From: |
Eli Zaretskii |
Subject: |
Re: Writing to STDOUT from elisp |
Date: |
Thu, 10 Jul 2014 18:03:53 +0300 |
> Date: Wed, 9 Jul 2014 22:40:09 -0700
> From: Craig Muth <address@hidden>
> Cc: Andreas Schwab <address@hidden>, "Stephen J. Turnbull" <address@hidden>,
> address@hidden,
> Mathias Dahl <address@hidden>
>
> > If you want to do this in an interactive session
>
> Yes, in an interactive session.
>
> > please tell what
> > exactly are you trying to do and why. For example, is this only
> > needed when you exit Emacs
>
> Doing it when exiting emacs would work.
Then one way of doing this is call kill-emacs with a non-nil argument,
then wrap Emacs in a shell script that would do whatever you want
depending on the Emacs exit code.
Of course, submitting (trivial) patches for adding a command to write
to stdout would probably be welcome as well. But please note that
sometimes Emacs is invoked with stdout redirected to some obscure
file, or even with stdout being closed/invalid.
- Re: Writing to STDOUT from elisp, (continued)
- Re: Writing to STDOUT from elisp, Eli Zaretskii, 2014/07/08
- Re: Writing to STDOUT from elisp, Andreas Schwab, 2014/07/08
- Re: Writing to STDOUT from elisp, Craig Muth, 2014/07/09
- Re: Writing to STDOUT from elisp, Eli Zaretskii, 2014/07/08
- Re: Writing to STDOUT from elisp, Eli Zaretskii, 2014/07/09
- Re: Writing to STDOUT from elisp, Craig Muth, 2014/07/10
- Re: Writing to STDOUT from elisp,
Eli Zaretskii <=
- Re: Writing to STDOUT from elisp, Lennart Borgman, 2014/07/10
- Re: Writing to STDOUT from elisp, Craig Muth, 2014/07/10
- Re: Writing to STDOUT from elisp, Thien-Thi Nguyen, 2014/07/11
- Re: Writing to STDOUT from elisp, Johan Bockgård, 2014/07/10
- Re: Writing to STDOUT from elisp, Eli Zaretskii, 2014/07/10
- Re: Writing to STDOUT from elisp, Johan Bockgård, 2014/07/10