GNU bug report logs -
#47784
27.2: ses-header-row [PATCH INCLUDED]
Previous Next
Reported by: Boruch Baum <boruch_baum <at> gmx.com>
Date: Thu, 15 Apr 2021 03:32:02 UTC
Severity: normal
Tags: fixed, patch
Found in version 27.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 47784 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 14 Apr 2021 23:31:47 -0400
> From: Boruch Baum <boruch_baum <at> gmx.com>
>
> Two patch files are attached.
>
> + ses-header-row.patch
>
> + Function `ses-set-header-row' was determining the current row based
> upon variable `ses--curcell', but that variable is NIL until one
> begins an operation on a cell (eg. keybindings '=', '"'), so
> navigating to a row was insufficient to select that row, and further
> generated an ERROR because the code was not expecting a NIL value for
> variable `ses--curcell'
>
> + Using function `user-error' instead of `error' doesn't spawn a
> debug session and backtrace buffer when variable
> `toggle-debug-on-error' is set.
>
> + ses-user-error.patch
>
> + Quasi-randomly replaces some calls to function `error' with
> `user-error'.
>
> + There could be many other desirable points of replacement, but these
> were some obvious ones, and without knowing whether the patch would
> be accepted at all, it's what I invested.
Thanks, but I don't think I understand the rationale for the second
patch. What is the problem with signaling an error in those two
places?
This bug report was last modified 4 years and 75 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.