Tags: patch There are a few bugs with completion-pcm-try-completion not returning text whose case matches the completions, even when the case is identical between all the completions. I added some tests covering them. Ultimately, these bugs are nicely fixed by an improvement to Ftry_completion; the removed conditional (and its associated comment) in Ftry_completion didn't actually improve behavior, but instead made case behavior worse. I believe the bad behavior which this conditional was originally attempting to stop was removed at some point by other enhancements to Ftry_completion's completion-ignore-case behavior, so the conditional isn't necessary anymore. In GNU Emacs 30.1.90 (build 43, x86_64-pc-linux-gnu, X toolkit, cairo version 1.15.12, Xaw scroll bars) of 2025-09-03 built on igm-qws-u22796a Repository revision: 8a831d9c110ea4dd349444de8f99d7cee10c5273 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-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/'