emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inhibit "Wrote foo" from write-region


From: Stefan Monnier
Subject: Re: Inhibit "Wrote foo" from write-region
Date: Thu, 23 Jan 2014 10:18:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]