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 19:29:21 +0530 Message-ID: References: <83wn9ajrud.fsf@gnu.org> <83tu4eji4l.fsf@gnu.org> <83edvhjt76.fsf@gnu.org> <838rlpjfmr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000cff88405ea9a733a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36434"; 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 Sun Oct 09 16:00:16 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 1ohWql-0009JR-GT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Oct 2022 16:00:15 +0200 Original-Received: from localhost ([::1]:48010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohWqk-0004M2-0J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Oct 2022 10:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWqZ-0004Lt-3E for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 10:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohWqY-0000LR-Qj for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 10:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohWqY-0005uQ-D2 for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 10:00: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: Sun, 09 Oct 2022 14:00: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.166532398022661 (code B ref 58376); Sun, 09 Oct 2022 14:00:02 +0000 Original-Received: (at 58376) by debbugs.gnu.org; 9 Oct 2022 13:59:40 +0000 Original-Received: from localhost ([127.0.0.1]:44691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohWqC-0005tQ-9e for submit@debbugs.gnu.org; Sun, 09 Oct 2022 09:59:40 -0400 Original-Received: from mail-yb1-f171.google.com ([209.85.219.171]:38802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohWqA-0005tD-04 for 58376@debbugs.gnu.org; Sun, 09 Oct 2022 09:59:38 -0400 Original-Received: by mail-yb1-f171.google.com with SMTP id d67so7914130ybf.5 for <58376@debbugs.gnu.org>; Sun, 09 Oct 2022 06:59:37 -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=6CmsylN5kkJSvfLPVexoebmaHWDmTfijG3qLQrnu5UU=; b=JmzCDbjimuxNOK4N94FR810hKlHwytdAcBnvVWoY8q0zlIXrnZK9GiTJw4lv1pOrBu +9p4b9fWxPoRL4RgdfsB6ZKzFQv8YrMnRJTgxLiCxFG20ACWTJrZYG2mYxOfTrGQcwzQ NdTrjJmtXte17eVIYgey9PfRPR4ieTPPTQ3QkTbAtSVg6Ufsjxzty3PbrZe6Vm9FH3Lh 9RfNuyuKqqDJxF+0UAWlG8XQO/N8ls4WBcIzwP5OacVxPmMDTdHctJB4UIgWD6hAjrO9 k15aP4qdLrMKVwa1dPyAHmm+nPj5CaNn5zJRbqej4eI5ci5ZtIA4KtMhtCbbovyBrHFi 1yUQ== 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=6CmsylN5kkJSvfLPVexoebmaHWDmTfijG3qLQrnu5UU=; b=AN4nPfpujemjusq/wCKF03/7GNAYIuXdwC2/s0wItQOqyTojoGyThnplN/AJESrkrA Jah7NI+y9s/XVE+wBJebMFkx/JcQx6R8UeoCqutuiI05n0wRyI7Zz1eru+LOUTLcHVPv IuOzsyKwMzWW8CE56Py3W1ILlIdO2hs8lhuUE3jD/l+uwhEFSjbVlkmgxkavvE0vDEww Cu3xMMEzVbO2knBOxNytuxZ6G4V74bhxt0DQF2rMMvIBhWuIsnh75oXqrOmeteefy/XC TN1VzIbjV9z1L2FoiCWDVSIPqmqKiETPIc+hdXqgH5/ymYz3cm0y3Vsb7v0IZpJ0OHCG gzvg== X-Gm-Message-State: ACrzQf3hxTVvLQs3KYMm1JkaT0tYKzvqVH8LKOZzucDp99FaYtDymR4h 8Zux+Y42J/+d90G2deMX06KSFSCKIRD32aYtKEw= X-Google-Smtp-Source: AMsMyM4QxhQIfDAuQgV7SziZ+8ME1SKQYbDDmmBJq1f/2KN5unG7cCwbuBYjubVLKOEGd31H4z1zqs6WLrhbhMROIwI= X-Received: by 2002:a05:6902:1147:b0:6be:e3c:970e with SMTP id p7-20020a056902114700b006be0e3c970emr13626940ybu.469.1665323972424; Sun, 09 Oct 2022 06:59:32 -0700 (PDT) In-Reply-To: <838rlpjfmr.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:244957 Archived-At: --000000000000cff88405ea9a733a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can install the original patch for now, I'll look into this later. Also can we copy Microsoft keyboard layout for input methods? Thanks On Sun, Oct 9, 2022 at 6:52 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: Sun, 9 Oct 2022 15:58:48 +0530 > > Cc: 58376@debbugs.gnu.org > > > > > 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: Sun, 9 Oct 2022 00:46:10 +0530 > > > Cc: 58376@debbugs.gnu.org > > > > > > For Kharoshthi and Gothic how to define the PARENTS argument so that > it does not overwrite the > > previous > > > entries in the menu? > > > > What do you mean by "overwrite"? What happens if you use a list of > > more than one PARENTS? > > > > If I do something like: > > > > (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 l= anguages > > using the Kharo=E1=B9=A3=E1=B9=ADh=C4=AB script.")) > > '("Misc" "Indian")) > > > > Then compile and open emacs -Q > > Now opening Options>Multilingual Environment>Set Language > Environment>Indian > > It only has the Kharoshthi entry > > Options>Multilingual Environment>Set Language Environment>Misc now also > has an Indian submenu with > > only Kharoshthi entry. > > Hmm... Either we don't understand what PARENTS mean (could it mean a > hierarchy of several menu levels?), or there is a bug. > > If you want to work on that, please do; otherwise I'll just install > your original patch. > --000000000000cff88405ea9a733a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You can install the original patch for now, I'll = look into this later.

Also can we copy Microsoft k= eyboard layout for input methods?

Thanks
=

= On Sun, Oct 9, 2022 at 6:52 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: Sun, 9 Oct 2022 15:58:48 +0530
> Cc: 58376@d= ebbugs.gnu.org
>
>=C2=A0 > 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>
>=C2=A0 > Date: Sun, 9 Oct 2022 00:46:10 +0530
>=C2=A0 > Cc: 58376@debbugs.gnu.org
>=C2=A0 >
>=C2=A0 > For Kharoshthi and Gothic how to define the PARENTS argumen= t so that it does not overwrite the
>=C2=A0 previous
>=C2=A0 > entries in the menu?
>
>=C2=A0 What do you mean by "overwrite"?=C2=A0 What happens if= you use a list of
>=C2=A0 more than one PARENTS?
>
> If I do something like:
>
> (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-priority utf-8)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (input-method . "kharoshthi")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(sample-t= ext . "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 = languages
> using the Kharo=E1=B9=A3=E1=B9=ADh=C4=AB script."))
>=C2=A0 '("Misc" "Indian"))
>
> Then compile and open emacs -Q
> Now opening Options>Multilingual Environment>Set Language Enviro= nment>Indian
> It only has the Kharoshthi entry
> Options>Multilingual Environment>Set Language Environment>Mis= c now also has an Indian submenu with
> only Kharoshthi entry.

Hmm...=C2=A0 Either we don't understand what PARENTS mean (could it mea= n a
hierarchy of several menu levels?), or there is a bug.

If you want to work on that, please do; otherwise I'll just install
your original patch.
--000000000000cff88405ea9a733a--