unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Spencer Baugh <sbaugh@janestreet.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 69ec333eab0: Allow customizing partial-completion to be more like substring
Date: Tue, 24 Sep 2024 15:53:54 +0300	[thread overview]
Message-ID: <86ed59dxgd.fsf@gnu.org> (raw)
In-Reply-To: <CAO=BR8M24ryXxpdXQLYrkeMi39qnUPC1DAewwxOt6T9aEsuNjA@mail.gmail.com> (message from Spencer Baugh on Tue, 24 Sep 2024 07:32:22 -0400)

> 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.



      reply	other threads:[~2024-09-24 12:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172449136475.5211.17507793835510648935@vcs2.savannah.gnu.org>
     [not found] ` <20240824092245.2C0C9C41F06@vcs2.savannah.gnu.org>
2024-08-24 10:15   ` master 69ec333eab0: Allow customizing partial-completion to be more like substring Michael Albinus
2024-08-31  9:30     ` Eli Zaretskii
2024-09-06 17:23       ` Spencer Baugh via Emacs development discussions.
2024-09-14  8:47         ` Eli Zaretskii
2024-09-21  9:57           ` Eli Zaretskii
2024-09-23 19:36             ` Spencer Baugh
2024-09-24 11:22               ` Eli Zaretskii
2024-09-24 11:32                 ` Spencer Baugh
2024-09-24 12:53                   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ed59dxgd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sbaugh@janestreet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).