From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Boyer Newsgroups: gmane.emacs.bugs Subject: bug#74469: bug in ispell-buffer Date: Fri, 22 Nov 2024 06:08:18 -0600 Message-ID: References: <86o727oi57.fsf@gnu.org> <86ed33o5hb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c7968406277f3d1e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ramanahouston@outlook.com, 74469@debbugs.gnu.org To: Eli Zaretskii , rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 13:10:20 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 1tESUM-00019k-Sr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 13:10:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tESU8-0006uz-Em; Fri, 22 Nov 2024 07:10:04 -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 1tESU6-0006uX-Om for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 07:10:02 -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 1tESU6-0000YB-Fy for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 07:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=QjmwtfspdYk9fccC+Mt+3MkBGn/S80mVrfwoq4UOa1c=; b=CsA1X+A/wch+TIknmmzJ20tn5t6atiHnQpsqvPN/na2HRl9ZfMjM1MrRZl2xazVl3Zg4YNXIg4IqoC34vdCfMuyQEeD6PKsLCBiKDyrXAXq2edCaEnQlbKhNGOcDTMwOPhvrFhJG2DvJgzKxto3bImVjBaAG6qtVKzK1MtII23J/Wc2+jPyA9kJC5j9mfAIxxYOR+swxbxuQ+XyNRQe0r6O31/gEfiw+y+d0KK2wJZYP1ibgHd/e5sgLqCv7x+C5jQL7hCafjBfRasDs/SINFQohi/Hb7TQpOHBYOQ27COMfE6u3WtH1h05njqqTI1aYHTxPpigdT0s04wBpG2PPZg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tESU6-00072d-3B for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 07:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Boyer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2024 12:10: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.173227738327036 (code B ref 74469); Fri, 22 Nov 2024 12:10:02 +0000 Original-Received: (at 74469) by debbugs.gnu.org; 22 Nov 2024 12:09:43 +0000 Original-Received: from localhost ([127.0.0.1]:53480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tESTm-00071z-Id for submit@debbugs.gnu.org; Fri, 22 Nov 2024 07:09:43 -0500 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:37954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tESTk-00071k-7N for 74469@debbugs.gnu.org; Fri, 22 Nov 2024 07:09:41 -0500 Original-Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-aa51baafc63so6762966b.0 for <74469@debbugs.gnu.org>; Fri, 22 Nov 2024 04:09:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732277311; x=1732882111; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QjmwtfspdYk9fccC+Mt+3MkBGn/S80mVrfwoq4UOa1c=; b=UBZIitBJBRez0pDQCXwkaDEIQQG1Z4tFRLKSxE1uwvkTyefA1JIfzdEOZeq1TzesRs cFcDKNdJF0i03iOXRWIuO8cya/6cL8q9hzQxtUjq0FRsMwla0otV8uJ/2k+Lb34ba5t5 mxWP3T9CuEY+1583WJZ4v/eSbyfIsdKfs/tuAEtHdfECmwX/to2K8sf+99fV+FQdWOsP EY3rpsn83htZGNNSwezosfx/1bqxeLuC5ja5FoH0tHpU2i2e411PHGB8lwa9iXJNZgyY uAMm77FqEzyByHwdnMC6QmVqkzBWm+NY5O3Lu7XsMumqDfq4JogNVRKzw7pTGvqhAr1p hxDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732277311; x=1732882111; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QjmwtfspdYk9fccC+Mt+3MkBGn/S80mVrfwoq4UOa1c=; b=AyhdZNwlblTDrFGW4G5zREUXaT8pjgaLVblRH/jtG34L0hwda9SIe1AOoCrhbB8QAd 5rUI5fHRsbnVhw0vIVlQJorgIBFYHpITDLsn8GeYdgMsFj10V8k09+x6QaCETLZfAatg TDyR7F94eUeQw2DZIeqTRw6AdWx4/Va4F/Jx5ObQ5/kKZuPShRvwQrZ59DzJW+rBfpnN KwMKS0YfP8wINaZoYMQz8jgPhzQqN0TOdGNJsBPfQzVxRtxDC1nCjbcQQiFeqC0U2kBD NjfBc+cJv+gTmRHQHiPeAYJx2y/xsCX0Q+Mv8lize13Ey1vFAre6qDwsq0u+F9UFhG/H A1hQ== X-Forwarded-Encrypted: i=1; AJvYcCUaXwdUjUuUHXY8mGehtS3r8yxh7qV8UcLwx0iUpuOsutqaK0VHLmlGfRuWs6OWILiY6LPDPw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzNNbXx8WxkElv/2Rk5sQEzm+4wcCBZIdKbV9eOTSjic5GObbw8 vPFXEu+1ngjnzf8P/UhYHWCqHDpY1tFrf1//8TYJKIG3wGuBfeCmTA9wtl26hr+/xNBBHZDzETl 7VmFwLgu4nYh9ULqzsZlcc8D35fE= X-Gm-Gg: ASbGncsK8L23LRPV0ejw/F42DW/ti/GsDfK/QsrkDshRDvOD3Cje0g36f7z+YiiGWap 5CEqnzf1pY6mBZDBBU18T0RpcoGfNnVRzEpcpQb74DZWlk83lYImsN5rUiqUwH++OmA== X-Google-Smtp-Source: AGHT+IEY/1qfLKiD2O0YFgdrGUyHAP0HDaj1H3dScGFvzjjcmui0VnBHvbDlbsB+VoEwqk+QR0e7W/ipNHeRRW5mHJs= X-Received: by 2002:a17:907:3f89:b0:a9a:66ca:999a with SMTP id a640c23a62f3a-aa50969774bmr121855266b.0.1732277311081; Fri, 22 Nov 2024 04:08:31 -0800 (PST) In-Reply-To: <86ed33o5hb.fsf@gnu.org> 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:295789 Archived-At: --000000000000c7968406277f3d1e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dearest Eli, > Ispell does not support languages whose text cannot be encoded in single-byte encoding, I am shocked! See: https://www.youtube.com/watch?v=3DSjbPi00k_ME ispell-program-name =3D> "ispell" ispell-current-dictionary =3D> "american" I would say that ispell has a bug that is so big that you cannot see that it is a bug! Should we call such a bug a 'continental bug'? So sad, but still with very highest regards, Bob On Fri, Nov 22, 2024 at 5:47=E2=80=AFAM Eli Zaretskii wrote: > > 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: > > > > =C5=8Dm nam=C5=8D bhagavat=C4=93 =C5=9Br=C4=AB aru=E1=B9=87=C4=81cala = rama=E1=B9=87=C4=81ya > > > > > Breaks how? > > > > Here is the error report I see: > > > > Debugger entered--Lisp error: (error "Ispell misalignment: word =E2=80= =98nam=E2=80=99 > point 122; probabl...") > > error("Ispell misalignment: word `%s' point %d; probably ..." "nam" > 122) > > ispell-process-line("^> =C5=8Dm nam=C5=8D bhagavat=C4=93 =C5=9Br=C4= =AB aru=E1=B9=87=C4=81cala rama=E1=B9=87=C4=81ya\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 i= t > > > 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. > --000000000000c7968406277f3d1e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dearest Eli,

