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: Mon, 10 Oct 2022 19:36:59 +0530 Message-ID: References: <83wn9ajrud.fsf@gnu.org> <83tu4eji4l.fsf@gnu.org> <83edvhjt76.fsf@gnu.org> <838rlpjfmr.fsf@gnu.org> <87wn99oxtv.fsf@gmail.com> <87sfjxox3r.fsf@gmail.com> <87o7ulovzj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f2d8bc05eaaeacf5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34248"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 58376@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 16:08:12 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 1ohtRy-0008dO-Fg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 16:08:10 +0200 Original-Received: from localhost ([::1]:42822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohtRx-0008NS-1o for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 10:08:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohtRr-0008NJ-2J for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 10:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohtRq-0002W7-Qi for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohtRq-00065m-Ed for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 10:08: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: Mon, 10 Oct 2022 14:08: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.166541083723357 (code B ref 58376); Mon, 10 Oct 2022 14:08:02 +0000 Original-Received: (at 58376) by debbugs.gnu.org; 10 Oct 2022 14:07:17 +0000 Original-Received: from localhost ([127.0.0.1]:49500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohtR7-00064f-7b for submit@debbugs.gnu.org; Mon, 10 Oct 2022 10:07:17 -0400 Original-Received: from mail-yb1-f178.google.com ([209.85.219.178]:46811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohtR5-00064S-TB for 58376@debbugs.gnu.org; Mon, 10 Oct 2022 10:07:16 -0400 Original-Received: by mail-yb1-f178.google.com with SMTP id y205so13095901yby.13 for <58376@debbugs.gnu.org>; Mon, 10 Oct 2022 07:07:15 -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=kUHlD1+vMYuZDRJxj4gKuQ8FhAtwWl2HBQiZM49TyPk=; b=BGJMIlT1P0CxsO8gtaf+V4J8k1tnj65b0lsQD5qcsp9u98ejp8l4/42vmeCNhWxiVh vY+/2ha+kMcyRv+LPmdY7JNQ+t+na1egjJo1Fl5o3ihF7iDHRUGL02z6z/T0ow2Ca3aD KlALM0BrvWo9tfjarQD+o4lyc6oa3/v7nmTiG/SxXgUfhZhGFudQR3mKIL3XlYTEjcPr hytQpbmhKC2tKWE5aVwk7EQgPOj7WW4bsffXQQPaKGIWEf6c0fi/Bf55c4+45bGQD8nw N5KadUKHNiKpPqlI1MAMAO4SNgLiRDcrDVNMTKhEfUvhet0suu2PVUig4G17IotHxtjO chzA== 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=kUHlD1+vMYuZDRJxj4gKuQ8FhAtwWl2HBQiZM49TyPk=; b=rfrDFOJ7I09Xx04VhnXNBKkoAVOS3/4jK0vnJZiURm2lq81cH/wWLMrZ807l061FjA Nm6yCNAosAar3Beb8DcgJmotm7AGLwoA1ixu34wHfau+yyemGta++fa8gSu14PegRnia /yp80wmmpW0iVs+mB2I7GmJnCwZmzbYyubMnflHk3rpDwxSwjfmsoGfSDLpHCYdGkVcd WjmTzJi244XydWw4xunPiLNRVTv4P0iziL+X54l2+Kauf4rbqd+AMK3HoUqwlXhtz22L Ew6DN3O4VXpNzvCqJFwqZ0kyJq9e6iIzb0eFQjTmKkd4yRQ/wZuhr6600flPWI/lPJ+x M/qA== X-Gm-Message-State: ACrzQf3QTUvwec+gTRPZERyBpgmPQCTVeJuU5hlrgchd9vVbWZP69Xo4 77PVlvn63eWr6y5CSF883VktYKS4RVzhbBNe3n8= X-Google-Smtp-Source: AMsMyM74aWHmzsToGFDiW0Qx2tWWgWCy89ajRAkHIJysxE/cs3HZdj9CLGi6KCXYi/LTPemCEjO7b6dpfCTzRGNkq+s= X-Received: by 2002:a05:6902:1545:b0:6be:a376:6983 with SMTP id r5-20020a056902154500b006bea3766983mr18196855ybu.92.1665410830357; Mon, 10 Oct 2022 07:07:10 -0700 (PDT) In-Reply-To: <87o7ulovzj.fsf@gmail.com> 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:245022 Archived-At: --000000000000f2d8bc05eaaeacf5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can you resend the patch? This one fails to apply. On Sun, Oct 9, 2022 at 9:00 PM Visuwesh wrote: > [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=85=E0=AE= =95=E0=AF=8D=E0=AE=9F=E0=AF=8B=E0=AE=AA=E0=AE=B0=E0=AF=8D 09, 2022] Visuwes= h wrote: > > >> Attached patch puts the "Kharosthi" item in both Indian and Misc > >> submenus without overwriting. > >> > >> > >> > >> The problem is that when looping, the variables setup-map and > >> describe-map gets outdated and causes the overwrite. The solution I > >> came up with was to update them both to their default after each > >> iteration. This involved moving the keymap-setting forms to a > >> separate > >> function. > > > > Hmm, I seethat the function can be cleaned up further. I will do it > > after my dinner. > > Please find attached. > > --000000000000f2d8bc05eaaeacf5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can you resend the patch?
This one fails to= apply.

On Sun, Oct 9, 2022 at 9:00 PM Visuwesh <visuweshm@gmail.com> wrote:
[=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0= =AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B=E0= =AE=AA=E0=AE=B0=E0=AF=8D 09, 2022] Visuwesh wrote:

>> Attached patch puts the "Kharosthi" item in both Indian = and Misc
>> submenus without overwriting.
>>
>>
>>
>> The problem is that when looping, the variables setup-map and
>> describe-map gets outdated and causes the overwrite.=C2=A0 The sol= ution I
>> came up with was to update them both to their default after each >> iteration.=C2=A0 This involved moving the keymap-setting forms to = a
>> separate
>> function.
>
> Hmm, I seethat the function can be cleaned up further.=C2=A0 I will do= it
> after my dinner.

Please find attached.

--000000000000f2d8bc05eaaeacf5--