GNU bug report logs -
#79219
[PATCH] Insert * on TAB with completion-pcm-leading-wildcard=t
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Tags: patch
Improve completion-pcm-leading-wildcard by actually inserting
a * when try-completion runs. completion-pcm--merge-try will
automatically remove the wildcard anywhere that it has no
matches, so the * is inserted only where it actually had an
effect.
This makes the behavior more explicit and consistent, and
improves performance in the case where completion-styles is
configured such that we first do partial-completion with
completion-pcm-leading-wildcard=nil, and then fall back to
completion-pcm-leading-wildcard=t: explicitly inserting the *
avoids the need to fallback.
My site has been running with this patch for 4 months now and it's
worked fine. In my experience it's very useful.
In GNU Emacs 30.1.90 (build 14, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.15.12, Xaw scroll bars) of 2025-08-11 built on
igm-qws-u22796a
Repository revision: 2828c98aa29c66798fcb3fa67ccc3ed706024340
Repository branch: emacs-30
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 8.10 (Green Obsidian)
Configured using:
'configure --with-x-toolkit=lucid --without-gpm --without-gconf
--without-gsettings --without-selinux --without-imagemagick
--with-modules --with-gif=no --with-cairo --with-rsvg
--without-compress-install --with-tree-sitter
--with-native-compilation=aot
PKG_CONFIG_PATH=/usr/local/home/garnish/libtree-sitter/0.22.6-1/lib/pkgconfig/'
[0001-Insert-on-TAB-with-completion-pcm-leading-wildcard-t.patch (text/patch, attachment)]
This bug report was last modified 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.