GNU bug report logs -
#22622
24.5; ask-user-about-supersession-threat causes emacs -batch to hang
Previous Next
Reported by: Richard Sharman <richard.sharman <at> mitel.com>
Date: Wed, 10 Feb 2016 21:10:01 UTC
Severity: normal
Found in versions 24.5, 25.2
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Richard Sharman <richard.sharman <at> mitel.com>
> Date: Wed, 10 Feb 2016 18:27:30 +0000
> Cc: Richard Sharman <richard.sharman <at> mitel.com>
>
> I'm not sure if this is a bug or not.
>
> When running emacs -batch, if a function modifies a buffer and calls
> save-buffer and there is another emacs -batch also updating the same
> file, one of them can call ask-user-about-supersession-threat [in
> userlock.el].
>
> This causes the emacs process to hang because read-char-choice never
> returns. See traceback below.
>
> This happened when running make -j 6 and I changed the scenario to not
> happen, but I wondered if ask-user-about-supersession-threat should be
> act upon variable noninteractive.
>
> Perhaps one is supposed to supply a replacement for
> ask-user-about-supersession-threat if running emacs in batch mode?
Does anyone see a problem with automatically answering NO to that
question in batch mode?
This bug report was last modified 7 years and 123 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.