From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: akater Newsgroups: gmane.emacs.devel Subject: Suggestion: Show candidates list immediately in completing-read-multiple Date: Thu, 23 Apr 2020 16:49:52 +0000 Message-ID: <877dy6ywnj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26018"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 23 18:59:26 2020 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 1jRfC9-0006ez-9M for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Apr 2020 18:59:25 +0200 Original-Received: from localhost ([::1]:60034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRfC7-0005fL-CH for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Apr 2020 12:59:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42746) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRfBa-0004z3-Ix for emacs-devel@gnu.org; Thu, 23 Apr 2020 12:58:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRfBZ-0008SL-Jw for emacs-devel@gnu.org; Thu, 23 Apr 2020 12:58:50 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:36790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRfBZ-0008Px-50 for emacs-devel@gnu.org; Thu, 23 Apr 2020 12:58:49 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id d15so6072064wrx.3 for ; Thu, 23 Apr 2020 09:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=2zaA2Ipn/qxhw+Bn2J9tHR1gYCqO7XehK3y8W7iU1uk=; b=E18C271lqDKcTqMrGNZTnZ2JoTw3BkGxqr2/Pi6usX3x58yuZQLOBFDU1BxA86GhUC JkuqgSiL/SW/sH9FUpAQbfOcxVanm1mdHcgWr4+1r43aSbZoaplLt0bVvIvUBV4RUkwu 1sQPT78d2B31BGA1nwakF0zAmZHU5r/WR5095gxztoQ4BX813t4QlWCwcpeTQgBxrSrx Umwl8+UAnKl1I/lzwF0TL8oGws7d/Txd7vV231facvW/BSbGo9cRnlpBDMUhS5pXjJbl 63J5MvqI5HipJa97wLf7bQm0/UPB8dHZsiAOrmdZTzIkKDPRgtygq7FFQxetECmBXhhX I7VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=2zaA2Ipn/qxhw+Bn2J9tHR1gYCqO7XehK3y8W7iU1uk=; b=LnhBVPUAQbTOXfb+FoRO+lyUjRio01vza23riAmXHHNfzBKCeXKTXVmQsIDkQI5Fm2 nAgWvuieNYZcZpyDQk/AngtSRrWpIaYeRjF4k95bS8X9gka/05FlTJ5UcTzyuptd8dKB Y8Y4VQPU+WBhxfP3O8aWnef36G7nb5m9Oz5uqAcQzuoF0K5Paf18IIRYVBPwqBqGGbv8 HQDL1VEI/iVCR/4Qq06jNKZBHj7KIEHsvIbkg7Gsq0qR36DH3wzeaucBHSJ79I7Usx6u BjAQlmjHgqyiwe1zWgD2B4Y8eh8s8yJqf40gL5TACmUejn+nL5QrIvylrlxL4BvLvpsx 1AeQ== X-Gm-Message-State: AGi0Pua2QHuWCmOkAkY0BE6jaCjRQ1WCJZ1EZ5uBg5dfNPKrrHmN9Bnx BuYkvjJ0zs8MVbIOBp9a5pvzhBv3 X-Google-Smtp-Source: APiQypLxxa6QrcoBhe5fOuwr5gDjb8qrcFc257vCu6F6Qg2Ds+7reZjmEHH02EZcvzdNGD2tLTLKsA== X-Received: by 2002:adf:f2c5:: with SMTP id d5mr5525034wrp.285.1587661126567; Thu, 23 Apr 2020 09:58:46 -0700 (PDT) Original-Received: from localhost ([185.220.101.214]) by smtp.googlemail.com with ESMTPSA id k184sm4496117wmf.9.2020.04.23.09.58.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 09:58:46 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=nuclearspace@gmail.com; helo=mail-wr1-x432.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::432 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:247599 Archived-At: With completing-read, completion candidates appear immediately. With crm, user has to press TAB for candidates to appear. I find this inconsistent and suggest to make the list of candidates appear immediately in completing-read-multiple. To give an example, the following change in Org-mode #+begin_src diff --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -4774,8 +4774,11 @@ (nth (1- arg) kwds)))) (when (equal arg '(4)) (setq org-select-this-todo-keyword - (completing-read "Keyword (or KWD1|K2D2|...): " - (mapcar #'list kwds) nil nil))) + (mapconcat #'identity + (completing-read-multiple + "Keyword (or KWD1|KWD2|...): " + (mapcar #'list kwds) nil nil) + "|"))) (and (equal 0 arg) (setq org-select-this-todo-keyword nil)) (org-compile-prefix-format 'todo) (org-set-sorting-strategy 'todo) #+end_src makes it necessary to hit TAB where one didn't have to. I think the change is reasonable but I'd rather suggest to apply the patch if it didn't alter the user experience as described.