> Ispell does not=C2=A0support languages whose text c= annot be encoded in single-byte=C2=A0encoding,=C2=A0

I am shocked!=C2=A0 See:


ispell-program-name =3D> "ispell"
ispell-current-dictionary =3D> "american"

I would say that ispell has= a bug that is so big that you cannot see that it is a bug!=C2=A0 Should we= call such a bug a=C2=A0
'continental bug'?

So sad, but still with very highest regards,<= /div>

Bob



On Fri, Nov = 22, 2024 at 5:47=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Robert Boyer <robertstephenboyer@gmail.com>
> Date: Fri, 22 Nov 2024 04:17:11 -0600
> Cc: 74469@d= ebbugs.gnu.org, rms@gn= u.org
>
> Perhaps I can answer a few of your questions, but Emacs, as always, an= swers the
> most. See far below.
>
> Ispell-breaks on:
>
>=C2=A0 =C5=8Dm nam=C5=8D bhagavat=C4=93 =C5=9Br=C4=AB aru=E1=B9=87=C4= =81cala rama=E1=B9=87=C4=81ya
>
> > Breaks how?
>
> Here is the error report I see:
>
> Debugger entered--Lisp error: (error "Ispell misalignment: word = =E2=80=98nam=E2=80=99 point 122; probabl...")
>=C2=A0 =C2=A0error("Ispell misalignment: word `%s' point %d; p= robably ..." "nam" 122)
>=C2=A0 =C2=A0ispell-process-line("^> =C5=8Dm nam=C5=8D bhagavat= =C4=93 =C5=9Br=C4=AB aru=E1=B9=87=C4=81cala rama=E1=B9=87=C4=81ya\n" n= il)
>=C2=A0 =C2=A0ispell-region(1 5627)
>=C2=A0 =C2=A0ispell-buffer()
>=C2=A0 =C2=A0funcall-interactively(ispell-buffer)
>=C2=A0 =C2=A0command-execute(ispell-buffer record)
>=C2=A0 =C2=A0execute-extended-command(nil "ispell-buffer" &qu= ot;ispell-b")
>=C2=A0 =C2=A0funcall-interactively(execute-extended-command nil "i= spell-buffer" "ispell-b")
>=C2=A0 =C2=A0command-execute(execute-extended-command)
>
> > Please tell more details about the problem, so we could investiga= te 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:
>
>=C2=A0 =C2=A0 sudo apt install ispell

What is the value of ispell-program-name?=C2=A0 After you invoke
ispell-buffer for the first time in an Emacs session, type

=C2=A0 M-: ispell-program-name RET

and tell what it displays.=C2=A0 If it says your spell-checking program is<= br> 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:

=C2=A0 M-: ispell-current-dictionary RET

and tell what it displays.

Thanks.
--000000000000c7968406277f3d1e--