From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Proposal: make insert-pair-alist buffer local Date: Thu, 23 Dec 2021 21:28:53 +0800 Message-ID: <87o857h2lm.fsf@yahoo.com> References: <871r23ijcy.fsf@yahoo.com> <878rwbv53g.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4728"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 23 14:32:33 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n0OCu-00010f-Oj for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 14:32:32 +0100 Original-Received: from localhost ([::1]:39794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0OCt-0002vW-7t for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 08:32:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0O9g-0000yZ-D4 for emacs-devel@gnu.org; Thu, 23 Dec 2021 08:29:12 -0500 Original-Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]:34903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0O9d-0001iO-3w for emacs-devel@gnu.org; Thu, 23 Dec 2021 08:29:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640266146; bh=KVwv5YGrLNnATpnxyQ5VAOimjqER1b1Wek+nQ2TzS+w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=U++b4DtKMmQSf9gxBiEdmQ6GDlgGgvC/gw8mlZmf+3PodioNISFYFOETrRCuUlvaHCKxaYnZdmF/nv4ZxhC7lGm2UhhBBi2MfEpEMzIKsmh4G0/zT3HIQ1vst+oWXnqwmPqYlZOQVw4TF6n2wU0FRewHy85pabnDR2hPMKsOB5ys0n0xo+mr0PT0NCoLnarC5RlEk9GB4mMxSGB6HixyMkzfRoPlRm3kJZeRJrhUM7iYo22j8HT7ID5eoDOnYl7vCOujCsCQFD/ZwqG0e9rx4mY4KI/sahZ5EpFy8hQDgrUaHCEIFdYj79vctPNCcRHQsrVEoZIB178nWD1Vc48YbA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640266146; bh=qEmF8pQJiQbGfyIcE0P9F2Z+bjzmKmEZUTlsG5ILk+p=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NI0qoOMRftvetTKqfcRDyAntRx2KK00tOl8WPO+DcI/RbfpYwYCu4lc1Fp26I+t4CN/tph6NeLfqvyPZBAh0akRTLqctIj89eNcidy/JDovWmXxx8zFRLvemq1wVO7i2TxNT3k+We6Az1+dIop797eZ28qm0PmJ8C9tomv3v1b2Gioz5DKgKL6Bq7SUo1iLKI/QsrrygJd0eRck/O275OcW5/8qP9r7x5R6WCSZnQRiJhdnG3uQUllyUb/b1A+0OgcwGizdfz9isWx/Y35Xrou6iDmxRjgKZ0u+0y6mb/7RnUoSBN9DJkVKo30i2HD0zGfVxhSXljXS43ZBVbewVsA== X-YMail-OSG: bDBzfPQVM1n6iYT4AeErUvw8kO26hxyrH4672F_DUUwC838ZW5tOv2tG9wbE_md p5ca7Ldv3XSIds.lJ8DyC4Krnu.60TfNFeQBSBNUxDhHNkRceSdoL.3UDTByudLyxVrjUKHpJeZr 3MQDfF41xIaIHJLAJJNp0zSeWWZ1gtF7mjLZ.fKfkJHtvqPcXXkM7ppwL4KK4DI82Fp7jYrBVK7F mY_pIB8Zq35PaL2vWxX88LCNKi3.B2Uj1hWv4Y91gHxods8qmzaaIsdf2jfWaMTQ7tIUhy8E2Wdn f3Dw8tqoVhJoja_RYpyCmNj0J36KenL8XYwEOmp29eUAwWC1L3CFceNR9zx_Z_TfktG5Gsei7qIo N9dRnaKuT8qNtfKETOsQsVrdkri4nDFf0a8FtTGg8.J7csR2Tt53.eRZprr0HtGVcjoqzaz1qW4r uC8oYoCua80dx_1bjOd5HMwjhk1t1YFEKCbnzvopceRVjt8d6BElGiVZ__SBOIXS8vCWPWqzuUgZ xyEox7FaeOILl7uXAhmtbPz2dRSzYc0FipvaT7K_wh4EoiRcU6e82Ga_Z2xohDeXAXOlxDDma4Vt onjpEaclRFhvsIyJ8vQ4JQvXTPJZYmQv72lN11ZY4N5mVacAmrSLxnsjLA5tB7TOLGQ15Efojv8E oejHwgjAqRGLmhyi7GouwkjxxbYNlslqqGDLiE2RiIxBh7EeEE7Oe.G2e8bc8cu5vrhjJADjx8J6 EnrOhS.O3Q9TC0i6pSYYPAmAYRrS_0EOxZBecXvpTSEjbO5fV3_Y5s71TaJT.4kc57m4I2jxP4HR gJPdfzAUzN.tUuEkCTqEnBt2FbD2T6mNSZlmDIu9wc X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 23 Dec 2021 13:29:06 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 838a18170f2ddceb8c749c55904cf706; Thu, 23 Dec 2021 13:28:59 +0000 (UTC) In-Reply-To: <878rwbv53g.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Thu, 23 Dec 2021 14:11:15 +0100") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.31; envelope-from=luangruo@yahoo.com; helo=sonic313-56.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282950 Archived-At: =C3=93scar Fuentes writes: >>> If insert-pair-alist was buffer-local, we could have different >>> auto-pairs for different modes: e.g. //,**, etc. in org-mode > I think he is not asking about how to solve his particular problem, but > suggesting a possible improvement to Emacs. What I was trying to say is that `insert-pair-alist' doesn't need an improvement in order to be buffer-local.