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.devel Subject: Re: ispell.el and pipes Date: Tue, 16 Nov 2021 22:00:17 +0200 Message-ID: <83y25nzx9q.fsf@gnu.org> References: <875yssrwk2.fsf@gmail.com> <83ee7g15yf.fsf@gnu.org> <871r3grrtd.fsf@gmail.com> <87bl2jrisc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14963"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?Andr=C3=A9?= A. Gomes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 16 21:02:47 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mn4fG-0003fC-HG for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 21:02:46 +0100 Original-Received: from localhost ([::1]:32966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mn4fE-0002x6-LT for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 15:02:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn4d1-0000rS-C8 for emacs-devel@gnu.org; Tue, 16 Nov 2021 15:00:27 -0500 Original-Received: from [2001:470:142:3::e] (port=33604 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn4cz-0007nq-WC; Tue, 16 Nov 2021 15:00:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=qFayRVowvDfb7qNDV+m0GTA3Ss49/66qHm2FSLN4jB8=; b=oBj92lvwZVRRpX0iO55E FDtQXm9jj2M0S9IB7JLRoT/f5V0JNqoq2eBP9NZkYBUt7lG5trHvJpm93IIEgWNVeb8NR3V5hVOEn cJ6KCAbPqKVYKiqubr+5t/M2O7XfPeJstbqe1ViYuQ98cG775IY1+bfwmIimm6e3ONVfW+VTynGgz cwZYU0ZlbUMHyGFNDuLR2wOERRuNbnhbDRqa8p72Tbh2mYugSCiD83W/LcupzOrTSrHAbloiwSs2M 0Rd3yxjCNoU9p4D2LuD+Ww2OzmBY3b88MtRMQHymUYb6wTa952n2JSZJfhd+dzHtVkQgCvlonkGRH vMvtKjDhlpUHXg==; Original-Received: from [87.69.77.57] (port=1690 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 1mn4cz-0001zM-7v; Tue, 16 Nov 2021 15:00:25 -0500 In-Reply-To: <87bl2jrisc.fsf@gmail.com> (message from =?utf-8?Q?Andr=C3=A9?= A. Gomes on Tue, 16 Nov 2021 22:40:19 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279582 Archived-At: > From: André A. Gomes > Cc: emacs-devel@gnu.org > Date: Tue, 16 Nov 2021 22:40:19 +0300 > > If the old farts (no offence) insist on using *Choices*, then using > ascii characters is silly. There should be a variable that gives an > upper-bound for spelling suggestions perhaps. If that bound would be 10 > by default, then just use the digits. Otherwise, the characters used > should be latin lower-case english letters. (Typing digits is hard). > Either one or two letters, depending on the number of suggestions. That > gives as much as (expt 26 2) choices, which is more than enough. A tempest in a teapot, if you ask me. I'm a heavy user of spell-checking, always have been. IME, the correct choice is almost always '0', rarely '1', i.e. the very first candidates. If you see something else, switch to a different speller. Or use the drop-down menu of Flyspell ("C-c $"). So I wouldn't burn cycles on trying to improve the UI here. But that's me. (The historical reason why Ispell uses digits is that this is how the UI of the original Ispell worked; Hunspell still behaves the same even today.)