From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh Newsgroups: gmane.emacs.bugs Subject: bug#58376: [PATCH] Set the PARENTS argument for language environments Date: Sun, 9 Oct 2022 00:46:10 +0530 Message-ID: References: <83wn9ajrud.fsf@gnu.org> <83tu4eji4l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000065daa05ea8ac3d1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22486"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58376@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 08 21:17:29 2022 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 1ohFKD-0005Z2-LP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Oct 2022 21:17:29 +0200 Original-Received: from localhost ([::1]:55678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohFKC-0004eF-45 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Oct 2022 15:17:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohFJn-0004e6-QG for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 15:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohFJn-0000D9-Ap for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 15:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohFJm-0008PX-3G for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2022 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58376-submit@debbugs.gnu.org id=B58376.166525659132290 (code B ref 58376); Sat, 08 Oct 2022 19:17:02 +0000 Original-Received: (at 58376) by debbugs.gnu.org; 8 Oct 2022 19:16:31 +0000 Original-Received: from localhost ([127.0.0.1]:41477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohFJH-0008Oj-AN for submit@debbugs.gnu.org; Sat, 08 Oct 2022 15:16:31 -0400 Original-Received: from mail-yb1-f172.google.com ([209.85.219.172]:37651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohFJD-0008OU-FW for 58376@debbugs.gnu.org; Sat, 08 Oct 2022 15:16:30 -0400 Original-Received: by mail-yb1-f172.google.com with SMTP id 63so9126922ybq.4 for <58376@debbugs.gnu.org>; Sat, 08 Oct 2022 12:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TXU38tJY9ZNZV+M0VnchijtnPoUW9Cnj0tSzBQ9qLyY=; b=GdXo87wj4COK5lCAsj+z5mIhsIYUvqNM2Oe19sj/MxJpzaZn57axcaoKxO4AKHyg9a 5B9pNkyIrj7bfusH5dECMQ8KQkjL7Z1m0CGw9EwUmnGO0IXojZ9jSPozlJx/OxPVHhZ4 A5guc7jfBELnmMrtvyrqXeB1seEkxO5uXRWGQMdVmcB3ndFntcNj7v0gJaNGpZ5MNwj5 XxX7nBJ6ln42YRWhJJRoOtbicgZnrrpW+nwV4bffXuQxlBIGmp65pP8Y7LYPDAeOprnY JXtJ+gOdRek4IkTFT8LMEidhiLFHdUeD66sfnk1NDFuii11LXxpErX+V3Pr/e705aYhS B+Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=TXU38tJY9ZNZV+M0VnchijtnPoUW9Cnj0tSzBQ9qLyY=; b=DW55LzXqpanCu5a+8lQGXGq4rFPsGZfWnVqME2d0j49UnDawS4iZ9OVRcTIm0c2p40 7+DOqmmtYPSbZpaTabMZCpCH9g1Y2Ad102M/LA9Iq+lvbCJF1R4zQLy0sOQocQuTfEmw EJv7Muj5GukpEq/leMGIYxGl9O1l3QwKz3erk89xknmtw/UOpP2caSSptlgi+9VpKzsY UZTMnBz0p0CqdsU4ljDnaAyNCaI0n439dDRxkwvPFnYPq+1Z/jqUYgylo508mdOTb6RO 9I5p+e707/uDaLCXKfkwjPJ/aOUhQawzipRkkszMgmjAhbGobzRJoaRMI86iRDtdBOsy CkOg== X-Gm-Message-State: ACrzQf3UTtGXbwBVmXdhU4BNDyB/7oGHc3fRI72x7OhgRhUYN1vJuzYZ 8IhiHKJG0Hwvo67w4sSI0iEh2ZwxKuQUUsMdTu8= X-Google-Smtp-Source: AMsMyM7t5vK/92mqzpDAcl3kOuEL6S3y9UJe6MZzxdYO//TCYPapzBWDXfcf70tNJdPh+JXsz78d4hK9nab15tgmg1s= X-Received: by 2002:a05:6902:1147:b0:6be:e3c:970e with SMTP id p7-20020a056902114700b006be0e3c970emr10475187ybu.469.1665256581912; Sat, 08 Oct 2022 12:16:21 -0700 (PDT) In-Reply-To: <83tu4eji4l.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" Xref: news.gmane.io gmane.emacs.bugs:244933 Archived-At: --000000000000065daa05ea8ac3d1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > Why to Misc? I could understand moving Cham to Indian and Tai Viet to > Thai. Misc is not really appropriate for scripts whose similar > scripts are already in some file. Cham should not be moved to Indian, it inherits its script from India, but is not an Indian language. I'll leave them as it is. For Kharoshthi and Gothic how to define the PARENTS argument so that it does not overwrite the previous entries in the menu? I am defining it like this: (set-language-info-alist "Kharoshthi" '((charset unicode) (coding-system utf-8) (coding-priority utf-8) (input-method . "kharoshthi") (sample-text . "Kharo=E1=B9=A3=E1=B9=ADh=C4=AB (=F0=90=A8= =91=F0=90=A8=AA=F0=90=A8=86=F0=90=A8=9B=F0=90=A8=81) =F0=90=A8=A3=F0=90=A8= =A8=F0=90=A8=B2=F0=90=A8=AA=F0=90=A8=86 =F0=90=A8=90=F0=90=A8=AA=F0=90=A8=85=F0=90=A8=A8=F0=90=A8=81") (documentation . "\ Language environment for G=C4=81ndh=C4=81r=C4=AB, Sanskrit, and other langu= ages using the Kharo=E1=B9=A3=E1=B9=ADh=C4=AB script.")) '("Misc" "Indian")) On Sat, Oct 8, 2022 at 11:46 PM Eli Zaretskii wrote: > > From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=82= =E0=A4=B9 Sameer Singh > > Date: Sat, 8 Oct 2022 21:48:26 +0530 > > Cc: 58376@debbugs.gnu.org > > > > Maybe Kharoshthi could also have "Indian" and Gothic could have > "European". > > I just asked, I have no opinion on that. > > > Also can we move Cham, Tai Viet and Northern Thai in Misc? > > Why to Misc? I could understand moving Cham to Indian and Tai Viet to > Thai. Misc is not really appropriate for scripts whose similar > scripts are already in some file. > --000000000000065daa05ea8ac3d1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Why to M= isc?=C2=A0 I could understand moving Cham to Indian and Tai Viet to
Thai.=C2=A0 Misc is not really appropriate for scripts whose similar
scripts are already in some file.

