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#58376: [PATCH] Set the PARENTS argument for language environments Date: Sun, 09 Oct 2022 16:22:36 +0300 Message-ID: <838rlpjfmr.fsf@gnu.org> References: <83wn9ajrud.fsf@gnu.org> <83tu4eji4l.fsf@gnu.org> <83edvhjt76.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="23657"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58376@debbugs.gnu.org To: =?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-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 09 15:23:10 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 1ohWGs-0005xO-Ag for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Oct 2022 15:23:10 +0200 Original-Received: from localhost ([::1]:43364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohWGq-00025S-RS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Oct 2022 09:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWGk-00025K-IY for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 09:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43249) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohWGk-0001NI-AP for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 09:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohWGk-0004Ri-1o for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 09:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Oct 2022 13:23: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.166532176117048 (code B ref 58376); Sun, 09 Oct 2022 13:23:02 +0000 Original-Received: (at 58376) by debbugs.gnu.org; 9 Oct 2022 13:22:41 +0000 Original-Received: from localhost ([127.0.0.1]:42327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohWGO-0004Qu-UD for submit@debbugs.gnu.org; Sun, 09 Oct 2022 09:22:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohWGN-0004Qh-4V for 58376@debbugs.gnu.org; Sun, 09 Oct 2022 09:22:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWGH-0001JH-Uc; Sun, 09 Oct 2022 09:22:33 -0400 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=oN+v3r40aXAR0Z/GrdWmnPOcAV6cDU6njhs2M2SMUYA=; b=RWIPw4e7o8H5bxVHlMZ0 Dv898Ssjbz+PAyLkB7RilAE0/McACIBzuW/4isfDubTID6SM0PN6eUEKLjkzEVcT42hh71HhNNt+E +AQ6Zg+tbvXvSPUOvYtIDMUYeoh1KjpVEqW2gRkZFVWL6WUMaE/2dPGGaGPRWvkRUu2216McwYyp/ yybzCmw5W/SqSzgJ8sE2ir7nTORbQQys+rtCgqq8rBCs1Z6IymdEzv26FzhhGmBqKMOrMAnh3pDv0 rMhknmOGWGvhE5U5DDDXkKolZ2sywrCZnzd94bz6t/M3G2TeSFD7f9g7Lt7g2GI0+VZsBIlcW5Fsm ++swl3lSo1D3vA==; Original-Received: from [87.69.77.57] (port=3738 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWGH-0005s2-3H; Sun, 09 Oct 2022 09:22:33 -0400 In-Reply-To: (message 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 on Sun, 9 Oct 2022 15:58:48 +0530) 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:244956 Archived-At: > From: समीर सिंह Sameer Singh > Date: Sun, 9 Oct 2022 15:58:48 +0530 > Cc: 58376@debbugs.gnu.org > > > From: समीर सिंह 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ṣṭhī (𐨑𐨪𐨆𐨛𐨁) 𐨣𐨨𐨲𐨪𐨆 𐨐𐨪𐨅𐨨𐨁") > (documentation . "\ > Language environment for Gāndhārī, Sanskrit, and other languages > using the Kharoṣṭhī 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.