GNU bug report logs - #64351
probabe bug associated with “completion-regexp-list”

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Thu, 29 Jun 2023 18:59:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Shynur Xie <one.last.kiss <at> outlook.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "64351 <at> debbugs.gnu.org" <64351 <at> debbugs.gnu.org>
Subject: Re: bug#64351: probabe bug associated with “completion-regexp-list”
Date: Fri, 30 Jun 2023 14:17:59 +0000
Hi Eli, there’s another issue about “completion-regexp-list”.

I launched Emacs with “-Q” and evaluate:

    (advice-add 'describe-variable :around ;“C-h v”
                (lambda (advice-added-function &rest arguments)
                  (let ((completion-regexp-list '("^\\([^-]*$\\|\\([^-]+\\(-[^-]+\\)-?\\)\\)$")))
                    (apply advice-added-function arguments))))

to filter out symbols “*--*”.

Then type “C-h v advice TAB”, I can still see some variables whose names are
“*--*” (e.g., “advice--bytecodes”).  Though “string-match-p” says that
name doesn’t match:

    ELISP> (string-match-p "^\\([^-]*$\\|\\([^-]+\\(-[^-]+\\)-?\\)\\)$" "advice--bytecodes")
    nil

____________________

Emacs 28.2 on MS-Windows



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

Previous Next


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