[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] icomplete-vertical
From: |
Stefan Kangas |
Subject: |
Re: [PATCH] icomplete-vertical |
Date: |
Mon, 5 Apr 2021 18:08:02 -0700 |
Gregory Heytings <gregory@heytings.org> writes:
>> Why is this a patch that uses advice and hook instead of a user option
>> that changes the behaviour of icomplete directly?
>
> Because it's the simplest / cleanest way to do it. It's a kind of derived
> minor mode.
Advice is not entirely unproblematic though, so the recommendation is
usually to avoid them in libraries for use by others. Even more so in
Emacs itself, I think.
See the ELisp Manual sections `(elisp) Advising Named Functions' and
`(elisp) Coding Conventions'.
- [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/05
- Re: [PATCH] icomplete-vertical, Philip Kaludercic, 2021/04/05
- Re: [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/05
- Re: [PATCH] icomplete-vertical,
Stefan Kangas <=
- Re: [PATCH] icomplete-vertical, Eli Zaretskii, 2021/04/05
- Re: [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/06
- Re: [PATCH] icomplete-vertical, Philip Kaludercic, 2021/04/06
- Re: [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/06
- Re: [PATCH] icomplete-vertical, Philip Kaludercic, 2021/04/06
- Re: [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/06
- Re: [PATCH] icomplete-vertical, Stefan Monnier, 2021/04/06
- Re: [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/06
- Re: [PATCH] icomplete-vertical, Stefan Monnier, 2021/04/06
- Re: [PATCH] icomplete-vertical, Gregory Heytings, 2021/04/06