GNU bug report logs - #39015
`isearch-complete1' should use `completion-at-point' or `completion-in-region'

Previous Next

Package: emacs;

Reported by: Alexander Shukaev <emacs <at> Alexander.Shukaev.name>

Date: Tue, 7 Jan 2020 16:20:01 UTC

Severity: minor

Full log


View this message in rfc822 format

From: Alexander Shukaev <emacs <at> Alexander.Shukaev.name>
To: 39015 <at> debbugs.gnu.org
Subject: bug#39015: `isearch-complete1' should use `completion-at-point' or `completion-in-region'
Date: Tue, 7 Jan 2020 17:19:29 +0100
Not sure why in the first place `isearch-complete1' uses some custom 
auto-completion implementation that is different from a conventional 
solution, perhaps historical reasons.  Thus, I believe that reusing 
either `completion-at-point' or `completion-in-region' to implement that 
functionality is much better in the long run.  This would also allow 
packages, which customize completion behavior, to hook into `isearch' 
auto-completion as well.  See also [1] for example.

[1] https://github.com/abo-abo/swiper/issues/1882




This bug report was last modified 5 years and 148 days ago.

Previous Next


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