Cham shou= ld not be moved to Indian, it inherits its script from India, but is not an= Indian language.
I'll leave them as it is.

For Kharoshthi and Gothic how to define the PARENTS argument so tha= t it does not overwrite the previous entries in the menu?
I am de= fining it like this:

(set-language-info-alist
= =C2=A0"Kharoshthi" '((charset unicode)
=C2=A0 =C2=A0 =C2= =A0 =C2=A0(coding-system utf-8)
=C2=A0 =C2=A0 =C2=A0 =C2=A0(coding-pri= ority utf-8)
=C2=A0 =C2=A0 =C2=A0 =C2=A0(input-method . "kharosht= hi")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (sampl= e-text . "Kharo=E1=B9=A3=E1=B9=ADh=C4=AB (=F0=90=A8=91=F0=90=A8=AA=F0= =90=A8=86=F0=90=A8=9B=F0=90=A8=81) =F0=90=A8=A3=F0=90=A8=A8=F0=90=A8=B2=F0= =90=A8=AA=F0=90=A8=86 =F0=90=A8=90=F0=90=A8=AA=F0=90=A8=85=F0=90=A8=A8=F0= =90=A8=81")
=C2=A0 =C2=A0 =C2=A0 =C2=A0(documentation . "\Language environment for G=C4=81ndh=C4=81r=C4=AB, Sanskrit, and other lan= guages
using the Kharo=E1=B9=A3=E1=B9=ADh=C4=AB script."))
=C2= =A0'("Misc"
=C2=A0 =C2=A0"Indian"))

On= Sat, Oct 8, 2022 at 11:46 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8= =E0=A4=BF=E0=A4=82=E0=A4=B9 Sameer Singh <lumarzeli30@gmail.com>
> Date: Sat, 8 Oct 2022 21:48:26 +0530
> Cc: 58376@d= ebbugs.gnu.org
>
> Maybe Kharoshthi could also have "Indian" and Gothic could h= ave "European".

I just asked, I have no opinion on that.

> Also can we move Cham, Tai Viet and Northern Thai in Misc?

Why to Misc?=C2=A0 I could understand moving Cham to Indian and Tai Viet to=
Thai.=C2=A0 Misc is not really appropriate for scripts whose similar
scripts are already in some file.
--000000000000065daa05ea8ac3d1--