[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Really noninteractive
From: |
dick . r . chiang |
Subject: |
Re: Really noninteractive |
Date: |
Thu, 20 Feb 2020 14:11:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (gnu/linux) |
LI> Yes, but that's not what I want. :-) I want to say "this function call,
LI> in this otherwise totally normal Emacs, should not prompt".
Okay, so you've established that `noninteractive` only diverts "normal emacs"
to call `read_minibuf_noninteractive()` which in turn attempts to get input
from stdin, which as we all know by now, *you do not want*.
It's not clear what else you expect from us apart from some hackey function
advising to signal instead of calling `read_minibuf_noninteractive()`.
I am inclined to go with GP's shunting of stdin to /dev/null to avoid having
to change the C code. Most well behaved server daemons will do that... shunt
stdin to /dev/null I mean.
Re: Really noninteractive, Ihor Radchenko, 2020/02/20