From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20870: 24.5; [PATCH] Options presented in ispell *Choices* should be accessible via keyboard Date: Sat, 27 Jun 2015 14:47:28 +0300 Message-ID: <83egkx74q7.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1435405702 26188 80.91.229.3 (27 Jun 2015 11:48:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2015 11:48:22 +0000 (UTC) Cc: 20870@debbugs.gnu.org To: =?UTF-8?Q?J=C3=BCrgen?= Hartmann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 13:48:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z8oah-0004NO-7g for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 13:48:11 +0200 Original-Received: from localhost ([::1]:35183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8oag-0002Pq-Qy for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 07:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8oac-0002Pl-3q for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 07:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8oaY-0007vs-U6 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 07:48:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8oaY-0007vn-Qo for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 07:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z8oaY-0002SY-Gc for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 07:48: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, 27 Jun 2015 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20870-submit@debbugs.gnu.org id=B20870.14354056619425 (code B ref 20870); Sat, 27 Jun 2015 11:48:02 +0000 Original-Received: (at 20870) by debbugs.gnu.org; 27 Jun 2015 11:47:41 +0000 Original-Received: from localhost ([127.0.0.1]:58857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8oaC-0002Rw-Mb for submit@debbugs.gnu.org; Sat, 27 Jun 2015 07:47:41 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:43229) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8oaA-0002Rj-WE for 20870@debbugs.gnu.org; Sat, 27 Jun 2015 07:47:39 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NQL00200P7PWJ00@mtaout29.012.net.il> for 20870@debbugs.gnu.org; Sat, 27 Jun 2015 14:47:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQL005LAQ2EV100@mtaout29.012.net.il>; Sat, 27 Jun 2015 14:47:02 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104402 Archived-At: > From: Jürgen Hartmann > Date: Sat, 27 Jun 2015 12:36:13 +0200 > > The attached patch tries to offer a workaround for this bug and to provide a > feature that was asked for by Emanuel Berg in > >    http://lists.gnu.org/archive/html/help-gnu-emacs/2015-06/msg00363.html > > i.e. that Ispell uses certain keys in a certain order for the offers in its > *Choices* buffer. > > Therefore, the idea is to use a customizable variable to hold a vector of key > specifications that are used by ispell-command-loop in the given order to > assemble its options. Thanks, but isn't it better to simply use numbers longer than one digit? E.g., if the number of choices is more than 10, use 00, 01, etc.; if the number of choices is more than 100, use 000, 001, etc., and so on and so forth? Bonus points for being able to support responses like 1 and 10 when the number of choices is more than 100 (but this is a nicety, not really required IMO). I just cannot imagine anyone in the need for customizing this.