From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57163: completing-read not allow cycling of the options by default Date: Sat, 13 Aug 2022 21:20:33 +0300 Message-ID: <83tu6gknta.fsf@gnu.org> References: <8735e0pwwp.fsf@web.de> <83o7won0m5.fsf@gnu.org> <834jygmazg.fsf@gnu.org> <83zgg8kqiy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37423"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, 57163@debbugs.gnu.org To: uzibalqa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 13 20:21:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oMvl4-0009Rl-2V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 20:21:14 +0200 Original-Received: from localhost ([::1]:47966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMvl2-0007Jb-Vy for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 14:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMvkt-0007J1-9q for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 14:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMvks-0004kN-DT for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 14:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMvks-0008RP-9Q for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2022 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57163 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57163-submit@debbugs.gnu.org id=B57163.166041485832414 (code B ref 57163); Sat, 13 Aug 2022 18:21:02 +0000 Original-Received: (at 57163) by debbugs.gnu.org; 13 Aug 2022 18:20:58 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: (message from uzibalqa on Sat, 13 Aug 2022 18:15:26 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239580 Archived-At: > 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.