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#74469: bug in ispell-buffer Date: Fri, 22 Nov 2024 13:47:12 +0200 Message-ID: <86ed33o5hb.fsf@gnu.org> References: <86o727oi57.fsf@gnu.org> 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="5748"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ramanahouston@outlook.com, 74469@debbugs.gnu.org To: Robert Boyer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 12:50:26 2024 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 1tESB7-0001KG-LC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 12:50:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tESAn-0008Rd-Sb; Fri, 22 Nov 2024 06:50:06 -0500 Original-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 1tESAl-0008PL-8Q for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 06:50:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tESAk-0004Zq-T0 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 06:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=sIm7m1hAj5pQfGmRqnY5f1scGn+nxwq2NvnKgnzSIPE=; b=krr58QS6t8twT1Qh4j2uzDUjEwgeK+CRmJq43p7wnIDXRzG6VKUI2teLN01K5fFD7lh3ulBUyx08iUPfyBEBFeCf7AHS/JbCdh9i/+k8XhI7+UzMI4nXgjZLZbJvpltNvRLU7upiNa+HgmgHTZHGTYi9oAS9+i9uMC/fuvRSGbxBjnnWqjcVdT4ix0XU0bR3Q8tkIcukIJxArxbL+DuLW7KztvdZZsRkUSy8m+X8boyDywZymecAADo3BBZzt+f140YzB/4lrUMgWJZXMua/yHz/DBSl+YIbkqKUB3R9vnZaJaWZzWY8CeI5+uuovmK58Msg5c7s/hpkoGfAX6Xmcg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tESAk-00069P-Fd for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 06:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2024 11:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74469 X-GNU-PR-Package: emacs Original-Received: via spool by 74469-submit@debbugs.gnu.org id=B74469.173227618123602 (code B ref 74469); Fri, 22 Nov 2024 11:50:02 +0000 Original-Received: (at 74469) by debbugs.gnu.org; 22 Nov 2024 11:49:41 +0000 Original-Received: from localhost ([127.0.0.1]:53445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tESAO-00068c-Oh for submit@debbugs.gnu.org; Fri, 22 Nov 2024 06:49:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tESAM-00068O-1i for 74469@debbugs.gnu.org; Fri, 22 Nov 2024 06:49:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tES8A-0004H9-JU; Fri, 22 Nov 2024 06:47:22 -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=sIm7m1hAj5pQfGmRqnY5f1scGn+nxwq2NvnKgnzSIPE=; b=GHxGjbRTAL3dyIaRbJi/ avc8nY33BS69q/lfxtrdrb0uKK8grF4G5QDwpI6aJFrvCAx6X76tQEjeI8wS0LXRMNdOEWt6N3MZX 0JEg2drlt4oB3hODHdlY5KSETbVWZwkvYj9ViDH8qAaJUbv8dkiq5aiuy60/tYCMIFI1szyBwvquN rgGvDpFHC5IXehQFQ5iNPscqR9TrQ7aO7Mo77hAAh9/YIgdE2mv+Wlv78B2BVIoUlUxK5eU3zl+Se PVmDrbJB12yNo4JbE5gyD9GzCsIu3rsYAfuaprTfeZMVN93BBVxdoD+AU4OuFUU4R8mdYvJ1TTAT6 RuU6uPDBf/kwww==; In-Reply-To: (message from Robert Boyer on Fri, 22 Nov 2024 04:17:11 -0600) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295788 Archived-At: > From: Robert Boyer > Date: Fri, 22 Nov 2024 04:17:11 -0600 > Cc: 74469@debbugs.gnu.org, rms@gnu.org > > Perhaps I can answer a few of your questions, but Emacs, as always, answers the > most. See far below. > > Ispell-breaks on: > > ōm namō bhagavatē śrī aruṇācala ramaṇāya > > > Breaks how? > > Here is the error report I see: > > Debugger entered--Lisp error: (error "Ispell misalignment: word ‘nam’ point 122; probabl...") > error("Ispell misalignment: word `%s' point %d; probably ..." "nam" 122) > ispell-process-line("^> ōm namō bhagavatē śrī aruṇācala ramaṇāya\n" nil) > ispell-region(1 5627) > ispell-buffer() > funcall-interactively(ispell-buffer) > command-execute(ispell-buffer record) > execute-extended-command(nil "ispell-buffer" "ispell-b") > funcall-interactively(execute-extended-command nil "ispell-buffer" "ispell-b") > command-execute(execute-extended-command) > > > Please tell more details about the problem, so we could investigate it > > and attempt to fix it whatever needs fixing. > > > Specifically, we need to know the following: > > > in what language is the above text written? > > I am not certain. 'Indian' is a sick response. Perhaps Tamil? Perhaps > Sanskrit. My Guru, Kumar Saran (ramanahouston@outlook.com) can tell you > precisely. I have cc'd him on this message. > > > What spell-checking program do you use as the back-end for ispell-buffer? > > I am as dumb as I rock. I have no idea. I use a Chromebook, I am sure. I get > ispell with the single Debian Gnu Linux shell command: > > sudo apt install ispell What is the value of ispell-program-name? After you invoke ispell-buffer for the first time in an Emacs session, type M-: ispell-program-name RET and tell what it displays. If it says your spell-checking program is Ispell, then the above error message is expected: Ispell does not support languages whose text cannot be encoded in single-byte encoding, while the text you show needs something like UTF-8 to encode. Also, type this: M-: ispell-current-dictionary RET and tell what it displays. Thanks.