[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function
From: |
Stefan Monnier |
Subject: |
Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function |
Date: |
Mon, 13 Jun 2022 12:37:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen [2022-06-13 14:12:32] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Look at the code that is run when (functionp
>> minibuffer-completion-confirm) is nil, and you'll see there's a lot more
>> to do than that if you want to reproduce the behavior faithfully.
>
> Yeah, those are the subtleties of the completion machinery that I'm sure
> I don't understand. :-)
And in order not to have to understand them, you should move this code
out into its own function and call it in the same way that
`minibuffer-completion-confirm` is called (such that
`minibuffer-completion-confirm` can simply call this function to
reproduce that default behavior).
Stefan
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Stefan Monnier, 2022/06/10
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Lars Ingebrigtsen, 2022/06/11
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Stefan Monnier, 2022/06/11
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Lars Ingebrigtsen, 2022/06/11
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Stefan Monnier, 2022/06/11
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Lars Ingebrigtsen, 2022/06/12
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Stefan Monnier, 2022/06/12
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Lars Ingebrigtsen, 2022/06/13
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function,
Stefan Monnier <=
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Lars Ingebrigtsen, 2022/06/14
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Stefan Monnier, 2022/06/14
- Re: master 49e06183f5 1/3: Allow REQUIRE-MATCH to be a function, Lars Ingebrigtsen, 2022/06/16