From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 69ec333eab0: Allow customizing partial-completion to be more like substring Date: Tue, 24 Sep 2024 15:53:54 +0300 Message-ID: <86ed59dxgd.fsf@gnu.org> References: <172449136475.5211.17507793835510648935@vcs2.savannah.gnu.org> <20240824092245.2C0C9C41F06@vcs2.savannah.gnu.org> <87frqu6xbe.fsf@gmx.de> <865xrhca52.fsf@gnu.org> <86seu2hb9t.fsf@gnu.org> <86bk0h49dl.fsf@gnu.org> <86wmj1e1p3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38872"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 24 14:54:21 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1st53c-0009uC-5f for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Sep 2024 14:54:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st53K-0002xs-80; Tue, 24 Sep 2024 08:54:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st53H-0002xX-JU for emacs-devel@gnu.org; Tue, 24 Sep 2024 08:54:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st53G-0007D5-TC; Tue, 24 Sep 2024 08:53:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0d46pOMuN86C7881z6+QS+YH5zbJufrayc6o5mHT9gs=; b=NkCFHwqSz+Vf 0yp/QlQklAiVa5nash8pwglX37MhGkddsrrhjyQi+1D1ziSo+ApHyWCt0SxLkZfQJdKejGFTEiVR/ 5JM/2c+oFp2KweIKiRVafmzt+AZDQcvlk8qJVP8G9ZXDw7YLw4q7GLTFojzp0+qNI/W89/oMeEndI 79xGE4ZIxaMIvipOWH/WKSu3rBdc+FgIqa3ZfnIBAVcCqVh+jn30qqxvpsgB3L5hX6QaQc520zlGF SWRJiNb7WjqX4+rZRI4TmfY7C7cYI34SQOi6z7/xct/jIZd86hkdT5Thsd9mgkqXSyQq1vCWv0bvB PGfxrsJdlzFFYALdwT2nQQ==; In-Reply-To: (message from Spencer Baugh on Tue, 24 Sep 2024 07:32:22 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324029 Archived-At: > From: Spencer Baugh > 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.