[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 69ec333eab0: Allow customizing partial-completion to be more
From: |
Eli Zaretskii |
Subject: |
Re: master 69ec333eab0: Allow customizing partial-completion to be more like substring |
Date: |
Tue, 24 Sep 2024 15:53:54 +0300 |
> From: Spencer Baugh <sbaugh@janestreet.com>
> Date: Tue, 24 Sep 2024 07:32:22 -0400
> Cc: emacs-devel@gnu.org
>
> > I started writing documentation, but I came to the conclusion that most
> > users other than completion-styles should use the "group" widget
> > instead. And documenting single-or-list would encourage using it
> > instead of group, which I don't think is correct.
> >
> > Maybe this widget should just be moved to minibuffer.el?
> >
> > Alternatively, if there are any other customizable variables or values
> > in Emacs which are sometimes a single value, and sometimes a list, then
> > this widget would be useful for those. If we can think of any such
> > variables, then that would help justify the existence of single-or-list
> > (and I would convert their defcustoms to use single-or-list). That
> > would help in writing documentation about when exactly to use it.
>
> I'm not sure I understand: are you saying that your change to
> minibuffer.el can be rewritten to not use single-or-list? If so, I'm
> okay with that, and in that case we should simply remove
> single-or-list, until there are some users of it.
>
> No, it's still necessary for my changes in minibuffer.el. But I don't think
> it's useful outside that.
OK, then I think moving the widget to minibuffer.el is indeed enough.