GNU bug report logs - #48063
28.0.50: apropos-value{,-internal}: suppress false positives

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Tue, 27 Apr 2021 15:18:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 48063 in the body.
You can then email your comments to 48063 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#48063; Package emacs. (Tue, 27 Apr 2021 15:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 27 Apr 2021 15:18:02 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: 28.0.50: apropos-value{,-internal}: suppress false positives
Date: Tue, 27 Apr 2021 11:17:27 -0400
[Message part 1 (text/plain, inline)]
Function apropos-value will always return false positive, some of which
entail printing out very long variable value strings. The attached patch
apropos-value.patch fixes those cases. The second patch just changes
what seems to be an indentation bug in the function.

The cases of false positives are:

+ variables reflecting the apropos request itself
  + (car minibuffer-history)
  + (car command-history)

+ variables internal to apropos:
  + apropos--current
  + apropos-pattern-quoted
  + pattern



--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
[apropos-value.patch (text/x-diff, attachment)]
[apropos-value-indent-change.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48063; Package emacs. (Sun, 02 May 2021 08:24:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 48063 <at> debbugs.gnu.org
Subject: Re: bug#48063: 28.0.50: apropos-value{,-internal}: suppress false
 positives
Date: Sun, 02 May 2021 10:23:12 +0200
Boruch Baum <boruch_baum <at> gmx.com> writes:

> Function apropos-value will always return false positive, some of which
> entail printing out very long variable value strings. The attached patch
> apropos-value.patch fixes those cases. The second patch just changes
> what seems to be an indentation bug in the function.

Thanks; applied to Emacs 28.  (This makes the command a lot more
useful -- these false positives have always annoyed me.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 02 May 2021 08:24:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 48063 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 02 May 2021 08:24:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48063; Package emacs. (Sun, 02 May 2021 12:23:01 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 48063 <at> debbugs.gnu.org
Subject: Re: bug#48063: 28.0.50: apropos-value{,-internal}: suppress false
 positives
Date: Sun, 2 May 2021 08:22:40 -0400
On 2021-05-02 10:23, Lars Ingebrigtsen wrote:
> Boruch Baum <boruch_baum <at> gmx.com> writes:
>
> > Function apropos-value will always return false positive, some of which
> > entail printing out very long variable value strings. The attached patch
> > apropos-value.patch fixes those cases. The second patch just changes
> > what seems to be an indentation bug in the function.
>
> Thanks; applied to Emacs 28.  (This makes the command a lot more
> useful -- these false positives have always annoyed me.)

Great!

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 31 May 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 14 days ago.

Previous Next


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