Am 23.01.2014 16:18 schrieb "Stefan Monnier" : > > > And as things stand, this behaviour just makes it very hard and > > inconvenient to write meaningful non-interactive Emacs Lisp programs. > > Indeed support for batch programs written in Elisp has historically been > very poor. After all the --script argument was introduced relatively > recently, and before that you pretty much couldn't write a real "batch > Elisp program". > > But do note that if write-region is changed to only output the message > when called interactively, it will also solve your problem. So it might > very well be that checking `noninteractive', while solving your > immediate problem, is not The Right answer. Well, I'm just stating the problem, and suggest one solution. Finding The Right one seems to be your job really :-) > > > Stefan