GNU bug report logs - #61704
29.0.60; Crash in get_narrowed_begv

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Wed, 22 Feb 2023 12:23:01 UTC

Severity: normal

Found in version 29.0.60

Full log


Message #71 received at 61704 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, gregory <at> heytings.org, 61704 <at> debbugs.gnu.org
Subject: Re: bug#61704: 29.0.60; Crash in get_narrowed_begv
Date: Thu, 23 Feb 2023 16:27:28 +0100
> As a stopgap, how about adding something to the doc strings regarding
> the minimum "safe" values for these "min" variables?  Can you suggest
> such values?  They don't have to be the _absolute_ minima, just safe
> ones.

There are no such values.  These are Lisp constants and code or user
customizations that set their values or bind them are invalid.
Unfortunately, our tools are not strong enough to prevent that.  And a
doc-string that says

  This variable may be risky if used as a file-local variable.

is misleading at the very least.  Maybe we should emphasize in the
documentations the fact that these are constants.

These constants are here so that after we experience a crash with their
specified values, we can fix the code without having to update all their
occurrences.  And they serve in the documentation to say that the values
of the options 'window-min-width' and 'window-min-height' cannot be
effectively less.

martin




This bug report was last modified 2 years and 114 days ago.

Previous Next


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