unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Word completion in text modes
@ 2023-11-18 12:03 Eshel Yaron
  2023-11-18 12:39 ` Eli Zaretskii
  2023-11-18 18:33 ` Juri Linkov
  0 siblings, 2 replies; 20+ messages in thread
From: Eshel Yaron @ 2023-11-18 12:03 UTC (permalink / raw)
  To: emacs-devel

Hi Emacs,

I wonder how people here feel about updating `text-mode` to have it (and
its derivatives) use `completion-at-point` for word completion instead
of `ispell-complete-word`.  That'd be accompanied by a new
`ispell-completion-at-point` function that `text-mode` adds to
`completion-at-point-functions` so word completion still works OOTB,
just using a different interface.

I can see several advantages to making such a change:

1. Word completion would benefit from UI customizations and
   other enhancements that users have in place for `completion-at-point`.
2. `completion-preview-mode` and any other feature that leverages
   `completion-at-point-functions` would work for word completion as well.
3. Emacs would be slightly more consistent and simple all in all.

The main downside of this idea is that people who prefer the interface
that `ispell-complete-word` provides would need to rebind it to `C-M-i`
or some other key themselves.  Since this command has been around for a
very long time, I can imagine that some users may have grown fond of it.

So I have a WIP patch that adds `ispell-completion-at-point` (similar to
the one proposed in Bug#52743, but slightly enhanced) and updates
`text-mode` to use it.  If that sounds sensible and people are not that
attached to the `ispell-complete-word` interface for word completion,
I'll add some documentation updates and submit that patch for review.


Thanks,

Eshel



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-11-26 11:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-18 12:03 Word completion in text modes Eshel Yaron
2023-11-18 12:39 ` Eli Zaretskii
2023-11-18 13:21   ` Eshel Yaron
2023-11-18 13:50     ` Eli Zaretskii
2023-11-18 15:53       ` Eshel Yaron
2023-11-18 16:03         ` [External] : " Drew Adams
2023-11-18 16:37         ` Eli Zaretskii
2023-11-18 19:03           ` Eshel Yaron
2023-11-18 19:18             ` Eli Zaretskii
2023-11-21 13:45               ` Eshel Yaron
2023-11-25 10:40                 ` Eli Zaretskii
2023-11-25 12:11                   ` Eshel Yaron
2023-11-25 12:33                     ` Eli Zaretskii
2023-11-25 13:00                       ` Eshel Yaron
2023-11-26 10:31                         ` Eli Zaretskii
2023-11-26 11:03                           ` Eshel Yaron
2023-11-26 11:23                             ` Eli Zaretskii
2023-11-18 16:05   ` [External] : " Drew Adams
2023-11-18 16:55     ` Juergen Fenn
2023-11-18 18:33 ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).