GNU bug report logs - #77628
[PATCH] ; Fix `elisp-eldoc-funcall-with-docstring' when fn has no docstring.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Tue, 8 Apr 2025 05:08:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77628: closed ([PATCH] ; Fix `elisp-eldoc-funcall-with-docstring'
 when fn has no docstring.)
Date: Sun, 13 Apr 2025 10:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 13 Apr 2025 13:05:02 +0300
with message-id <86tt6sjs1d.fsf <at> gnu.org>
and subject line Re: bug#77628: [PATCH] ; Fix `elisp-eldoc-funcall-with-docstring' when fn has no docstring.
has caused the debbugs.gnu.org bug report #77628,
regarding [PATCH] ; Fix `elisp-eldoc-funcall-with-docstring' when fn has no docstring.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77628: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77628
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] ; Fix `elisp-eldoc-funcall-with-docstring' when fn has no
 docstring.
Date: Mon, 07 Apr 2025 23:06:45 -0600
Tags: patch

This patch makes `elisp-eldoc-funcall-with-docstring' handle functions
without a docstring and limit docstring to 1000 characters.

-- 
                                          - E.G via GNU Emacs and Org.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 77628-done <at> debbugs.gnu.org
Subject: Re: bug#77628: [PATCH] ; Fix `elisp-eldoc-funcall-with-docstring'
 when fn has no docstring.
Date: Sun, 13 Apr 2025 13:05:02 +0300
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Cc: 77628 <at> debbugs.gnu.org
> Date: Sat, 12 Apr 2025 12:23:06 -0600
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> >> Date: Mon, 07 Apr 2025 23:08:18 -0600
> >> 
> >> * lisp/progmodes/elisp-mode.el (elisp-eldoc-funcall-with-docstring):
> >> Add "Undocumented" as docstring if the function as no docstring,
> >> and limit docstring length to 1000 characters.  (bug#)
> >
> > Thanks, but should 1000 be hard-coded, or should we perhaps have a
> > variable for it?
> 
> I've added a variable for limit both
> `elisp-eldoc-funcall-with-docstring' and
> `elisp-eldoc-var-docstring-with-value'.
> 
> `elisp-eldoc-var-docstring-with-value' also set a limit.

Thanks, installed with a few minor corrections.


This bug report was last modified 93 days ago.

Previous Next


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