From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?0JjQstCw0L0g0KE=?= Newsgroups: gmane.emacs.devel Subject: RE: Better alternative to completing-read-multiple Date: Mon, 22 Apr 2024 01:16:16 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35601"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 87o7a59hks.fsf@gmail.com, emacs-devel@gnu.org To: ichernyshovvv@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 22 07:20:40 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 1rym6a-00097e-NG for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Apr 2024 07:20:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rym5q-0000B6-VC; Mon, 22 Apr 2024 01:19:54 -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 1ryfUx-0004of-TN for emacs-devel@gnu.org; Sun, 21 Apr 2024 18:17:23 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryfUw-0003FD-Ar for emacs-devel@gnu.org; Sun, 21 Apr 2024 18:17:23 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2dd6a7ae2dcso8864581fa.1 for ; Sun, 21 Apr 2024 15:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713737838; x=1714342638; darn=gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=88TM0Hl8Pnh3ugJOMhI9GaHuGQi/ybVTniJ2hzxMz7w=; b=aZkTt6gnPC2i172AzdxuLnZr/DtEOGT1dZ2aqiy0DAeRAQ+TQ1HN/8BDPSOueTmMBG JGNVEbngp6MxUdyelRi3H48x0SkjrUGvlLATZz2vIGLMgmZCHavptm7KNoVac/nLUHJb m7CqRqRK4xAcbQ1Vy5ckvqo+4Yb/u4bJbUU0lotgw/qs8mxqhZYsAMDDhbqB1G6Jz020 sCGbELGrQKAII3sj5F+ifQnWn+D8zDCiTWnDoy1tB0fnmhhBLfKqXFxEX1gtM8tmnvP1 AyuA7XnCMxZmluAJBxFKC8p3aZ6lUflc91AEOz5G9j6F5/XMZjrOTv9VWNf4wDZTW5HH rUkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713737838; x=1714342638; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=88TM0Hl8Pnh3ugJOMhI9GaHuGQi/ybVTniJ2hzxMz7w=; b=XTMQARY1A2+fHReX2gM0sWK0EwVpGCsZPnb+yT0RJdwEtaG+dnwUYE/Ml2IgJYGl39 NbliwMAFv+FB+DRgGl08GU1LmbTFskx4MNnmUiCe1pS2Wd5ndDVTGbOftCRrmoQ6RZIR +0H7rBTw1hukd/gOedeLqRB30hoP/47YZ23uFWZNZH9AN4SAIstBYgVCv1HkIOfEytcT PHr07v+NfUaJcAIkpsOqns11+kI+o5PDmbM1xY/sCz7aMZq0RbnvAuFlbtRP2KeXewTK hE21E+wrHs48b1NcxafJiTAqHpE2v1+9/Qkw2Cm1domvRTe9BZKhSW2ISC8khZzJV6Oy mt2g== X-Forwarded-Encrypted: i=1; AJvYcCVexRwYJYIlMZUIPwo6kBzcR2F4jvH/WIFgWQnk6s5yOC2GuaDqIa2l7ELSZgeo9f8bhpqsOJZ1erMARu/O1NBl77In X-Gm-Message-State: AOJu0YwYvQ50DKN4af78HXX2/tMf1FoiYcG8dOD7SeW3qRlSsU+PcsSQ 7zapXfm/ZxQaVFgdMJhV26XGCI2KEbkpaNAz41lhZgoX+nKkzlq4+Q7b5k5zVZUYXiCHhAbuBjW /OniQT7oSTpA9M4UztQ0tWJiktgqrCQ== X-Google-Smtp-Source: AGHT+IFTH25UU79hTrGXx/ALxUfT4fTpstgjwfDVPpL0k5EV8N8cmobiI0F/X63ODt9yY2gPnu0LLXmBQgbQM2+Ys3M= X-Received: by 2002:a05:6512:4012:b0:51a:ff87:bae with SMTP id br18-20020a056512401200b0051aff870baemr3571587lfb.7.1713737838108; Sun, 21 Apr 2024 15:17:18 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=hutenbergg@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 Apr 2024 01:19:53 -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:317946 Archived-At: There is nothing wrong with completing-read-multiple. completing-read is for reading *strings*, and completing-read-multiple is a wrapper that allows you to narrow the completion to *the portion of the string* after the specified regex. I don't think your solution is general enough to justify its adoption right now.