GNU bug report logs - #52969
Shortdoc "string" group leads to backtrace

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Sun, 2 Jan 2022 23:10:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: 52969 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#52969: Shortdoc "string" group leads to backtrace
Date: Mon, 3 Jan 2022 02:34:20 -0500
Stefan Kangas <stefan <at> marxist.se> writes:

> On master, emacs -Q:
>
>     M-x shortdoc-display-group RET string RET
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   split-string(nil "\n")
>   shortdoc--display-function((truncate-string-to-width :eval

We get nil here because on master, after emacs -Q:

    (documentation 'rx)
    => nil

Whereas on the emacs-28 branch:

    (documentation 'rx)
    => "Translate regular expressions REGEXPS ..."

Bisecting points to this commit:

    59732a83c8875c8986d2221600d559a24d8309cc is the first bad commit
    commit 59732a83c8875c8986d2221600d559a24d8309cc
    Author: Stefan Monnier <monnier <at> iro.umontreal.ca>
    Date:   Thu Dec 30 23:17:45 2021 -0500

        Don't store docstrings of preloaded .el files in etc/DOC

This always works, even with that commit:

    (progn (rx "foo")
           (documentation 'rx))
    => "Translate regular expressions REGEXPS ..."




This bug report was last modified 3 years and 140 days ago.

Previous Next


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