From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: How to disable warnings about single quotes in emacs-29 Date: Tue, 07 Jun 2022 10:35:47 +0000 Message-ID: <87y1y821ta.fsf@posteo.net> References: <87y1y8n6wh.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 07 13:35:25 2022 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 1nyXUb-00055B-Du for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jun 2022 13:35:25 +0200 Original-Received: from localhost ([::1]:49172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyXUZ-0005ZJ-Ui for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jun 2022 07:35:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyWeR-0000w3-23 for emacs-devel@gnu.org; Tue, 07 Jun 2022 06:41:31 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:56105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyWeN-0007sA-PA for emacs-devel@gnu.org; Tue, 07 Jun 2022 06:41:29 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A4824240107 for ; Tue, 7 Jun 2022 12:41:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1654598485; bh=oBFQ/6w8n+uvWSDZg3Ptj4IxLUIEfzz61gx2Jc/2MCo=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=gMJrEyTQTSeqk5sRAOghixDSIjUqanVtb5h/ZTFM/tERJvxwscL1dcSLdSAYsKnZ2 4V75PMnfG/2wBbjccuYKlX4/RMO5rp93SJ0ByXX2nEgccW2gBQfo6frEELS6+JdJf/ Mm88o3f+S9nIw/400tRIs6GAixg4F5s7ZxDrDF54NnI3mRR00iEEZz2DkLRBI+Bh38 qZS5dgUN9ZlBBRq3qpoGZsqxVOg+0TR5LkwtwPEfbNRo7dGs8le71gtDK2T1Nvt3un /BbN0YcKG+BS+RS4DaGE8vaihwf/MBnW4KPfi7tuLqO2NMd4C7AZbGeFZNdzOh5Zol rXZOPEd0P4e1Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LHRjc3L36z6tm4; Tue, 7 Jun 2022 12:41:24 +0200 (CEST) In-reply-to: <87y1y8n6wh.fsf@gnus.org> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K Received-SPF: pass client-ip=185.67.36.66; envelope-from=thievol@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:290848 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Thierry Volpiatto writes: > >> I don't want to display 'foo as =E2=80=99foo, I even don't know how to t= ype this >> on my keyboard, I was quite quiet during some time by setting >> text-quoting-style to grave, but it seems not enough. > > (That disables the ' =3D> =E2=80=99 translation for yourself, but not for= others > that use the package, of course.) Yes, right. >> However I had to fix all the quotes in helm with "\\=3D". I had to write >> code to do this at once. But now docstrings in source code looks ugly >> and I will have to remember to use "\\=3D" each time I quote something >> like `foo', really a pain. > > There no warnings for `foo', surely? Yes there is, to stop warning we have to write `foo\\=3D', same for e.g. "don't do this" we need "don\\=3D't do this" to avoid warnings. > But if you want all quotes to never be displayed as the Unicode quotes > for all users of your packages, then nothing has changed in about a > decade -- you have to escape the quotes, because (by default) they're > translated. The only thing that's new is that the byte compilation > warns when Would be great to be able to put a local variable like text-quoting-style in files or .dir-locals to stop this. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmKfK1ITHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk6G3C/9FZUyZxSeZovdFANc37Qz7jIqQgBLt xquPT09c2ZcZAgLqX5MY7hGDAyoajdsEciCu4yLuiCoRN2RIFm/WnMrYvCm7h/1E KQ+k2iSZs5hLWfm6OPW+nRNVQIchos19a1AayHlMPRw/Q1qJm5pXMPF3NXHT4ql7 +fTSh2J4/nGzeAPVnBOU10VrPXwFbKSgx0/VzXNMF98U6wSMwuqVkJmMML1pkIQ2 mCBVjvvvcckWamFARcrNxRO8tG+jMPx5RKSYq4YyeaSM7GV1/muB0H/u0glQCScI DmD5HTjF0l6kyvo5pomG+g9q4+5+071yvhz+oSxfMpN88OpQvfwtlo4UNoP3ia5V SxZ5Qv3nftDbO+L7MxmUONcGCkSuXOlRrsN/prIh1DMHPhGL7zBxkgkIOLbRE2C6 E8/Jx0R/Pbx9GNUON/rMX/M2GTsEVxW9wqwg9Q3O3Psr1aaiz1HJVE49RgdMJVj1 a6ZxfgyHGkyoLk8sfO/LD48ZwH7zfGJLwpU= =sKnP -----END PGP SIGNATURE----- --=-=-=--