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


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Shynur Xie <one.last.kiss <at> outlook.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, "64351 <at> debbugs.gnu.org" <64351 <at> debbugs.gnu.org>
Subject: bug#64351: probabe bug associated with “completion-regexp-list”
Date: Fri, 30 Jun 2023 16:27:34 +0200
On Jun 30 2023, Shynur Xie wrote:

> 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”,

Interactive completion runs before the function is called, inside
call-interactively.  You need to advice the interactive spec.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




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.