From unknown Wed Jun 18 23:10:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35480 <35480@debbugs.gnu.org> To: bug#35480 <35480@debbugs.gnu.org> Subject: Status: insert-wide-parentheses Reply-To: bug#35480 <35480@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:10:14 +0000 retitle 35480 insert-wide-parentheses reassign 35480 emacs submitter 35480 =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson severity 35480 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 28 16:38:26 2019 Received: (at submit) by debbugs.gnu.org; 28 Apr 2019 20:38:26 +0000 Received: from localhost ([127.0.0.1]:37884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKqZ8-0003WI-9N for submit@debbugs.gnu.org; Sun, 28 Apr 2019 16:38:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKqZ6-0003W5-3n for submit@debbugs.gnu.org; Sun, 28 Apr 2019 16:38:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:37011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKqZ0-0002nX-TF for submit@debbugs.gnu.org; Sun, 28 Apr 2019 16:38:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKqYz-0001p7-Ta for bug-gnu-emacs@gnu.org; Sun, 28 Apr 2019 16:38:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKqYz-0002m7-19 for bug-gnu-emacs@gnu.org; Sun, 28 Apr 2019 16:38:17 -0400 Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:48256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKqYy-0002dr-JI for bug-gnu-emacs@gnu.org; Sun, 28 Apr 2019 16:38:16 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 82F3F5C4579 for ; Sun, 28 Apr 2019 20:38:14 +0000 (UTC) Received: from pdx1-sub0-mail-a100.g.dreamhost.com (unknown [100.96.16.23]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3C1315C47A0 for ; Sun, 28 Apr 2019 20:38:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a100.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 28 Apr 2019 20:38:14 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Company-Hook: 580c3e7036f45389_1556483894358_673776887 X-MC-Loop-Signature: 1556483894358:1218386929 X-MC-Ingress-Time: 1556483894358 Received: from pdx1-sub0-mail-a100.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a100.g.dreamhost.com (Postfix) with ESMTP id DB2257F6A1 for ; Sun, 28 Apr 2019 13:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=je/mUKnz93DBP8yfYz 07aB4P0t4=; b=Ich5A+bthImsQXAsglF/O/p30zB5K6mrKKASjyyHlEkXxVXETD 20pG/8m/+2t6zeUFx4fuUBCsc0r09mRS8Bn4Mn2ES5bJWxkYQQ+VaxIWaF17LZ4x 7QDTCCXj3SbIp+ZRfHmpo/TjRfehJOmXqTFxv27Fs5LtYOupkNp8Ey0rk= Received: from jidanni.org (114-46-56-187.dynamic-ip.hinet.net [114.46.56.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a100.g.dreamhost.com (Postfix) with ESMTPSA id CDADA7F69C for ; Sun, 28 Apr 2019 13:38:12 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a100 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: insert-wide-parentheses Date: Mon, 29 Apr 2019 04:38:10 +0800 Message-ID: <87pnp5euh9.8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddriedtgdduheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtgfesthekredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduudegrdegiedrheeirddukeejnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgeeirdehiedrudekjedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.214.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) M-( is insert-parentheses, so M-=EF=BC=88 should be insert-wide-parentheses. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 29 16:20:36 2019 Received: (at 35480) by debbugs.gnu.org; 29 Apr 2019 20:20:36 +0000 Received: from localhost ([127.0.0.1]:39888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLClP-0000jh-W6 for submit@debbugs.gnu.org; Mon, 29 Apr 2019 16:20:36 -0400 Received: from ladybird.maple.relay.mailchannels.net ([23.83.214.98]:31585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLClN-0000jY-J7 for 35480@debbugs.gnu.org; Mon, 29 Apr 2019 16:20:34 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C91365C5D2E; Mon, 29 Apr 2019 20:20:29 +0000 (UTC) Received: from pdx1-sub0-mail-a39.g.dreamhost.com (unknown [100.96.28.64]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 54D615C6264; Mon, 29 Apr 2019 20:20:29 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a39.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Mon, 29 Apr 2019 20:20:29 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Squirrel-Belong: 2055f7b334d80c71_1556569229534_3798024945 X-MC-Loop-Signature: 1556569229534:4083362863 X-MC-Ingress-Time: 1556569229534 Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id 08A3A82B5D; Mon, 29 Apr 2019 13:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=DwqzAp ZLWS5+iyrn1/2c5TtgI4M=; b=fnWRLlqBqwreXUQHBIaWuJyCKLOUolMwvkYEOB rmqyR5Ky5cVMmBQk6tNtHlFVDqYujO+HFBsIaGG5WHCsQIBGx7qaZsqgoYpVoBBi /SE9W+ikBJ1yhuSrTMzoFxO9rywRTPde7OTWytT3qaqCSrwDY1zU92u2YarQs5Ze V3mBI= Received: from mail.jurta.org (m91-129-107-198.cust.tele2.ee [91.129.107.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTPSA id 4A3C982B63; Mon, 29 Apr 2019 13:20:26 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a39 From: Juri Linkov To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#35480: insert-wide-parentheses Organization: LINKOV.NET References: <87pnp5euh9.8.fsf@jidanni.org> Date: Mon, 29 Apr 2019 23:00:38 +0300 In-Reply-To: <87pnp5euh9.8.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Mon, 29 Apr 2019 04:38:10 +0800") Message-ID: <87lfzswpi1.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddriedvgdduhedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrdduleeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrudelkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehjihgurghnnhhisehjihgurghnnhhirdhorhhgnecuvehluhhsthgvrhfuihiivgeptd Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35480 Cc: 35480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > M-( is insert-parentheses, so > M-=EF=BC=88 should be insert-wide-parentheses. (define-key esc-map "=EF=BC=88" 'insert-pair) (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=88 ?\=EF=BC=89)) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 29 22:00:17 2019 Received: (at 35480) by debbugs.gnu.org; 30 Apr 2019 02:00:17 +0000 Received: from localhost ([127.0.0.1]:40274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLI48-0000jI-Oz for submit@debbugs.gnu.org; Mon, 29 Apr 2019 22:00:17 -0400 Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:5878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLI46-0000fx-6c for 35480@debbugs.gnu.org; Mon, 29 Apr 2019 22:00:15 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id AA65F6A16FC; Tue, 30 Apr 2019 02:00:12 +0000 (UTC) Received: from pdx1-sub0-mail-a76.g.dreamhost.com (100-96-11-130.trex.outbound.svc.cluster.local [100.96.11.130]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3BDFB6A1CBC; Tue, 30 Apr 2019 02:00:05 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a76.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Tue, 30 Apr 2019 02:00:12 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Army-Skirt: 2e3347a823807018_1556589606382_4259810017 X-MC-Loop-Signature: 1556589606382:2791859684 X-MC-Ingress-Time: 1556589606381 Received: from pdx1-sub0-mail-a76.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTP id A5E0982195; Mon, 29 Apr 2019 19:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=3je1i8ZCLj+liREva2 UtISPp4XU=; b=HpjD3FidbIYrtHIFuf0cRUDzDdfLwBgS6I/gMaw43Ub33YT4bJ G42ao9m7K9oy2OcBtSiZ+QvyeVw6fLGjuxrVefbW0GnHCn6GInc/ofmTmVpgCVfK TWYRZ8eJtHPnWL7kKqqqAV8doGnx7+QW9WAi7a72AOODTJLWZ+1DAvPVk= Received: from jidanni.org (1-170-85-112.dynamic-ip.hinet.net [1.170.85.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a76.g.dreamhost.com (Postfix) with ESMTPSA id 2A0A98216C; Mon, 29 Apr 2019 19:00:01 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a76 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: Juri Linkov Subject: Re: bug#35480: insert-wide-parentheses References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> Date: Tue, 30 Apr 2019 09:59:57 +0800 Message-ID: <87muk8b6ci.8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrieefgdehgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddrudejtddrkeehrdduuddvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkeehrdduuddvpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepfeehgeektdesuggvsggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 35480 Cc: 35480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) >>>>> "JL" =3D=3D Juri Linkov writes: >> M-( is insert-parentheses, so >> M-=EF=BC=88 should be insert-wide-parentheses. JL> (define-key esc-map "=EF=BC=88" 'insert-pair) JL> (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=88 ?\=EF=BC=89= )) OK but now it looks like perl -C -wple 's/\d+/chr $&/eg;' ((=EF=BC=88 =EF=BC=88 =EF=BC=89) (( )) ([ ]) ({ }) (< >) (" ") (' ') (` ')) So I bet just (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=89)) is good enough. Anyways, I'm hoping the emacs authors will add this to the defaults. In fact they need to add wide versions of all those current narrow items = there. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 30 16:23:36 2019 Received: (at 35480) by debbugs.gnu.org; 30 Apr 2019 20:23:36 +0000 Received: from localhost ([127.0.0.1]:42478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLZHs-0003AF-8F for submit@debbugs.gnu.org; Tue, 30 Apr 2019 16:23:36 -0400 Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:29041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLZHq-0003A5-B2 for 35480@debbugs.gnu.org; Tue, 30 Apr 2019 16:23:35 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8C9A08C154B; Tue, 30 Apr 2019 20:23:29 +0000 (UTC) Received: from pdx1-sub0-mail-a81.g.dreamhost.com (100-96-4-152.trex.outbound.svc.cluster.local [100.96.4.152]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E97968C26F6; Tue, 30 Apr 2019 20:23:28 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a81.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Tue, 30 Apr 2019 20:23:29 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Hysterical-Bitter: 6b6f3277099999c4_1556655809324_2892842727 X-MC-Loop-Signature: 1556655809324:3511227710 X-MC-Ingress-Time: 1556655809324 Received: from pdx1-sub0-mail-a81.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTP id 59C2B7F9B8; Tue, 30 Apr 2019 13:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=tOpfRe uFf2f1W/BPR8dCpyv1EEg=; b=qfTUI1WE3Lpllx3QpBRjFd8KJwjXcOkyqL7fgo RMpwCGJdF14rjJU1wdBPMqYgSl3N3A1F4nxBvHSFwWIuErdwn/BUVXyAg04HWnvw Udc7r8R7xrKmLvGFUjBE+GJlRqE21O/U0adh4861nHs7dUmgkRVitJ4N8yDPj6Wg Z4Wao= Received: from mail.jurta.org (m91-129-107-198.cust.tele2.ee [91.129.107.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTPSA id C25C07F9BC; Tue, 30 Apr 2019 13:23:21 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a81 From: Juri Linkov To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#35480: insert-wide-parentheses Organization: LINKOV.NET References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> Date: Tue, 30 Apr 2019 23:15:27 +0300 In-Reply-To: <87muk8b6ci.8.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Tue, 30 Apr 2019 09:59:57 +0800") Message-ID: <87y33rw9n4.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrieehgdeklecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtjedrudelkeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdejrdduleekpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35480 Cc: 35480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>> M-( is insert-parentheses, so >>> M-=EF=BC=88 should be insert-wide-parentheses. > > JL> (define-key esc-map "=EF=BC=88" 'insert-pair) > JL> (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=88 ?\=EF=BC=89= )) > > OK but now it looks like > perl -C -wple 's/\d+/chr $&/eg;' > ((=EF=BC=88 =EF=BC=88 =EF=BC=89) > (( )) > ([ ]) > ({ }) > (< >) > (" ") > (' ') > (` ')) > > So I bet just > > (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=89)) > > is good enough. Anyways, I'm hoping the emacs authors will add this to > the defaults. > > In fact they need to add wide versions of all those current narrow item= s there. OK, this adds all Unicode pairs to the default: diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index d10d5f0d10..f73dbb269d 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -646,7 +646,13 @@ narrow-to-defun (narrow-to-region beg end)))) =20 (defvar insert-pair-alist - '((?\( ?\)) (?\[ ?\]) (?\{ ?\}) (?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\'= )) + (append '((?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\')) + (let (alist) + (map-char-table + (lambda (open close) + (when (< open close) (push (list open close) alist))) + (unicode-property-table-internal 'paired-bracket)) + (nreverse alist))) "Alist of paired characters inserted by `insert-pair'. Each element looks like (OPEN-CHAR CLOSE-CHAR) or (COMMAND-CHAR OPEN-CHAR CLOSE-CHAR). The characters OPEN-CHAR and CLOSE-CHAR From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 15:34:47 2019 Received: (at 35480-done) by debbugs.gnu.org; 5 May 2019 19:34:47 +0000 Received: from localhost ([127.0.0.1]:54909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNMuN-0002wg-Bl for submit@debbugs.gnu.org; Sun, 05 May 2019 15:34:47 -0400 Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:29497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNMuL-0002wW-3e for 35480-done@debbugs.gnu.org; Sun, 05 May 2019 15:34:45 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BA657140C71; Sun, 5 May 2019 19:34:43 +0000 (UTC) Received: from pdx1-sub0-mail-a53.g.dreamhost.com (100-96-80-14.trex.outbound.svc.cluster.local [100.96.80.14]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 46F84141546; Sun, 5 May 2019 19:34:43 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a53.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 05 May 2019 19:34:43 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Battle-Reaction: 6696abce36f6cf45_1557084883600_2815247722 X-MC-Loop-Signature: 1557084883600:1848336413 X-MC-Ingress-Time: 1557084883599 Received: from pdx1-sub0-mail-a53.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTP id 06B7280974; Sun, 5 May 2019 12:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=QfQnER s1lTgx/oyIcO7MUV+5UlI=; b=na6PdFd9SuTYyW4ht17WJTQHkeQh9s7ir8xEIK Vwq1nRMcTYZVLWsktt2E8APlP+FrfaDEOTpg4BTPEvM4XrJbhAGzMGfkssE56dCl JlFTK9pUpSJye//Sn7MraCKOCWcegr6lfivMYlNsrd6k98jb/ZQEeqhY+JdUetW4 jBjh0= Received: from mail.jurta.org (m91-129-107-198.cust.tele2.ee [91.129.107.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTPSA id 71E6B80970; Sun, 5 May 2019 12:34:35 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a53 From: Juri Linkov To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#35480: insert-wide-parentheses Organization: LINKOV.NET References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> Date: Sun, 05 May 2019 22:34:20 +0300 In-Reply-To: <87y33rw9n4.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 30 Apr 2019 23:15:27 +0300") Message-ID: <87y33kvgoz.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrjeehgddugeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrdduleeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrudelkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehjihgurghnnhhisehjihgurghnnhhirdhorhhgnecuvehluhhsthgvrhfuihiivgeptd Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35480-done Cc: 35480-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>> M-( is insert-parentheses, so >>>> M-=EF=BC=88 should be insert-wide-parentheses. >> >> JL> (define-key esc-map "=EF=BC=88" 'insert-pair) >> JL> (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=88 ?\=EF=BC= =89)) >> >> OK but now it looks like >> perl -C -wple 's/\d+/chr $&/eg;' >> ((=EF=BC=88 =EF=BC=88 =EF=BC=89) >> (( )) >> ([ ]) >> ({ }) >> (< >) >> (" ") >> (' ') >> (` ')) >> >> So I bet just >> >> (add-to-list 'insert-pair-alist '(?\=EF=BC=88 ?\=EF=BC=89)) >> >> is good enough. Anyways, I'm hoping the emacs authors will add this to >> the defaults. >> >> In fact they need to add wide versions of all those current narrow ite= ms there. > > OK, this adds all Unicode pairs to the default: Pushed to master and closed. From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 18:27:26 2019 Received: (at 35480) by debbugs.gnu.org; 5 May 2019 22:27:26 +0000 Received: from localhost ([127.0.0.1]:55124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNPbR-0008Cp-ST for submit@debbugs.gnu.org; Sun, 05 May 2019 18:27:26 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:44015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNPbQ-0008Ch-Hw for 35480@debbugs.gnu.org; Sun, 05 May 2019 18:27:25 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44y0qG3dsXz1rXhF; Mon, 6 May 2019 00:27:22 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44y0qG1gjBz1qqkc; Mon, 6 May 2019 00:27:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id f4FNp2dyOFem; Mon, 6 May 2019 00:27:21 +0200 (CEST) X-Auth-Info: sFV/0+sQY4zr6Cp/K5qWuvkIIRu4KCTgKKn6whfTpXda89wXq1I5VcUeRbWaBlwv Received: from igel.home (ppp-46-244-180-226.dynamic.mnet-online.de [46.244.180.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 6 May 2019 00:27:21 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id CDB542C12C7; Mon, 6 May 2019 00:27:20 +0200 (CEST) From: Andreas Schwab To: Juri Linkov Subject: Re: bug#35480: insert-wide-parentheses References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> X-Yow: BEEP-BEEP!! I'm a '49 STUDEBAKER!! Date: Mon, 06 May 2019 00:27:20 +0200 In-Reply-To: <87y33rw9n4.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 30 Apr 2019 23:15:27 +0300") Message-ID: <87ftpsbkqf.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35480 Cc: 35480@debbugs.gnu.org, =?utf-8?B?56mN5Li55bC8?= Dan Jacobson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Apr 30 2019, Juri Linkov wrote: > OK, this adds all Unicode pairs to the default: > > diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el > index d10d5f0d10..f73dbb269d 100644 > --- a/lisp/emacs-lisp/lisp.el > +++ b/lisp/emacs-lisp/lisp.el > @@ -646,7 +646,13 @@ narrow-to-defun > (narrow-to-region beg end)))) > > (defvar insert-pair-alist > - '((?\( ?\)) (?\[ ?\]) (?\{ ?\}) (?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\')) > + (append '((?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\')) > + (let (alist) > + (map-char-table > + (lambda (open close) > + (when (< open close) (push (list open close) alist))) > + (unicode-property-table-internal 'paired-bracket)) > + (nreverse alist))) Loading /home/abuild/rpmbuild/BUILD/emacs-27.0.50/lisp/emacs-lisp/lisp.el (source)... Wrong type argument: char-table-p, nil make[2]: *** [Makefile:808: bootstrap-emacs.pdmp] Error 255 Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 22:35:39 2019 Received: (at 35480) by debbugs.gnu.org; 6 May 2019 02:35:39 +0000 Received: from localhost ([127.0.0.1]:55374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNTTe-0004ED-NX for submit@debbugs.gnu.org; Sun, 05 May 2019 22:35:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNTTc-0004E0-MR for 35480@debbugs.gnu.org; Sun, 05 May 2019 22:35:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNTTW-0000LG-1P; Sun, 05 May 2019 22:35:30 -0400 Received: from [176.228.60.248] (port=2855 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNTTV-0000DD-Dz; Sun, 05 May 2019 22:35:29 -0400 Date: Mon, 06 May 2019 05:35:12 +0300 Message-Id: <83tve8jonz.fsf@gnu.org> From: Eli Zaretskii To: Andreas Schwab In-reply-to: <87ftpsbkqf.fsf@igel.home> (message from Andreas Schwab on Mon, 06 May 2019 00:27:20 +0200) Subject: Re: bug#35480: insert-wide-parentheses References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> <87ftpsbkqf.fsf@igel.home> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35480 Cc: jidanni@jidanni.org, 35480@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Date: Mon, 06 May 2019 00:27:20 +0200 > Cc: 積丹尼 Dan Jacobson , > 35480@debbugs.gnu.org > > > OK, this adds all Unicode pairs to the default: > > > > diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el > > index d10d5f0d10..f73dbb269d 100644 > > --- a/lisp/emacs-lisp/lisp.el > > +++ b/lisp/emacs-lisp/lisp.el > > @@ -646,7 +646,13 @@ narrow-to-defun > > (narrow-to-region beg end)))) > > > > (defvar insert-pair-alist > > - '((?\( ?\)) (?\[ ?\]) (?\{ ?\}) (?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\')) > > + (append '((?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\')) > > + (let (alist) > > + (map-char-table > > + (lambda (open close) > > + (when (< open close) (push (list open close) alist))) > > + (unicode-property-table-internal 'paired-bracket)) > > + (nreverse alist))) > > Loading /home/abuild/rpmbuild/BUILD/emacs-27.0.50/lisp/emacs-lisp/lisp.el (source)... > Wrong type argument: char-table-p, nil > make[2]: *** [Makefile:808: bootstrap-emacs.pdmp] Error 255 This change has another, IMO more serious, problem: it uses the bidi-bracket property of characters entirely out of its intended domain. The _only_ valid usage of that property is in the context of the UBA, the Unicode Bidirectional Algorithm, used for reordering bidirectional text for display. Pairing syntactical units in program text is something entirely different. From debbugs-submit-bounces@debbugs.gnu.org Mon May 06 15:33:58 2019 Received: (at 35480) by debbugs.gnu.org; 6 May 2019 19:33:58 +0000 Received: from localhost ([127.0.0.1]:57467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNjN8-00086X-9b for submit@debbugs.gnu.org; Mon, 06 May 2019 15:33:58 -0400 Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:42562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNjN3-00086M-TS for 35480@debbugs.gnu.org; Mon, 06 May 2019 15:33:56 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A4E4F5E30FE; Mon, 6 May 2019 19:33:50 +0000 (UTC) Received: from pdx1-sub0-mail-a44.g.dreamhost.com (100-96-79-6.trex.outbound.svc.cluster.local [100.96.79.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DC37A5E26E4; Mon, 6 May 2019 19:33:48 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a44.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Mon, 06 May 2019 19:33:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Callous-Rock: 30d67fee7d3e19e8_1557171230327_3906228146 X-MC-Loop-Signature: 1557171230327:3536074886 X-MC-Ingress-Time: 1557171230326 Received: from pdx1-sub0-mail-a44.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a44.g.dreamhost.com (Postfix) with ESMTP id A09DD82A26; Mon, 6 May 2019 12:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=5eAHIh ojOsR9aXKjL38CHz/shGI=; b=PyxzGcvrwKkM80K9fBhT90XvlXpl/8jANz0ClM kINK+2iG3n7xtitbDQK9Zmk8ITNvBZLE3yTsj0c0NxeYn6OUSq7fjH8elNmVMBLf IG/j3j9Ku5WP0Fu1xx/j6U7m8LtSUBuRo/xa5a9zzdOgVhE5QCsXJHFjP9iTKaxb 4V55g= Received: from mail.jurta.org (m91-129-97-211.cust.tele2.ee [91.129.97.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a44.g.dreamhost.com (Postfix) with ESMTPSA id 057A682A22; Mon, 6 May 2019 12:33:40 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a44 From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#35480: insert-wide-parentheses Organization: LINKOV.NET References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> <87ftpsbkqf.fsf@igel.home> <83tve8jonz.fsf@gnu.org> Date: Mon, 06 May 2019 22:33:18 +0300 In-Reply-To: <83tve8jonz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 May 2019 05:35:12 +0300") Message-ID: <87d0kvv0n5.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrjeekgdegudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdeljedrvdduudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeljedrvdduuddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35480 Cc: 35480@debbugs.gnu.org, Andreas Schwab , jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> Loading /home/abuild/rpmbuild/BUILD/emacs-27.0.50/lisp/emacs-lisp/lisp= .el (source)... >> Wrong type argument: char-table-p, nil >> make[2]: *** [Makefile:808: bootstrap-emacs.pdmp] Error 255 This is very strange. I recompiled several times and had no such error. > This change has another, IMO more serious, problem: it uses the > bidi-bracket property of characters entirely out of its intended > domain. The _only_ valid usage of that property is in the context of > the UBA, the Unicode Bidirectional Algorithm, used for reordering > bidirectional text for display. Pairing syntactical units in program > text is something entirely different. I reverted to the old default value, and changed defvar to defcustom. Also tried to add a button that would pre-fill the default value with Unicode bracket pairs, but I see no way to do this because customize's :options is limited to =E2=80=98hook=E2=80=99, =E2=80=98plist= =E2=80=99, =E2=80=98alist=E2=80=99 types only, alas. From debbugs-submit-bounces@debbugs.gnu.org Mon May 06 18:48:08 2019 Received: (at 35480) by debbugs.gnu.org; 6 May 2019 22:48:08 +0000 Received: from localhost ([127.0.0.1]:57731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNmP2-0000UO-9K for submit@debbugs.gnu.org; Mon, 06 May 2019 18:48:08 -0400 Received: from mail-it1-f174.google.com ([209.85.166.174]:40066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNmP1-0000Tz-4Z for 35480@debbugs.gnu.org; Mon, 06 May 2019 18:48:07 -0400 Received: by mail-it1-f174.google.com with SMTP id g71so7591526ita.5 for <35480@debbugs.gnu.org>; Mon, 06 May 2019 15:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=xCZodXVKOZsD+q9Q3csWXZ7RxitjXZ6u+UO3pcuq/kM=; b=JVDMvgoKFLSWXmM789MmIrqdf0+l86/y2vsqv9Gze6f5KPl+b/QaRwu6ashvTCi3J+ vbLrAxyN24P+mwt0jSCNDjL2MmvZo2fKaxzpdz0QZJ3J1592LsRMSYVG1+o0plymH4mg jAyk/6EcanaPqmQKJfDbHSgMvfhwrxfK9GurbCNgkrzZzMU22xbKhHrAdZtIP4KvG3vt lGFmZjdDeleP+ecvauH2CTyHGRZlI0oFGRKtS7mWThFMG5p8gKw65tS/iO2J02j3FZIV P0jTY47PfwEN4Jm2mRT5sRym1iNXyl/HFnhVs1bYsqlihExlBO/luteOzlcIftIGJPFz 4RRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=xCZodXVKOZsD+q9Q3csWXZ7RxitjXZ6u+UO3pcuq/kM=; b=tKp4kndV/7fKbHFu03F2U8sVbTBdatwlZLtfTJXUQr1vMbL9ynPB1AKfylE6Z/MhPS D9p98fSx9cTmK2LM5BinmCwT4zeCUhWw8KRKSx7gyqeGG++j0kCm5/zbOL/BXHIQWpW0 gxnMyrn/rpdHu2Gjy8gd3FPX6SaqXyflxGDukbzcVek5DwckX5cYxNq7j3xdQbLrZCez i4qiveRzP4SkXSL67aLlIKK1jUpadGm+HuWVh+xqtoClwds9R7OhmTZTIe0RGDI0ph0D lmjOSp5UbN1mLmWnJ2i/HoYkQBUrPK7ythWNFnFmKkzL4RgJCkYGRj4EoSrIj4eAWgia Qy4w== X-Gm-Message-State: APjAAAWV+2mzJASrv21DCyZ3QwmdJgRs5adZhi2jJr568xckhzmyTF6S xi3PRz/YxNMqrZKOnMmk9bw= X-Google-Smtp-Source: APXvYqwaTChzlN/61KWlM6OgLLTZpd97e28o+tNFDabm26ZH3uzJ7gv/h2qdPo/ReotP9QuzfIcXVw== X-Received: by 2002:a24:96c1:: with SMTP id z184mr17812382itd.18.1557182881386; Mon, 06 May 2019 15:48:01 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id g13sm721861ioh.61.2019.05.06.15.47.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 15:48:00 -0700 (PDT) From: Noam Postavsky To: Juri Linkov Subject: Re: bug#35480: insert-wide-parentheses References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> <87ftpsbkqf.fsf@igel.home> <83tve8jonz.fsf@gnu.org> <87d0kvv0n5.fsf@mail.linkov.net> Date: Mon, 06 May 2019 18:47:59 -0400 In-Reply-To: <87d0kvv0n5.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 06 May 2019 22:33:18 +0300") Message-ID: <87mujzkxnk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35480 Cc: Eli Zaretskii , jidanni@jidanni.org, Andreas Schwab , 35480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > Also tried to add a button that would pre-fill the default value > with Unicode bracket pairs, but I see no way to do this because > customize's :options is limited to =E2=80=98hook=E2=80=99, =E2=80=98plist= =E2=80=99, =E2=80=98alist=E2=80=99 types > only, alas. Can't you use the alist type? The options is called insert-pair-ALIST after all. From debbugs-submit-bounces@debbugs.gnu.org Tue May 07 16:30:08 2019 Received: (at 35480) by debbugs.gnu.org; 7 May 2019 20:30:08 +0000 Received: from localhost ([127.0.0.1]:59736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO6j2-0003gJ-I8 for submit@debbugs.gnu.org; Tue, 07 May 2019 16:30:08 -0400 Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:48576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO6iz-0003fF-TO for 35480@debbugs.gnu.org; Tue, 07 May 2019 16:30:07 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id ABA1D500595; Tue, 7 May 2019 20:30:03 +0000 (UTC) Received: from pdx1-sub0-mail-a5.g.dreamhost.com (100-96-14-7.trex.outbound.svc.cluster.local [100.96.14.7]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8AF88500E82; Tue, 7 May 2019 20:30:02 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a5.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Tue, 07 May 2019 20:30:03 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Abiding-Whispering: 1bc0cf0e7fb2a699_1557261003495_3495850717 X-MC-Loop-Signature: 1557261003495:1629221418 X-MC-Ingress-Time: 1557261003494 Received: from pdx1-sub0-mail-a5.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a5.g.dreamhost.com (Postfix) with ESMTP id 78A567FA42; Tue, 7 May 2019 13:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=43gtO4 cc8yn0k1KoOPYS7tSheCs=; b=rtEoAV5kREbOlcbcRJWdWGcrsIakJu/3/6aOOr k56niAspFGs2PAAJCZ7bW2A9ORuCDwFXFtsKLtSBTgxI28ZfrtiJvIxdBgYlkYV5 gKEVfW+tgUbdHFnRrK6XUBpLB/C2mSlI1D58it2KFZIDsL01YwdpnJZ8+oQ0zkMv ulH+s= Received: from mail.jurta.org (m91-129-99-37.cust.tele2.ee [91.129.99.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a5.g.dreamhost.com (Postfix) with ESMTPSA id C3F767FA3C; Tue, 7 May 2019 13:29:55 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a5 From: Juri Linkov To: Noam Postavsky Subject: Re: bug#35480: insert-wide-parentheses Organization: LINKOV.NET References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> <87ftpsbkqf.fsf@igel.home> <83tve8jonz.fsf@gnu.org> <87d0kvv0n5.fsf@mail.linkov.net> <87mujzkxnk.fsf@gmail.com> Date: Tue, 07 May 2019 23:21:57 +0300 In-Reply-To: <87mujzkxnk.fsf@gmail.com> (Noam Postavsky's message of "Mon, 06 May 2019 18:47:59 -0400") Message-ID: <875zqmul2h.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrkedtgdduheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrdefjeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrfeejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepnhhpohhsthgrvhhssehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35480 Cc: Eli Zaretskii , jidanni@jidanni.org, Andreas Schwab , 35480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> Also tried to add a button that would pre-fill the default value >> with Unicode bracket pairs, but I see no way to do this because >> customize's :options is limited to =E2=80=98hook=E2=80=99, =E2=80=98pl= ist=E2=80=99, =E2=80=98alist=E2=80=99 types >> only, alas. > > Can't you use the alist type? The options is called insert-pair-ALIST > after all. I tried the alist type: (defcustom insert-pair-alist '((?\( ?\)) (?\[ ?\]) (?\{ ?\}) (?\< ?\>) (?\" ?\") (?\' ?\') (?\` ?\')= ) "Alist of paired characters inserted by `insert-pair'." :type '(alist :key-type (character :tag "Open/Command") :value-type (choice (list :tag "Pair" (character :tag "Close")) (list :tag "Triplet" (character :tag "Open") (character :tag "Close")))) :options '(?\=EF=BC=88) :group 'lisp :version "27.1") but its :options allows specifying only keys, not alist values. From unknown Wed Jun 18 23:10:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Jun 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator