GNU bug report logs - #67138
[PATCH] ; Fix 'add-face-text-property' shortdoc

Previous Next

Package: emacs;

Reported by: Eshel Yaron <me <at> eshelyaron.com>

Date: Sun, 12 Nov 2023 20:51:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67138 in the body.
You can then email your comments to 67138 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67138; Package emacs. (Sun, 12 Nov 2023 20:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eshel Yaron <me <at> eshelyaron.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 12 Nov 2023 20:51:02 GMT) Full text and rfc822 format available.

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

From: Eshel Yaron <me <at> eshelyaron.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] ; Fix 'add-face-text-property' shortdoc
Date: Sun, 12 Nov 2023 21:49:24 +0100
[Message part 1 (text/plain, inline)]
Tags: patch

Hi,

This fixes an omission in shortdoc.el that causes the following to emit
an error instead of showing the *Help* buffer:

1. emacs -Q
2. (add-hook 'help-fns-describe-function-functions
             #'shortdoc-help-fns-examples-function)
3. C-h f add-face-text-property RET
4. Emacs says "Wrong type argument: prop-match, nil"


[0001-Fix-add-face-text-property-shortdoc.patch (text/patch, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 14 Nov 2023 14:13:02 GMT) Full text and rfc822 format available.

Notification sent to Eshel Yaron <me <at> eshelyaron.com>:
bug acknowledged by developer. (Tue, 14 Nov 2023 14:13:02 GMT) Full text and rfc822 format available.

Message #10 received at 67138-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eshel Yaron <me <at> eshelyaron.com>
Cc: 67138-done <at> debbugs.gnu.org
Subject: Re: bug#67138: [PATCH] ; Fix 'add-face-text-property' shortdoc
Date: Tue, 14 Nov 2023 16:11:56 +0200
> Date: Sun, 12 Nov 2023 21:49:24 +0100
> From:  Eshel Yaron via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> This fixes an omission in shortdoc.el that causes the following to emit
> an error instead of showing the *Help* buffer:
> 
> 1. emacs -Q
> 2. (add-hook 'help-fns-describe-function-functions
>              #'shortdoc-help-fns-examples-function)
> 3. C-h f add-face-text-property RET
> 4. Emacs says "Wrong type argument: prop-match, nil"

It also shows the example if one just does "C-h f" without any hooks.

Thanks, installed on the emacs-29 branch, and closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Dec 2023 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 149 days ago.

Previous Next


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