GNU bug report logs - #26395
25.1; ses.el git master, inhibit-quit on some cell evaluations

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Sat, 8 Apr 2017 02:10:01 UTC

Severity: normal

Found in version 25.1

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Cc: Vincent Belaïche <vincentb1 <at> users.sourceforge.net>, 26395 <at> debbugs.gnu.org
Subject: bug#26395: 25.1; ses.el git master, inhibit-quit on some cell evaluations
Date: Fri, 26 Jul 2019 11:57:17 +0200
Kevin Ryde <user42_kevin <at> yahoo.com.au> writes:

> In debian packaged emacs 25.1 but git head ses.el, it seems cell
> evaluations sometimes run with inhibit-quit.  For example, initial entry
>
>     emacs -Q /tmp/foo.ses
>     Ret                           # enter formula
>     inhibit-quit Ret              # the formula
>     =>
>     displays t
>
> I hoped no inhibit-quit while running formulas (and thought there wasn't
> previously), as protection against slow or accidentally infinite forms.
>
> I noticed this in my stock charting program where I communicate with a
> database sub-process by accept-process-input, and that func doesn't run
> under inhibit-quit.  I could with-local-quit and bail out in a sensible
> way, but perhaps there's not meant to be inhibit-quit anyway.

Yes, ses.el binds inhibit-quit all over the place, presumably out of an
overabundance of caution (not wanting to mess up the display).  But it
shouldn't do that while computing the formulas, you'd think.

I've Cc'd the maintainer; perhaps he can weigh in here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 6 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.