From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35480: insert-wide-parentheses Date: Sun, 05 May 2019 22:34:20 +0300 Organization: LINKOV.NET Message-ID: <87y33kvgoz.fsf@mail.linkov.net> References: <87pnp5euh9.8.fsf@jidanni.org> <87lfzswpi1.fsf@mail.linkov.net> <87muk8b6ci.8.fsf@jidanni.org> <87y33rw9n4.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="222779"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 35480-done@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 05 21:35:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hNMuq-000voq-Dx for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 May 2019 21:35:16 +0200 Original-Received: from localhost ([127.0.0.1]:44997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNMuo-0002G9-Er for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 May 2019 15:35:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNMud-0002DT-HL for bug-gnu-emacs@gnu.org; Sun, 05 May 2019 15:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNMuc-00047N-JO for bug-gnu-emacs@gnu.org; Sun, 05 May 2019 15:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNMuc-00045k-Em for bug-gnu-emacs@gnu.org; Sun, 05 May 2019 15:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNMuc-0002xM-5W for bug-gnu-emacs@gnu.org; Sun, 05 May 2019 15:35:02 -0400 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 May 2019 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 35480 X-GNU-PR-Package: emacs Mail-Followup-To: 35480@debbugs.gnu.org, juri@linkov.net, jidanni@jidanni.org Original-Received: via spool by 35480-done@debbugs.gnu.org id=D35480.155708488711331 (code D ref 35480); Sun, 05 May 2019 19:35:01 +0000 Original-Received: (at 35480-done) by debbugs.gnu.org; 5 May 2019 19:34:47 +0000 Original-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 Original-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 Original-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) Original-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 Original-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 Original-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= Original-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 In-Reply-To: <87y33rw9n4.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 30 Apr 2019 23:15:27 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrjeehgddugeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrdduleeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrudelkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehjihgurghnnhhisehjihgurghnnhhirdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158804 Archived-At: >>>> 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.