From unknown Sat Aug 16 12:44:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57163 <57163@debbugs.gnu.org> To: bug#57163 <57163@debbugs.gnu.org> Subject: Status: completing-read not allow cycling of the options by default Reply-To: bug#57163 <57163@debbugs.gnu.org> Date: Sat, 16 Aug 2025 19:44:01 +0000 retitle 57163 completing-read not allow cycling of the options by default reassign 57163 emacs submitter 57163 uzibalqa severity 57163 normal tag 57163 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 18:14:55 2022 Received: (at submit) by debbugs.gnu.org; 12 Aug 2022 22:14:55 +0000 Received: from localhost ([127.0.0.1]:59141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMcvf-0008Lb-3p for submit@debbugs.gnu.org; Fri, 12 Aug 2022 18:14:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:51716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMcvd-0008LU-K3 for submit@debbugs.gnu.org; Fri, 12 Aug 2022 18:14:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMcvd-0003Sq-Fa for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 18:14:53 -0400 Received: from mail-4324.protonmail.ch ([185.70.43.24]:60009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMcvZ-0001VN-Rc for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 18:14:52 -0400 Date: Fri, 12 Aug 2022 22:14:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=3b6wd6hypjhvdcytver2dnvu7u.protonmail; t=1660342484; x=1660601684; bh=+Bfftr97qbCPPBbiT4AmwtmDFQDf67Tv2Dr0MytIZug=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=SJYmJyGf6Vr2TfjU8puaetI0nZplHIGQCiMV28Fi0HgdIyzVMKw/8fVkuH5NrtRh+ RZxW98BSQ1EtEbeB9SsPq8AEV6EQXqHRZnZaA3ikxrzfzbwdsepAPPoPgIc8FVhJKT ngqjh0u7/ayKb/jb/aRwNt5qLePzzBDI0n/yGVhBIroUwSHW9ezusTceA6577TnABM z5w6S1lHf3cl3MOkxHHKYHYlk4prhCfRc21EfhVxQYs+uWSlpCuOqIbJZT2nLz7bmG ATdz/Z8qNtFrQs/alH7DlfGp+dQGXK/q+CAcW4PlKaR3209U9PO+4CAG7B5XtZOqFH lZSxNls28p5Tg== To: "bug-gnu-emacs@gnu.org" From: uzibalqa Subject: completing-read not allow cycling of the options by default Message-ID: Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_bUq9NNy8FEk34TkZmPoH4mjTyWABp4XkArRogSio" Received-SPF: pass client-ip=185.70.43.24; envelope-from=uzibalqa@proton.me; helo=mail-4324.protonmail.ch 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_bUq9NNy8FEk34TkZmPoH4mjTyWABp4XkArRogSio Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 V2h5IGlzIGl0IHRoYXQgdGhpbmdzIGxpa2UgY29tcGxldGluZy1yZWFkIG5vdCBhbGxvdyBjeWNs aW5nIG9mIHRoZSBvcHRpb25zIGJ5IGRlZmF1bHQ/IEVzcGVjaWFsbHkgZm9yIG5ldyB1c2VyLCBu b3QgaGF2aW5nIHRoZSBhYmlsaXR5IHRvIGN5Y2xlIGJ5IGRlZmF1bHQgaXMgYSB0ZXJyaWJsZSBw bGFuLA== --b1_bUq9NNy8FEk34TkZmPoH4mjTyWABp4XkArRogSio Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsOyBmb250LXNpemU6IDE0cHg7Ij48YnI+PC9k aXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsOyBmb250LXNpemU6IDE0cHg7Ij5XaHkg aXMgaXQgdGhhdCB0aGluZ3MgbGlrZSBjb21wbGV0aW5nLXJlYWQgbm90IGFsbG93IGN5Y2xpbmcg b2YgdGhlIG9wdGlvbnMgYnkgZGVmYXVsdD8mbmJzcDsgRXNwZWNpYWxseSBmb3IgbmV3IHVzZXIs IG5vdCBoYXZpbmcgdGhlIGFiaWxpdHkgdG8gY3ljbGUgYnkgZGVmYXVsdCBpcyBhIHRlcnJpYmxl IHBsYW4sPGJyPjwvZGl2PjxkaXYgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcmlhbDsgZm9udC1zaXpl OiAxNHB4OyI+PGJyPjwvZGl2Pjxicj4= --b1_bUq9NNy8FEk34TkZmPoH4mjTyWABp4XkArRogSio-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 00:53:17 2022 Received: (at submit) by debbugs.gnu.org; 13 Aug 2022 04:53:17 +0000 Received: from localhost ([127.0.0.1]:59379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMj96-0001LT-VD for submit@debbugs.gnu.org; Sat, 13 Aug 2022 00:53:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:36818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMj95-0001LM-3C for submit@debbugs.gnu.org; Sat, 13 Aug 2022 00:53:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMj94-00031z-8N for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 00:53:10 -0400 Received: from mout.web.de ([212.227.15.4]:45683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMj8z-0007GR-Fi for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 00:53:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1660366375; bh=pOHG7CQcI+hAXLPHYYLZ89+ewIaRCpho/qnvgSYFoEE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=I3Z55qpqmEkiFI+4k+Y4lANfywS/Zm+kIZQFHIelBum/VUswlJJk+2ulmT5Dz0CX5 xSLph5m68/lcRCt6m4XapuRUayHydzbpsj1C0cD/+khL1IzMA/gLTRcf5aP2r0IGIN 5LqTLczdlgED+fjzmv4oDBOLW1024VLaundzhw7E= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.57.248.18]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M6YNJ-1oKGJ42uPx-006jAe; Sat, 13 Aug 2022 06:52:55 +0200 From: Michael Heerdegen To: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#57163: completing-read not allow cycling of the options by default In-Reply-To: (uzibalqa via's message of "Fri, 12 Aug 2022 22:14:30 +0000") References: Date: Sat, 13 Aug 2022 06:52:54 +0200 Message-ID: <8735e0pwwp.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:3mEcu69OqqsBT7o8d9p5bNNp86uZzEzfZduSHpxMlYr0Lx1uYwN zJnmL1HWy0eJhQ8Wr5BJXvKFj6CXHXgWrYqd4zK+Adhm1/KDw3xADSsUZMEMfkFH8X0M87g EFuR6iX54a2dB4CrQcSyF2bRszj9mWeOfYkDhwf11c+FIqIh4MZIAkpNxP0GjEnmLbRYSpQ yW6DudqN3R9htaNcQZInA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:TH6wqXDdjwg=:2Sfdr9STK6UrlmVoT+EAN+ L6DI+Xh+X2DCYNsxgZrZRD1VS3esTxBDMPtiaCwvJbmzsFb/nQEFjormBB2M5FoMaI1aSZsrD cbik4sS9DKhfLe9I4Eo5uA2AqfgrWOhTTUVhyaHyw1iBYACQcgWy5Zhe2ZW1MP/hQIE3lJKTp HAhPfjYOrbPRSHNrQI0PGbZOjmqx66V/P5jCVn/M1o597PgS1KegCbpuxORp4dr8NQOSy6Ckp xNGaqwZlhJLH0iW8Waed4xLJo+ID4fL2E5WolKLI8uFSTjxBkkInjQiwv6ebx89hWa46glca6 /lk1pFHnJQNdPqXW7pfTBngq9l51+mJbMMx8SLrBprC6OBCHp7nMT+O3IsPMKvU4X8PrY+YIX Nxo7yRh1IuGF3HSQnS1OJ3EQKeOWUAzVieTPGhTspzHgJ+k294/mWK7ULQcI2lVhshigMgPVE Rb5sSbMCebKsySOUzykAXzwZLOqs3M3jnPmWWrq+F2lFxWXvI3si9wRhfpLzqfEycsOsAuVxN 2ToVFWzQUJrMbrbD23QcExblvUr8cOXVTzTN7xcusItPtpmAx5ERap0fQCJ69iYJiRkGRPKr9 MlCAitKLRZzVtdHs9k+LFxuq24fWKwwJJdXz8dEqSNw4VXy1OqAft1jTxj/ma9t8MCwAeJJz9 cgQU2sZpwQTus1iZyg+FB5otrqhE/bAStH6ahz055MMbKFUHUYBRledvIIBU3PSxDl9ppDt36 Esk76WgymA8qyXjK7nvse0JPELGtDmDBnnuw9mF26FdFQdXBH9eRfUOSU7y6Dy79GhnhPCrEu 1iRHPYYjg8ykE0wbe4UZCp0EUGE/f///90IKiYB2Unc1vL6mtgeBQAYoaQYM6Htcdyq7jYJBM c5bImb52oidPyVMeI9XNSeJWsbNkAOqkmcSbPpfXF7H4mlxEtEuKAIcECToaAG8RU4/uLKNus VohkIUXBZTmMJKyj65+0ikZzPypX88J2Ji8ecmx5jf4saNsDZ4fvqTmlK37niDM7plt2PPRxV 5cFonpBIQqS/j7navp4Kv9656sPlaHbU2tDYxl0iroJJKtO+OcVk963ySjhHRnvNiw+FjfGfv A86TtV1HeOwoHkET3tflDl3+2H2Imlqk1bEH5xZE92mGLMszo/HlavA0Q== Received-SPF: pass client-ip=212.227.15.4; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 57163@debbugs.gnu.org, uzibalqa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Why is it that things like completing-read not allow cycling of the > options by default? You mean the completion candidates? M- and M- do that (by default). Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 02:01:18 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 06:01:18 +0000 Received: from localhost ([127.0.0.1]:59434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMkD0-0003GJ-Fy for submit@debbugs.gnu.org; Sat, 13 Aug 2022 02:01:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMkCy-0003G5-US for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 02:01:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMkCt-0007rG-Ne; Sat, 13 Aug 2022 02:01:11 -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=25rJpDQWhj93TGY+r20i/hN2k1hBWUVKbY3hLLuXFzo=; b=LV6UqlUl+hHj bWPqaRttMXQNYJYvBZhjTc7sIozj51TmAHyoO+3QMokbRern4j7LtZjnPFP3H+X1M5PmK0daw8w+d RfaDkgZSmN5qzTm73T/Sj/pw//TFvUwgWCubnmhtza+ROKyBsiTit2LiZ7jBcn8l6DD/5OzKIZwhX Sg8rSYYaImoxnnvoQ+oPKqiGQyy7rb6eU/YP436qpaadMubbqm1ExJmpBsYaR6ps68La1EkQLIzD1 Tyrx2vl4Cn97aTJs5cYE2e4IHFSygOOeG249B63YXjSIp+Q20nQZxp1gCoXSYve3COgQ/KL3Lm+iQ f4+MQYHB9kbvLzPuDrL4Ag==; Received: from [87.69.77.57] (port=1369 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMkCq-0007gX-Cw; Sat, 13 Aug 2022 02:01:11 -0400 Date: Sat, 13 Aug 2022 09:01:06 +0300 Message-Id: <83o7won0m5.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <8735e0pwwp.fsf@web.de> (message from Michael Heerdegen on Sat, 13 Aug 2022 06:52:54 +0200) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <8735e0pwwp.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: 57163@debbugs.gnu.org, uzibalqa@proton.me X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: uzibalqa@proton.me > From: Michael Heerdegen > Date: Sat, 13 Aug 2022 06:52:54 +0200 > > uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > > > Why is it that things like completing-read not allow cycling of the > > options by default? > > You mean the completion candidates? M- and M- do that (by > default). As does repeatedly pressing TAB, right? Or maybe I don't understand what is meant by "cycling" in this context? An example of using completing-read and the lack of cycling would be appreciated. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 08:15:51 2022 Received: (at control) by debbugs.gnu.org; 13 Aug 2022 12:15:51 +0000 Received: from localhost ([127.0.0.1]:59923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMq3T-0002YL-3A for submit@debbugs.gnu.org; Sat, 13 Aug 2022 08:15:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMq3R-0002Y5-H0 for control@debbugs.gnu.org; Sat, 13 Aug 2022 08:15:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nYrrJ55QymtPkpvLylyJHeY8RM9mW/4huaTEmDmC7IU=; b=QWv7V5l/o7ZkOi8SdsOGlANZPK 2aFvHChYXv3DkUgFSIZAbuuYaUzuKQ+m1e0g6XVzSsJxuEmpgmblgqIvO9FUaeyX1gyfkXeOQ3lO9 YxXfAfIDNgpAt+443OSv9urDxEzzfV2Ck8YMsq6Jq7gaNsrMxOTZ7Cc3s/OyXJXwTTG0=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oMq3J-0007RF-TW for control@debbugs.gnu.org; Sat, 13 Aug 2022 14:15:43 +0200 Date: Sat, 13 Aug 2022 14:15:41 +0200 Message-Id: <87r11kibki.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57163 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 57163 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 57163 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 10:32:17 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 14:32:18 +0000 Received: from localhost ([127.0.0.1]:34830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMsBV-0000Yp-Jy for submit@debbugs.gnu.org; Sat, 13 Aug 2022 10:32:17 -0400 Received: from mail-40137.protonmail.ch ([185.70.40.137]:56679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMsBP-0000YK-C9 for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 10:32:12 -0400 Date: Sat, 13 Aug 2022 14:32:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660401125; x=1660660325; bh=IoinVsZAx4NYdTTYGseLUq06wfys5/w74VKkHdMeY5A=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=E4vFCKZGla20ZYyohRv3E89ATjGGhHvA1opEOc+HxpKUwGyaxZr4FTZVzzDEF3gmv VyUZpSG+yTeGdiqpw7iPuXUSsefhQz8vywQhFZN4+4qJNofz4gAftXP8pcZvO1u8ym hsNW54vJL492URe+P1SRxZYn3ITDyC4SMJjyu6j5xaQ8G8fZYzDTvveQpcr1oMrGDX VjsFafEZ9aKKgy/Y/PropMZj2Q4rdWE8kWOh7jB+ygy+ZNqZhs/pHkgp74bCf+eZad YdlED5hsaMnD+c8JA1I/R1v0jF58JGyuk4ORyfEVDW3Jc0TEnfDol18Omf/ewlZpUu lYRo3CxG4fSEA== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <83o7won0m5.fsf@gnu.org> References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: Michael Heerdegen , 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Saturday, August 13th, 2022 at 6:01 AM, Eli Zaretskii wro= te: > > Cc: uzibalqa@proton.me > > From: Michael Heerdegen michael_heerdegen@web.de > > Date: Sat, 13 Aug 2022 06:52:54 +0200 > > > > uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text > > editors" bug-gnu-emacs@gnu.org writes: > > > > > Why is it that things like completing-read not allow cycling of the > > > options by default? > > > > You mean the completion candidates? M- and M- do that (by > > default). > > > As does repeatedly pressing TAB, right? Or maybe I don't understand > what is meant by "cycling" in this context? An example of using > completing-read and the lack of cycling would be appreciated. Correct, TAB, M-, M- do not execute any functionality Consider the following function. Call the function with "M-x change-cursor= ". TAB produces "[Complete, but not unique]"; whilst "M-down" and "M-up" resul= t in [M-down is undefined] and [M-up is undefined]. (defun change-cursor (form) "Modify the cursor form." (interactive (list (let ( (cseq '("bar" "hbar" "hollow" "box")) ) (completing-read " Cursor: " cseq nil t "box")))) (pcase form ("bar" (set-default 'cursor-type 'bar) ("hbar" (set-default 'cursor-type 'hbar) ("hollow" (set-default 'cursor-type 'hollow) ("box" (set-default 'cursor-type 'box))) ) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 11:15:03 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 15:15:03 +0000 Received: from localhost ([127.0.0.1]:34881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMsqt-0003mM-0g for submit@debbugs.gnu.org; Sat, 13 Aug 2022 11:15:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMsqq-0003la-MT for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 11:15:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMsql-0003Ut-DL; Sat, 13 Aug 2022 11:14:55 -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=A6siUD0Pbjamn0wbuh5b/XVJGw5/nueEMtH8gflirJ0=; b=PAuj52V/loHe /JfORd7CHCvfwTIiOqbWc/9QdGTJ+y/ZF929ct9wsTf2MYid593OskxebE0hdW9zTol3/aS0RixC/ DsdXgCdmNn+3NaFLNxwx8YY5iYEuH9RzDR3RNPQTxAPuYWFxyeiJyKtSvHCjiI56jM6P/bJb7KG0A OYELJIEZB136ba7SxVL9vqw+WNgMDaSA2LKutvGYk0SOhs8mpZLR5+jG10yKt0cXzgaG8Sz4B/Cyt m4LRef+G9WR/6jLDeMPl01xz2qaXa0PWjvCJ5wTeRkc1iivq8P9CfJ0Fc2fncvJ0iIPVVuc/sLwva tu5uIhRjG0bbDgXfa2Vayw==; Received: from [87.69.77.57] (port=3252 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMsqk-0003gr-RI; Sat, 13 Aug 2022 11:14:55 -0400 Date: Sat, 13 Aug 2022 18:14:43 +0300 Message-Id: <834jygmazg.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Sat, 13 Aug 2022 14:32:02 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 13 Aug 2022 14:32:02 +0000 > From: uzibalqa > Cc: Michael Heerdegen , 57163@debbugs.gnu.org > > > > You mean the completion candidates? M- and M- do that (by > > > default). > > > As does repeatedly pressing TAB, right? Or maybe I don't understand > > what is meant by "cycling" in this context? An example of using > > completing-read and the lack of cycling would be appreciated. > > Correct, TAB, M-, M- do not execute any functionality They do here, see below. > Consider the following function. Call the function with "M-x change-cursor". > TAB produces "[Complete, but not unique]"; whilst "M-down" and "M-up" result > in [M-down is undefined] and [M-up is undefined]. > > (defun change-cursor (form) > "Modify the cursor form." > > (interactive > (list > (let ( (cseq '("bar" "hbar" "hollow" "box")) ) > (completing-read " Cursor: " cseq nil t "box")))) > > (pcase form > ("bar" > (set-default 'cursor-type 'bar) > ("hbar" > (set-default 'cursor-type 'hbar) > ("hollow" > (set-default 'cursor-type 'hollow) > ("box" > (set-default 'cursor-type 'box))) ) If I evaluate (let ( (cseq '("bar" "hbar" "hollow" "box")) ) (completing-read " Cursor: " cseq nil t "box")) then I can cycle through all the candidates with M-n and M-p. TAB doesn't do anything because the window showing the candidates is small and shows all of them at once. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 12:10:09 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 16:10:09 +0000 Received: from localhost ([127.0.0.1]:34938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMtiD-0005AX-Cm for submit@debbugs.gnu.org; Sat, 13 Aug 2022 12:10:09 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]:49073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMtiA-0005A3-KB for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 12:10:08 -0400 Date: Sat, 13 Aug 2022 16:09:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660407000; x=1660666200; bh=w+HlrFlb607BkF4tMWbAONEdn0uP4t/BEKKH0p44hQ8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=l8JOV/0laW+tVcH3zFGExH/dN/VOoZu3ZP3EDtUOH84PteucwhTPmF4Q2c9E/qDuo hyS2XAYD77Pt0+ZfKHJXbb7ResW1BkTA1t6Fx6JCrlNop6vCCTSaELZx+EdwQZbNkZ +fvQHBY8NcebuKpxV4F9KRRhz0uxgc8sarPeaYgJ9sLT421fdlFojFkR1Wi/u1siGY AqqQJPQuPenGsF9+yqtFxk4+7uwcO3k/c33tFSNb8eyPWZX6tRreCeaU9bxop8OokX VLMH8s5FmYugYSi8xtpXL680FRGop0jSoIG9BGZsykiNuUSL3RjhgdY9xV23TdcdD5 0Ndfs/jEwtUug== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <834jygmazg.fsf@gnu.org> References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Saturday, August 13th, 2022 at 3:14 PM, Eli Zaretskii wro= te: > > Date: Sat, 13 Aug 2022 14:32:02 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: Michael Heerdegen michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > > > You mean the completion candidates? M- and M- do that (by > > > > default). > > > > > As does repeatedly pressing TAB, right? Or maybe I don't understand > > > what is meant by "cycling" in this context? An example of using > > > completing-read and the lack of cycling would be appreciated. > > > > Correct, TAB, M-, M- do not execute any functionality > > > They do here, see below. > > > Consider the following function. Call the function with "M-x change-cur= sor". > > TAB produces "[Complete, but not unique]"; whilst "M-down" and "M-up" r= esult > > in [M-down is undefined] and [M-up is undefined]. > > > > (defun change-cursor (form) > > "Modify the cursor form." > > > > (interactive > > (list > > (let ( (cseq '("bar" "hbar" "hollow" "box")) ) > > (completing-read " Cursor: " cseq nil t "box")))) > > > > (pcase form > > ("bar" > > (set-default 'cursor-type 'bar) > > ("hbar" > > (set-default 'cursor-type 'hbar) > > ("hollow" > > (set-default 'cursor-type 'hollow) > > ("box" > > (set-default 'cursor-type 'box))) ) > > > If I evaluate > > (let ( (cseq '("bar" "hbar" "hollow" "box")) ) > (completing-read " Cursor: " cseq nil t "box")) > > then I can cycle through all the candidates with M-n and M-p. TAB > doesn't do anything because the window showing the candidates is small > and shows all of them at once. M-n and M-p work as you say. Have noticed that when one is using debug-on-= error, using M-n until the last option gives Debugger entered--Lisp error: (user-error "End of defaults; no next item") signal(user-error ("End of defaults; no next item")) user-error("End of defaults; no next item") After that, doing M-p gives [M-p is undefined] From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 13:22:20 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 17:22:20 +0000 Received: from localhost ([127.0.0.1]:35013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMuq4-0006zn-DQ for submit@debbugs.gnu.org; Sat, 13 Aug 2022 13:22:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMuq2-0006za-BX for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 13:22:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMupx-0004ZS-1R; Sat, 13 Aug 2022 13:22:13 -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=wVI+6j18isZvZpeEGl+FYLua7dWpHDZiD54Fe/8y0NM=; b=n8D0AdzCYOzz KnG4CA75dihlR2aVWLstv0Ce+szmUFSpF6rq4h1LPwSkysez4Ce03NeVP3n0FiAL1D52JGcJUsriT JZiGJAtaHzY53tnIQh3qlhf68HKCrWBXYHN2sthwFUHQv25jThWJm1+/RKkMASNfrSaKuPf6IBIL5 lx4cT9x4BjebD83Qmw/9wNkWfaAEIU/LbmkqnKqXljGf4XbytgtPJ7/RVQomcEijtYHRputZ3jCDK AO+2D/i3u3Nc4YrsWB5L1TjiTXxRZftqwLRBWkbNcUzXWZi2+UCX9dRMJbBkf7EKHQODl1NRWyoeH QRYXFb55gA2994IsGO+rYw==; Received: from [87.69.77.57] (port=3286 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMupw-0005lU-I7; Sat, 13 Aug 2022 13:22:12 -0400 Date: Sat, 13 Aug 2022 20:21:57 +0300 Message-Id: <83zgg8kqiy.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Sat, 13 Aug 2022 16:09:53 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 13 Aug 2022 16:09:53 +0000 > From: uzibalqa > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > M-n and M-p work as you say. Have noticed that when one is using debug-on-error, > using M-n until the last option gives > > Debugger entered--Lisp error: (user-error "End of defaults; no next item") > signal(user-error ("End of defaults; no next item")) > user-error("End of defaults; no next item") Well, don't set debug-on-error, then. > After that, doing M-p gives [M-p is undefined] Because you are in the debugger, in recursive-edit. Type C-] to exit that. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 14:15:45 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 18:15:45 +0000 Received: from localhost ([127.0.0.1]:35070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMvfk-0008J9-QD for submit@debbugs.gnu.org; Sat, 13 Aug 2022 14:15:45 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]:19383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMvfh-0008Iu-3w for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 14:15:43 -0400 Date: Sat, 13 Aug 2022 18:15:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660414535; x=1660673735; bh=E3GeYKfJQjoKF6mEpbPt2MRpa7MKKLDXI5xCyOnQgCE=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=CvT8AUsVep/PvtJ8roGn9AQGeeo83L/g/wUKTYTxhZxyFMr/ZpJ2plL9acPDCJrgn I2oK+t0XMFFhJOMPkQP4xCVZTI9jDTchdbllZJhyd0PGyeboX8BC0DPLsHvEqsiqTR fikEHQFX1mjqUvHVOaYg5fH8J5yzrQzuOQrMyqhA21HMx45Z0PtI3TzofRBowuzG8e 7GJlDXocUSI2URZIhgR+Dvkg5KY96h5BQauTmUni7TojLOqlYZ6Um8fBIRwoyn1z2d gCFsjvPNoQFw0ms35tL9aOb2EazCp+EhL1kK0EqRCKBmlI4+mgMbOACCmMfk52dyc+ xy6L5FiTKSYVQ== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <83zgg8kqiy.fsf@gnu.org> References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Saturday, August 13th, 2022 at 5:21 PM, Eli Zaretskii wro= te: > > Date: Sat, 13 Aug 2022 16:09:53 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > M-n and M-p work as you say. Have noticed that when one is using debug-= on-error, > > using M-n until the last option gives > > > > Debugger entered--Lisp error: (user-error "End of defaults; no next ite= m") > > signal(user-error ("End of defaults; no next item")) > > user-error("End of defaults; no next item") > > > Well, don't set debug-on-error, then. > > > After that, doing M-p gives [M-p is undefined] > > > Because you are in the debugger, in recursive-edit. Type C-] to exit > that. Should it be a user-error though? Is there any scheme to set another keybi= nding for `M-n` and `M-p` for things like completing-read? Being able to use [up= ] and [down] would be both convenient and intuitive (particularly people who use = packages like company-mode), but cannot see that completing-read could allow that. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 14:20:58 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 18:20:58 +0000 Received: from localhost ([127.0.0.1]:35075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMvko-0008Qk-JI for submit@debbugs.gnu.org; Sat, 13 Aug 2022 14:20:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMvkl-0008QW-AW for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 14:20:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMvkg-0004jm-3W; Sat, 13 Aug 2022 14:20:50 -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=SQQBY16ZxnciZ20B34SlgntkL9UE0h2ZqInQ+JYmKkQ=; b=n4Y9tSWhKs/M d/ufpahSoucEzuIXd34LjA/6fc9J/0WedHQU+1GtYknNhnF7zFoX37W0QDxqIC/vGNXL+29vLV3JW txK1xxmrMCkgok7e6n4JknpvPiAuZLQwHi+/rj0dUHdBb8CW6absKl7ikSRBIXGyjtpegrbLp3iW+ slt8PGH4DMSfEP2R0Zg/4OvvA4dT96DQHCgqq10zbYWhTo5ugQ6sj1GqddV5Ci1otomsxOQ7P3k98 F15kShVzA4NRyZRZmEZ3T1R9svnv7Gl2sDKD8g0bzsgKkyeNi93F4C9RGOlIrDZipx4qogsFq8pdc 7sn4xXeZS1PCDn3bVBecag==; Received: from [87.69.77.57] (port=2900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMvkf-0008Pc-JS; Sat, 13 Aug 2022 14:20:49 -0400 Date: Sat, 13 Aug 2022 21:20:33 +0300 Message-Id: <83tu6gknta.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Sat, 13 Aug 2022 18:15:26 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 13 Aug 2022 18:15:26 +0000 > From: uzibalqa > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > Debugger entered--Lisp error: (user-error "End of defaults; no next item") > > > signal(user-error ("End of defaults; no next item")) > > > user-error("End of defaults; no next item") > > > > > > Well, don't set debug-on-error, then. > > > > > After that, doing M-p gives [M-p is undefined] > > > > > > Because you are in the debugger, in recursive-edit. Type C-] to exit > > that. > > Should it be a user-error though? A low-level API such as completing-read has no business in deciding which errors are user-errors and which aren't. That's for the calling application to decide. > there any scheme to set another keybinding > for `M-n` and `M-p` for things like completing-read? Being able to use [up] and > [down] would be both convenient and intuitive (particularly people who use packages > like company-mode), but cannot see that completing-read could allow that. and arrow keys work here, they do the same as M-p and M-n. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 14:29:11 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 18:29:11 +0000 Received: from localhost ([127.0.0.1]:35085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMvsk-0000Be-TS for submit@debbugs.gnu.org; Sat, 13 Aug 2022 14:29:11 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:33149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMvsi-0000BE-Ji for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 14:29:09 -0400 Date: Sat, 13 Aug 2022 18:28:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660415342; x=1660674542; bh=awB5L/bbQfM41y27kAyGLQXesFzKDXPvQNsREKZEZIw=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=Ycx6r/7ebiW/MDh028L0vKQ2uhQ0IPR8Luz4Qbqssz4LtzV7xhm+UHUnJsQLi7gBR NbE9hiUdsUCNriDTqJf+KrSB2IquVvL9tU6A4+CFwtGqW1zBMriPb+0ppF1r1uu8CU G/x7aovUR2os1SLrOz2U3cICpcKUN6hOADIaoD64y6QWLwdc4OgRiGYxSjS/5hTx4a YnjZG4Q+Tg8Nf0WcOrTJGXll/56rmjChYNhBQ1VvptHkn7YVxt+0b/GQcL0vv5jKO6 BHzLq/vIV0DgicBXnHmLzTqdQIFBRcpXx2yWxHsV6f5to/QytuMtps+lk6Fbl7Kpp4 0/EuNz6Te64mQ== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <83tu6gknta.fsf@gnu.org> References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Saturday, August 13th, 2022 at 6:20 PM, Eli Zaretskii wro= te: > > Date: Sat, 13 Aug 2022 18:15:26 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > > > Debugger entered--Lisp error: (user-error "End of defaults; no next= item") > > > > signal(user-error ("End of defaults; no next item")) > > > > user-error("End of defaults; no next item") > > > > > > Well, don't set debug-on-error, then. > > > > > > > After that, doing M-p gives [M-p is undefined] > > > > > > Because you are in the debugger, in recursive-edit. Type C-] to exit > > > that. > > > > Should it be a user-error though? > > > A low-level API such as completing-read has no business in deciding > which errors are user-errors and which aren't. That's for the calling > application to decide. > > > there any scheme to set another keybinding > > for `M-n` and `M-p` for things like completing-read? Being able to use = [up] and > > [down] would be both convenient and intuitive (particularly people who = use packages > > like company-mode), but cannot see that completing-read could allow tha= t. > > > and arrow keys work here, they do the same as M-p and M-n. > Cannot see and arrow keys described in "8.1 Using the Minibuffe= r" or after that. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 14:46:33 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 18:46:33 +0000 Received: from localhost ([127.0.0.1]:35090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMw9V-0000b8-Kd for submit@debbugs.gnu.org; Sat, 13 Aug 2022 14:46:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMw9Q-0000as-Rq for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 14:46:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMw9K-0008Mc-Vp; Sat, 13 Aug 2022 14:46:19 -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=RwRZDR4z53MJEBWcOlLPFoie2tJArq+Rxz7vqsgPcj0=; b=Rot90NwSzBxv 66gPi9C2S9LiZntlvX9p4cU6j2WS6UI7dDqll/VKojZKtJz/zeAZL4tp9/J9/mHbxWjHlTFewBgnx IojhAW9DSvUp3JcLUMaI1FmbvZcxKCCmvRPR48JczFjVqe+8PwSnZPi+Ui3huRVYOgnai65ePUnfo p5ID3fa3Yd6Inm368Np+IUelegusAFrLz3iEF6446MvJUkFJnxDVf3JMEDXQuB5wLvsNyeB200Yxb t7cFh0DMOJesTv/v9XkM8j+tUuzQUT4eDmWLOnrDpJrJUaXnNbfZuEcGiEjLpX/MSvczRQX5TYauJ 99vUuju/bnL+kWlUEt99eg==; Received: from [87.69.77.57] (port=4451 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMw9K-00071v-Ev; Sat, 13 Aug 2022 14:46:18 -0400 Date: Sat, 13 Aug 2022 21:46:01 +0300 Message-Id: <83r11kkmmu.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Sat, 13 Aug 2022 18:28:52 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 13 Aug 2022 18:28:52 +0000 > From: uzibalqa > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > and arrow keys work here, they do the same as M-p and M-n. > > > > Cannot see and arrow keys described in "8.1 Using the Minibuffer" or after that. Wrong place. Look in "Minibuffer History". From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 15:32:03 2022 Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 19:32:03 +0000 Received: from localhost ([127.0.0.1]:35147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMwrb-0001lE-CA for submit@debbugs.gnu.org; Sat, 13 Aug 2022 15:32:03 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]:48993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMwrY-0001kd-RI for 57163@debbugs.gnu.org; Sat, 13 Aug 2022 15:32:01 -0400 Date: Sat, 13 Aug 2022 19:31:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660419113; x=1660678313; bh=y/6ej8rzLmGTQOG01N6ezwwkCUdjJTLC1N4Kkjcz7hE=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=mRQGneENIlomcGuY38fehVSjPjYBcRXSkDoyQ6SpPNF4gp+C2R9xMfS27cPBNqj5t TBypwzH05GzEUuJFeQIWafb0MrebLr8bStkb6P2w9IKmm8mMCsHoqTGOYsRSbVNG46 HKBYjQ33vSYkZ84dsoN5J0XwCTL7qYEVb2oTEcM4nV38E5Qv/eQv7AW+O+7+sLqeQ7 8zuzhwLbqmk9FfrRFJJCmozdhzcopvzmHup09LtQhjBwln2laILWkkbliTJAQ3ixGM KX2+GmSv7S0pF/JTwE4fyqCQ0YESH48MpKqu1rtYlQEDxUv3ojdoOF2OV1YbFHLvLv xJK35aX2ids0w== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <83r11kkmmu.fsf@gnu.org> References: <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Saturday, August 13th, 2022 at 6:46 PM, Eli Zaretskii wro= te: > > Date: Sat, 13 Aug 2022 18:28:52 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > > and arrow keys work here, they do the same as M-p and M-n= . > > > > Cannot see and arrow keys described in "8.1 Using the Minib= uffer" or after that. > > > Wrong place. Look in "Minibuffer History". I have a problem with that, because I cannot see how someone reading "Minib= uffer History" would associate those commands with moving through the options when using t= he minibuffer. For many users, information listing the key-associated commands that can be= employed when using the minibuffer, is more useful in the part "8.1 Using the Minibuffer", rath= er than finding it much much later and within the context of minibuffer history. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 01:56:26 2022 Received: (at 57163-done) by debbugs.gnu.org; 14 Aug 2022 05:56:26 +0000 Received: from localhost ([127.0.0.1]:35651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN6bp-00077k-LI for submit@debbugs.gnu.org; Sun, 14 Aug 2022 01:56:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN6bn-00077X-3a for 57163-done@debbugs.gnu.org; Sun, 14 Aug 2022 01:56:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN6be-0006DH-Fz; Sun, 14 Aug 2022 01:56:17 -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=oqDeIvmza8D7BSDY+7EDd/ZZZ7xCws0gKqtwddX1/m4=; b=j99gW42RKhHW ujwC6/HIfthy/g4Dbf8nLbKFbl0HzZGViNaCibwrsf0Yxj5KO/CClrLBzWTGrKtfsP7t34GKHcfAa NMj0oSGHv64RUWiRd7gk+nokmhT+lEt1BAs0iWstlJN5nWnn+/wZQMEH6Z1SDgMaKQ2vnMTSS92Yq yi0buXk0xz37P51Io48vtZwYe02ZD+uintKN5mDMv0qDPSwdAXHv4HXx0A2QlIVRb6zie1sM6tZx3 N9/ZgI1lA245JtW5HA9I8b6XJ7zv/Ub9drj6RnrGNsxUOpMGEdqSZ4A1tRIL+RKiRTh/zAcg2Dihf ZBJVODViUkiIciifiyYzxQ==; Received: from [87.69.77.57] (port=1401 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN6bV-0006MR-NS; Sun, 14 Aug 2022 01:56:13 -0400 Date: Sun, 14 Aug 2022 08:55:48 +0300 Message-Id: <83k07bl66z.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Sat, 13 Aug 2022 19:31:39 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163-done Cc: michael_heerdegen@web.de, 57163-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 13 Aug 2022 19:31:39 +0000 > From: uzibalqa > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > Cannot see and arrow keys described in "8.1 Using the Minibuffer" or after that. > > > > > > Wrong place. Look in "Minibuffer History". > > I have a problem with that, because I cannot see how someone reading "Minibuffer History" > would associate those commands with moving through the options when using the minibuffer. > > For many users, information listing the key-associated commands that can be employed when using > the minibuffer, is more useful in the part "8.1 Using the Minibuffer", rather than finding it much > much later and within the context of minibuffer history. Well, you are supposed to read the entire chapter, not just one section. Reading a single section is for those who know what they are after, and get to the section via the index entries. Anyway, I've now added an explicit reference to completion to the text in "Minibuffer History", and also added an index entry about walking through completion candidates, leading there. And with that, I'm closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 12:14:57 2022 Received: (at 57163-done) by debbugs.gnu.org; 14 Aug 2022 16:14:57 +0000 Received: from localhost ([127.0.0.1]:39598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGGO-00033w-Ko for submit@debbugs.gnu.org; Sun, 14 Aug 2022 12:14:56 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]:47731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGGL-00033f-Ho for 57163-done@debbugs.gnu.org; Sun, 14 Aug 2022 12:14:55 -0400 Date: Sun, 14 Aug 2022 16:14:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=vmico3vakvdzxmrvcuencsucou.protonmail; t=1660493687; x=1660752887; bh=GmHKrNaBOUyuCWluws9QF4Oq8oVyO1vPtbNUrfgp1nM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=e1xBY05IAKZ3SNcAv/nI/gxCI9gSebYQIh9pIKHJ/xuQ2huMTSe9XZzlYT/Xb2zz4 Sxkv7/xxjna/00juIHLsezEURd6JKIUV1a2SvxofABM2E003VT8wX/H2i3Ngf57JeG 8Wx7iFk32hQgpRXp0/zgt/Lbb2RqGociunr92Y32CXXVfEwpXrPH67LZMnQy5N6uSz n1MRyWvgycAlNxgF09Ix+isc+aNCxALgIb6dEHJu1+79suDTDmRrirkTmtAlqsH1Wp PIQYD2ZAehefn2yJGLMojUiGn8Oc3Sf4IC65Bnd6Vgg26KnyYDFxHNjh327JolNl7+ eEnC034B/ivSQ== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> In-Reply-To: <83k07bl66z.fsf@gnu.org> References: <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163-done Cc: michael_heerdegen@web.de, 57163-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Sunday, August 14th, 2022 at 5:55 AM, Eli Zaretskii wrote= : > > Date: Sat, 13 Aug 2022 19:31:39 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > > > Cannot see and arrow keys described in "8.1 Using the M= inibuffer" or after that. > > > > > > Wrong place. Look in "Minibuffer History". > > > > I have a problem with that, because I cannot see how someone reading "M= inibuffer History" > > would associate those commands with moving through the options when usi= ng the minibuffer. > > > > For many users, information listing the key-associated commands that ca= n be employed when using > > the minibuffer, is more useful in the part "8.1 Using the Minibuffer", = rather than finding it much > > much later and within the context of minibuffer history. > > > Well, you are supposed to read the entire chapter, not just one > section. Reading a single section is for those who know what they are > after, and get to the section via the index entries. Expecting the reading of entire chapters, and then having to associate commands under different headings to different functionalities is a failing strategy. > Anyway, I've now added an explicit reference to completion to the text > in "Minibuffer History", and also added an index entry about > walking through completion candidates, leading there. > And with that, I'm closing this bug report. > From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 12:18:50 2022 Received: (at 57163) by debbugs.gnu.org; 14 Aug 2022 16:18:50 +0000 Received: from localhost ([127.0.0.1]:39609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGKA-0003Ab-He for submit@debbugs.gnu.org; Sun, 14 Aug 2022 12:18:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGK8-0003AN-Jm for 57163@debbugs.gnu.org; Sun, 14 Aug 2022 12:18:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNGK3-0001s3-6p; Sun, 14 Aug 2022 12:18:43 -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=jS4Gc+NzCSBpZ5/RtiKXOjble/EFu+eX30S5GmzNFdA=; b=dCY1jb0TA0zz +zgFMa2oxcylze4HxibX/s5IB0XgSq0gQMocpq0a2B06klWO81pWNUXoYtrhSMMMrZG2jhpQWhTqL fvTA9UaiIt7Nvmpn6wurY+nXs6p4LaP76yoFRZiL9vJ68k2q/Zl2ZrpUHyWDkEWC8DlYRnwV5d7cH XiDs+S1OxBcHQ4Ks47NhfF/RBVyBez020+GCLnDIp6J8ZN+/+f7w+dkcHlKQs3W6ClOJ4mHlPejNj 62J0rqhUD7NCgfKnf0Ut2PKUQgmNiXesOttGdM6PFQ46z3ztw57vAaXx44fyqkzECzaalz9EYM/D4 v6i0L27ivca0oOgwkso/DA==; Received: from [87.69.77.57] (port=3859 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNGK0-0005IZ-Ip; Sun, 14 Aug 2022 12:18:43 -0400 Date: Sun, 14 Aug 2022 19:18:23 +0300 Message-Id: <83mtc6kddc.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> (message from uzibalqa on Sun, 14 Aug 2022 16:14:40 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 14 Aug 2022 16:14:40 +0000 > From: uzibalqa > Cc: michael_heerdegen@web.de, 57163-done@debbugs.gnu.org > > > Well, you are supposed to read the entire chapter, not just one > > section. Reading a single section is for those who know what they are > > after, and get to the section via the index entries. > > Expecting the reading of entire chapters, and then having to associate > commands under different headings to different functionalities is a failing > strategy. That's the recommended practice of learning about this subject when you are not familiar with it (as you seem to be). Reading single sections in this situation is not a very effective way of learning about this. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 12:34:56 2022 Received: (at 57163) by debbugs.gnu.org; 14 Aug 2022 16:34:56 +0000 Received: from localhost ([127.0.0.1]:39690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGZj-0005nn-Nm for submit@debbugs.gnu.org; Sun, 14 Aug 2022 12:34:56 -0400 Received: from mail-4318.protonmail.ch ([185.70.43.18]:19627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGZg-0005nQ-Go for 57163@debbugs.gnu.org; Sun, 14 Aug 2022 12:34:54 -0400 Date: Sun, 14 Aug 2022 16:34:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660494885; x=1660754085; bh=XwsgbUAurh6en1O/5xQT1sInLL6ayexiBlOa+wSaNlg=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=HiqZc7KlzwdXT5XhwNSJBXJ4+coM773RtsQA06SD+jHX4xRaFnoLaIOTN1cJnpBJD DVv2wVjbFCl/cuzYll8CEVbP4T29rdehIGRtz7X+sqsB0mt8DEETL4u8YoDdKcZ8df aOjvZD+ne7uNzWLsm/WvkDaWV56GQGkTHblCiQxDkoVShfJDTwvaSCekxJ6zmH5+b+ dwEPf3qgU+SsZoNJ/3DCIjFdv4M4pRpwu5v1eG4BecTttCIK+zLFT/CokLBrJk+VU8 ceaoOrGiLwhNYhHuWrHXSYRQHiGMdw3bHLuc5aiunqSrUKYvZAyxmmDcn1uXrkQo7G Uv9i+SFmp0t3g== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <83mtc6kddc.fsf@gnu.org> References: <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> <83mtc6kddc.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sent with Proton Mail secure email. ------- Original Message ------- On Sunday, August 14th, 2022 at 4:18 PM, Eli Zaretskii wrote= : > > Date: Sun, 14 Aug 2022 16:14:40 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: michael_heerdegen@web.de, 57163-done@debbugs.gnu.org > > > > > Well, you are supposed to read the entire chapter, not just one > > > section. Reading a single section is for those who know what they are > > > after, and get to the section via the index entries. > > > > Expecting the reading of entire chapters, and then having to associate > > commands under different headings to different functionalities is a fai= ling > > strategy. > > > That's the recommended practice of learning about this subject when > you are not familiar with it (as you seem to be). Reading single > sections in this situation is not a very effective way of learning > about this. Completion is defined as a feature that fills in the rest of a name startin= g from an abbreviation for it. Easily leads to confusion because one does not common= ly associate completion with next selection element. Have looked at "Variable: minibuffer-local-map" which states that it is the= default local keymap for reading from the minibuffer. By default, it makes= the following bindings: But that list is not complete because it associates M-n and M-p only with h= istory elements. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 12:51:26 2022 Received: (at 57163) by debbugs.gnu.org; 14 Aug 2022 16:51:26 +0000 Received: from localhost ([127.0.0.1]:39755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGpi-0006IZ-GC for submit@debbugs.gnu.org; Sun, 14 Aug 2022 12:51:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGph-0006IN-B0 for 57163@debbugs.gnu.org; Sun, 14 Aug 2022 12:51:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNGpc-0006rw-3y; Sun, 14 Aug 2022 12:51:20 -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=E6LiKVoFJUN65pJJnZ8v7OCqpqG9K5RcFwEjjBm0Ois=; b=adtBN8szKmRC AWWqngaFOKcLI0n6zQxPuyj+YJNrpNNkVR9aESMbNI/qFHYU3UZieq+JZP2f3Nl/Hk2jwXT06cv/Z GYY3ycvt3i542/RMPl0OYshdBq0zDlsbpvFFwvhotZedt2O8wwXlHSUetl/OqEyIUehptQolZxWST ri5UZS0I5sWVHz5wLePYzv3seeGLvtwyJkrsc+vZLj6rjc8b8IQltAX0lVvsI8I73rWf4uJ4NN64S v4H8vGkIqHTbxGicaAHInNtmN4vXp/S7qGgsEJP3JNm+G3322vprE7yp0EJiorcHgyyAICbBzN6fu kYJ19M/S71HWXdqphbp3gw==; Received: from [87.69.77.57] (port=1890 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNGpb-0005rC-KQ; Sun, 14 Aug 2022 12:51:19 -0400 Date: Sun, 14 Aug 2022 19:51:04 +0300 Message-Id: <83h72ekbuv.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Sun, 14 Aug 2022 16:34:42 +0000) Subject: Re: bug#57163: completing-read not allow cycling of the options by default References: <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> <83mtc6kddc.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 14 Aug 2022 16:34:42 +0000 > From: uzibalqa > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > Expecting the reading of entire chapters, and then having to associate > > > commands under different headings to different functionalities is a failing > > > strategy. > > > > > > That's the recommended practice of learning about this subject when > > you are not familiar with it (as you seem to be). Reading single > > sections in this situation is not a very effective way of learning > > about this. > > Completion is defined as a feature that fills in the rest of a name starting from an > abbreviation for it. Easily leads to confusion because one does not commonly associate > completion with next selection element. > > Have looked at "Variable: minibuffer-local-map" which states that it is the default local keymap for reading from the minibuffer. By default, it makes the following bindings: > > But that list is not complete because it associates M-n and M-p only with history elements. You are again reading in the wrong place. Keymaps have nothing to do with this. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 13:12:04 2022 Received: (at 57163) by debbugs.gnu.org; 14 Aug 2022 17:12:04 +0000 Received: from localhost ([127.0.0.1]:39796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNH9g-0006oN-7g for submit@debbugs.gnu.org; Sun, 14 Aug 2022 13:12:04 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:60099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNH9e-0006nr-5Q for 57163@debbugs.gnu.org; Sun, 14 Aug 2022 13:12:03 -0400 Date: Sun, 14 Aug 2022 17:11:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660497115; x=1660756315; bh=Xa1isaHSdOCUUMu5H9WqiscXw5NzyMd+D/AJCzEHq/s=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=HxBfHrHWF2q6w+ld31egX/gfHxWcbu25gdS6JiCGsDC+lpBHYXtbe9EWiOpRODEON z6hxBmoI3plpXWj+TGyhSfTVf7aNW59ylbBMf/fqthwDXIRWd61EwL5/mYMCbE/2Y7 XRmo6MblOOFqb5VqnS31IfAz5SlBpP0bV5GwDI9lRIxL/WAb2RTx8ZVbZdkEFiSYcf Rjz2fT3ufAfnGYCHG0MuCyfQcp2/AgL/LubrpmKJNRHVoTXxZvDQwiqUy6kUKF0mjn O1bMQQYS9/QOmG/IYCVit+mSlwqmC8NYD/mq4PhY+NTfbA11kKVBeqTP68AQaqSguz 3W2U/SMwzNHfw== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: <83h72ekbuv.fsf@gnu.org> References: <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> <83mtc6kddc.fsf@gnu.org> <83h72ekbuv.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Sunday, August 14th, 2022 at 4:51 PM, Eli Zaretskii wrote= : > > Date: Sun, 14 Aug 2022 16:34:42 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org > > > > > > Expecting the reading of entire chapters, and then having to associ= ate > > > > commands under different headings to different functionalities is a= failing > > > > strategy. > > > > > > That's the recommended practice of learning about this subject when > > > you are not familiar with it (as you seem to be). Reading single > > > sections in this situation is not a very effective way of learning > > > about this. > > > > Completion is defined as a feature that fills in the rest of a name sta= rting from an > > abbreviation for it. Easily leads to confusion because one does not com= monly associate > > completion with next selection element. > > > > Have looked at "Variable: minibuffer-local-map" which states that it is= the default local keymap for reading from the minibuffer. By default, it m= akes the following bindings: > > > > But that list is not complete because it associates M-n and M-p only wi= th history elements. > > > You are again reading in the wrong place. Keymaps have nothing to do > with this. Agreed, because I switched to the Emacs Lisp Manual instead of the Emacs Ma= nual. A straighforward way is to describe the keybindings immediately in "8.3 Edi= ting in the Minibuffer" then refer to 8.3 when you get to "8.5 Minibuffer History". And not the ot= her way round. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 00:53:11 2022 Received: (at 57163-done) by debbugs.gnu.org; 16 Aug 2022 04:53:12 +0000 Received: from localhost ([127.0.0.1]:44585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNoZj-0001xO-LJ for submit@debbugs.gnu.org; Tue, 16 Aug 2022 00:53:11 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:53265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNoZe-0001xA-Ng for 57163-done@debbugs.gnu.org; Tue, 16 Aug 2022 00:53:09 -0400 Received: from localhost ([::ffff:197.239.6.199]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B10.0000000062FB22B0.0000470C; Mon, 15 Aug 2022 21:53:04 -0700 Date: Tue, 16 Aug 2022 07:48:19 +0300 From: Jean Louis To: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: References: <83zgg8kqiy.fsf@gnu.org> <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> User-Agent: Mutt/+ () (2022-06-11) X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-08-14 19:16]: > Expecting the reading of entire chapters, and then having to > associate c [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [197.239.6.199 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 57163-done Cc: michael_heerdegen@web.de, Eli Zaretskii , 57163-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-08-14 19:16]: > Expecting the reading of entire chapters, and then having to > associate c [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [197.239.6.199 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-08-14 19:16]: > Expecting the reading of entire chapters, and then having to > associate commands under different headings to different > functionalities is a failing strategy. Main obstacles in learning are misunderstood words. If there is any word you do not understand, ask for its meaning or try to find out its meaning, use dictionary, that way you may understand full sentences and its meanings. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 01:08:01 2022 Received: (at 57163-done) by debbugs.gnu.org; 16 Aug 2022 05:08:01 +0000 Received: from localhost ([127.0.0.1]:44592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNoo5-0002PY-5G for submit@debbugs.gnu.org; Tue, 16 Aug 2022 01:08:01 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:40591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNonw-0002PE-Lf for 57163-done@debbugs.gnu.org; Tue, 16 Aug 2022 01:07:59 -0400 Date: Tue, 16 Aug 2022 05:07:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660626466; x=1660885666; bh=wDepmdz2RmOiAio9ibhgrdxjiFxcgiGVr8qveuzyT14=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=kp+AepXwm2okFNW8yyS+beuSVqptV133C6jT4tzs83MUan3ZaKK6eCHAj0uvK1/7w vF3coXZ9UFgdGgCR2VFaqwz5E0Uz/l5idoXtIc9A5knNz1uJIApxyMf9EKEfJC5hok ZMk5cZV2xIVi41Q0WXJ2kqM5Juj/Ib6sQwWE8S6mM4aW/MjLGL6IjYSI6ftpj1h25x nIZlZ7F9h2kiEpmF0m16gFPJhtA5FC2BaAaxnNs5DKH/t0hlq93OZsKPfmeVDaC9cr Uyri4F4qYSS7DGPgFCTmxnt+F1OR1tge2cLNoiT4DM7GAuUTEp9I1hSpWqAUR2qk0p feASNx9tgmJRw== To: Jean Louis From: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: In-Reply-To: References: <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57163-done Cc: michael_heerdegen@web.de, Eli Zaretskii , 57163-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: uzibalqa Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Tuesday, August 16th, 2022 at 4:48 AM, Jean Louis wro= te: > * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text e= ditors bug-gnu-emacs@gnu.org [2022-08-14 19:16]: > > > Expecting the reading of entire chapters, and then having to > > associate commands under different headings to different > > functionalities is a failing strategy. > > > Main obstacles in learning are misunderstood words. If there is any > word you do not understand, ask for its meaning or try to find out its > meaning, use dictionary, that way you may understand full sentences > and its meanings. > > -- > Jean Appropriate functionality should be discussed as soon as it becomes relevan= t, not at much later stages. For the Emacs Manual, I cannot see description of what keys are av= ailable for use with the minibuffer, particularly for completing-read, where options are availab= le but there is no clear way to know what key can move through the options. Keys for displayi= ng history is quite different from normal usage where there might not exist previous history. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 06:05:42 2022 Received: (at 57163) by debbugs.gnu.org; 16 Aug 2022 10:05:43 +0000 Received: from localhost ([127.0.0.1]:44907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNtSA-0001j4-6Q for submit@debbugs.gnu.org; Tue, 16 Aug 2022 06:05:42 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:50369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNtS6-0001iu-3r for 57163@debbugs.gnu.org; Tue, 16 Aug 2022 06:05:40 -0400 Received: from localhost ([::ffff:197.239.6.199]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B1E.0000000062FB6BF0.00006519; Tue, 16 Aug 2022 03:05:35 -0700 Date: Tue, 16 Aug 2022 08:24:21 +0300 From: Jean Louis To: uzibalqa Subject: Re: bug#57163: completing-read not allow cycling of the options by default Message-ID: References: <83tu6gknta.fsf@gnu.org> <83r11kkmmu.fsf@gnu.org> <83k07bl66z.fsf@gnu.org> <-qQFoEYeOk9XtGrbenYCxKUz2BqvVEvFF8l_HqKxq3MGYVe1uxGsefA6PjnOHKZ_VfiNQlPCHafcmCoVvgmYeGCLIGZKttqd2FPRK_1WqPk=@proton.me> <83mtc6kddc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/+ () (2022-06-11) X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-08-14 19:36]: > Completion is defined as a feature that fills in the rest of a name > star [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [197.239.6.199 listed in zen.spamhaus.org] 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 57163 Cc: michael_heerdegen@web.de, Eli Zaretskii , 57163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-08-14 19:36]: > Completion is defined as a feature that fills in the rest of a name > star [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [197.239.6.199 listed in zen.spamhaus.org] 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-08-14 19:36]: > Completion is defined as a feature that fills in the rest of a name > starting from an abbreviation for it. Easily leads to confusion > because one does not commonly associate completion with next > selection element. That is why I said that misunderstood words are one of main obstacles in learning. We have computer terminology, we have English, then other languages, and then Emacs terminology, and there may be similar words. We have to be careful to find the right definition of a word in a right context. Recommended place in maniual is: (info "(elisp) Completion") 21.6 Completion =============== “Completion” is a feature that fills in the rest of a name starting from an abbreviation for it. Completion works by comparing the user’s input against a list of valid names and determining how much of the name is determined uniquely by what the user has typed. For example, when you type ‘C-x b’ (‘switch-to-buffer’) and then type the first few letters of the name of the buffer to which you wish to switch, and then type (‘minibuffer-complete’), Emacs extends the name as far as it can. Standard Emacs commands offer completion for names of symbols, files, buffers, and processes; with the functions in this section, you can implement completion for other kinds of names. The ‘try-completion’ function is the basic primitive for completion: it returns the longest determined completion of a given initial string, with a given set of strings to match against. The function ‘completing-read’ provides a higher-level interface for completion. A call to ‘completing-read’ specifies how to determine the list of valid names. The function then activates the minibuffer with a local keymap that binds a few keys to commands useful for completion. Other functions provide convenient simple interfaces for reading certain kinds of names with completion. > Have looked at "Variable: minibuffer-local-map" which states that it > is the default local keymap for reading from the minibuffer. By > default, it makes the following bindings: > > But that list is not complete because it associates M-n and M-p only > with history elements. That is right. History elements do not represent completion candidates. IMPORTANT: history elements may be different than completion candidates. You may come into situation that by choosing a history element you are not able to choose the true completion candidate, and by attempting to choose a history element you may not even be able to accept the candidate because they may be different. M-p runs the command previous-history-element (found in minibuffer-local-must-match-map), which is an interactive byte-compiled Lisp function in ‘simple.el’. (previous-history-element N) Puts previous element of the minibuffer history in the minibuffer. With argument N, it uses the Nth previous element. Example from real life: In my personal work and research I am using Hyperscope as database backed note taking tool. Each note has its name. - my completion candidates are automatically choosen from database, there are for example note names, such as "My note 1", "My note 2" - imagine I am doing completion and choose "My note 1", that one remains in history. - Then maybe I rename "My note 1" to "August 2022 Notes" - Then again I use completion, but it is using history elements, so M-n and M-p will rather show me "My note 1" even though it is not one of completion candidates any more. I also understand that some of suggestions for completion candidates on the mailing list, maybe on GNU Emacs Help, was to use M-n or M-p but please remember, those are for history elements. To make history elements more relevant to your completion candidates you should use history variables. When there are many various applications of completions it becomes boring to always define a new history variable and take care of it. For that reason I have choosen to generate such variables automatically based on the prompt. If prompt is unique and relevant, the history variable will be unique and relevant. Here is the function that I use to generate history variable automatically: (defun rcd-symbol-if-not-exist (variable &optional value description) "Return symbol for VARIABLE string. It will generate new VARIABLE if it does not exist." (let* ((variable (replace-regexp-in-string "[^[:alnum:]]" "-" (downcase variable))) (rcd-symbol (intern variable)) (description (or description (format "Generated variable `%s'" variable)))) (if (boundp rcd-symbol) rcd-symbol (eval (list 'defvar rcd-symbol value description))))) (rcd-symbol-if-not-exist "Enter name of person: ") ⇒ enter-name-of-person-- Thus history variable becomes `enter-name-of-person--' for the prompt "Enter name of person: ". Then I have a higher level function that uses `completing-read' function and automatically generates history variables: (defun rcd-choose (list &optional prompt predicate initial-input def) "Ask user for LIST of choices. If only one element, function `y-or-n-p' will be used. For multiple elements `completing-read' is used. If nothing chosen it will return empty string." (let* ((completion-ignore-case t) (prompt (or prompt "Choose: ")) (description (format "History for `%s' completion prompt." prompt)) (history (rcd-symbol-if-not-exist (concat "rcd-" prompt "-history") nil description)) (input (cond ((length= list 1) (if (y-or-n-p (nth 0 list)) (nth 0 list) "")) (t (rcd-repeat-until-not-empty-string 'completing-read prompt list predicate t initial-input history def t))))) input)) Then I can simply say: (rcd-choose '("One" "Two" "Three")) and I am not using any prompt there. It will be automatically "Choose: ". That will generate history variable for the prompt "Choose: " and hold various history elements. But if I am using a prompt: (rcd-choose '("One" "Two" "Three") "Choose a number: ") then such prompt"Choose a number: " will automatically result with history variable generated for me, and it will hold those specific elements for that specific prompt. That is the way how I completely forget about defining history variables but I still have them for each and everything. Helper function to repeat a function until it gives non empty string: (defun rcd-repeat-until-not-empty-string (function &rest args) "Repeat FUNCTION with optional ARGS until result is not empty string." (let ((result)) (while (string-empty-p (setq result (apply function args)))) result)) Back to "completion cycling": I use TAB to view completion candidates if necessary and then I start typing one of them. If I know any string inside of a completion, I may start typing it with the wildcard: Choose: *eth and then by pressing TAB I can see those candidates matchin *eth which comes very handy to choose the right one. My completion candidates are dynamically changed and there are many, often there may be 70,000 candidates. For you I recomend using some add-on packages such as `ivy-mode' as that one may visually show you completion candidates and instead of history elements you may use M-n and M-p to cycle through completion candidates instead through history elements. My personal work tells me that I everything works faster and more efficient by using built-in Emacs completion without add-on packages, as I have extensive numbers of candidates where the wildcard method works better for me. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From unknown Sat Aug 16 12:44:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Sep 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator