[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Word completion in text modes
From: |
Eshel Yaron |
Subject: |
Re: Word completion in text modes |
Date: |
Tue, 21 Nov 2023 14:45:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Eshel Yaron <me@eshelyaron.com>
>> Cc: emacs-devel@gnu.org
>> Date: Sat, 18 Nov 2023 20:03:45 +0100
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > ...We could make the old UI an opt-in behavior, but tossing it
>> > altogether is not something I'd welcome.
>>
>> I think we mostly agree then, because I didn't suggest tossing the old
>> UI anywhere. To opt-in to the old behavior, you'd say:
>>
>> (keymap-set text-mode-map "C-M-i" #'ispell-complete-word)
>>
>> That seems to me like a simple enough tip for users that we could appear
>> in a NEWS entry. Does that sound reasonable?
>
> I'd prefer a solution that didn't require key bindings. Something
> like a user option.
That'd indeed be more convenient for some users, I suppose.
I'm attaching below a patch that facilitates using `completion-at-point`
in Text mode instead of `ispell-complete-word` by default. Other than
the somewhat awkward name of the user option that restores the binding,
I'm pretty happy with this patch as it brings about the three benefits I
outlined in my original message in this thread. WDYT?
0001-Unbind-C-M-i-in-Text-mode.patch
Description: Text Data
- Word completion in text modes, Eshel Yaron, 2023/11/18
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/18
- Re: Word completion in text modes, Eshel Yaron, 2023/11/18
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/18
- Re: Word completion in text modes, Eshel Yaron, 2023/11/18
- RE: [External] : Re: Word completion in text modes, Drew Adams, 2023/11/18
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/18
- Re: Word completion in text modes, Eshel Yaron, 2023/11/18
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/18
- Re: Word completion in text modes,
Eshel Yaron <=
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/25
- Re: Word completion in text modes, Eshel Yaron, 2023/11/25
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/25
- Re: Word completion in text modes, Eshel Yaron, 2023/11/25
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/26
- Re: Word completion in text modes, Eshel Yaron, 2023/11/26
- Re: Word completion in text modes, Eli Zaretskii, 2023/11/26
RE: [External] : Re: Word completion in text modes, Drew Adams, 2023/11/18
Re: Word completion in text modes, Juri Linkov, 2023/11/18