bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64351: probabe bug associated with “completion-regexp-list”


From: Andreas Schwab
Subject: bug#64351: probabe bug associated with “completion-regexp-list”
Date: Fri, 30 Jun 2023 16:27:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]