On 05/16/2016 08:37 AM, Phillip Lord wrote:
Michael Albinus <michael.albinus@gmx.de> writes:

phillip.lord@russet.org.uk (Phillip Lord) writes:

You don't by any chance remember why viper mode appears to turns itself
off in noninteractive mode? Turns out to be rather painful for testing.
You could embed your test code like this:

(let (noninteractive)
  (run-your-tests))

Yeah, been doing that. Ugly, though, it's not necessary.

The only reason I can think is for people who do lots of "--batch" jobs
and don't want viper to interfere. But, it shouldn't, really, and my
guess is that most people do "emacs --batch -q -l blah.el" for this use.

Phil

If you point me to the piece of code where this is done I'll try to recollect why this is done.
My first thought is that it might have something to do with VI-style keyboard macros.

--

       --- michael