From unknown Tue Jun 17 20:41:21 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#67665 <67665@debbugs.gnu.org> To: bug#67665 <67665@debbugs.gnu.org> Subject: Status: 30.0.50; ispell-complete-word only suggests proper nouns Reply-To: bug#67665 <67665@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:41:21 +0000 retitle 67665 30.0.50; ispell-complete-word only suggests proper nouns reassign 67665 emacs submitter 67665 Dmitry Gutov severity 67665 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 06 14:57:31 2023 Received: (at submit) by debbugs.gnu.org; 6 Dec 2023 19:57:31 +0000 Received: from localhost ([127.0.0.1]:40462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAy1T-0008Rp-8F for submit@debbugs.gnu.org; Wed, 06 Dec 2023 14:57:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAy1Q-0008Rc-I1 for submit@debbugs.gnu.org; Wed, 06 Dec 2023 14:57:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAy18-0004qm-NJ for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2023 14:57:10 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAy16-0006W9-IV for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2023 14:57:10 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D699D5C0096 for ; Wed, 6 Dec 2023 14:57:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 06 Dec 2023 14:57:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1701892626; x=1701979026; bh=kI Ok80desrqyjZ3rIIQhAtGqFZxM9y6/hAfjvchZ38E=; b=Y0/rikYlAmD7waJCk2 +VglfY8BppGDi+pbx7JvBtkxzE/e3HDebYXDGShIUmcrLos1FuQccESRaNF9tH/I ygRW0F9VhEWJ3M7AzZctHbuLy58v/RoMLaubc6t3Y/TdtQxbdVtHtyN8xVWkXWkc dPNSiY93eSufpAJIB52hP3H9d0tWcyR5GtJqHZtQHVptyPcFLEc5GergWOnglhOF e/SArQSTpC+gCRARshbqOTELGix9nRVa3Lu2qRvGSSe9PKrglL4sk7Y+3kuYVyBg EgQgUV5uBIxGX6zRq/dHtWOUbMEtIiOS7aaGuo/iqdNc9lu23vKvFQFtrVRZ8tOx VOQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1701892626; x=1701979026; bh=kIOk80desrqyj Z3rIIQhAtGqFZxM9y6/hAfjvchZ38E=; b=h/Foxl45yQrS6Qfp65EZsJjT1r6gB lCiG0GsTn1TFo0mlYM3zAXFc9rWNRPwFAzHlcILaG581SFFqBw77QyyqrLcGbZHO mzxhvN4Owxm2ML8M36GYM6uyFMBCLctUyXCymMiHuE1znG66AGil4hR4iAN74xZn pnKRlp9349B1onwbmaMvu3avV32ZCjC6vAvArFiSlucVzdjyAjr9KvXg6jCdq8e3 9ODcO+qSdWvXU146y6aa7aDd2rpg7jeB+B1BMUN0e+az1BkcMxqM/pCWMRsQojOA sWS79HomEfeiUlXTnsndYHrO3Behdp79jSI0dXvjwDlC28gYAAGXWjsyg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudektddgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffuhfgtgfesthejre dttdefjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhht ohhvrdguvghvqeenucggtffrrghtthgvrhhnpedttdefieevhfejhfffudetfeehfedvke egueelvedvvdeiheduhefhuddthedvtdenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 6 Dec 2023 14:57:05 -0500 (EST) Message-ID: Date: Wed, 6 Dec 2023 21:57:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: bug-gnu-emacs@gnu.org Subject: 30.0.50; ispell-complete-word only suggests proper nouns Content-Language: en-US From: Dmitry Gutov Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=66.111.4.29; envelope-from=dmitry@gutov.dev; helo=out5-smtp.messagingengine.com 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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: 0.6 (/) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Testing the new completion function using ispell, I've noticed the following problem. It's also easily reproducible on my system with 'M-x ispell-complete-word'. Only proper nouns (words originally capitalized in the dicitonary) are suggested. Examples: 1. Type 'aard', then 'M-x ispell-complete-word'. 2. No completions. 1. Type 'Az', then 'M-x ispell-complete-word'. 2. The full completions list starts with "Azana" and ends with "Aztlan's", with no "azimuth" in the list. Only geographic names in there. The full dictionary does contain the worth "azimuth", btw: (member "azimuth" (ispell-lookup-words "")) ;; => ("azimuth" "azimuth's" "azimuths" "azure" "azure's" ... or (member "azimuth" (ispell-lookup-words "a*")) ;; => ("azimuth" "azimuth's" "azimuths" "azure" "azure's" ... however: (member "azimuth" (ispell-lookup-words "a")) ;; => nil So it looks like the problem is in the use of the "look" program. /usr/share/dict/words (on my current system, at least) is sorted so that "a" comes after "Z", not after "A". Could be a distribution bug (is dict supposed to be generated compatibly with 'look'?) Otherwise, it seems best to avoid using 'look' altogether.