From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: How to disable warnings about single quotes in emacs-29 Date: Tue, 7 Jun 2022 10:28:11 -0400 Message-ID: References: <87y1y8n6wh.fsf@gnus.org> <87y1y821ta.fsf@posteo.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000077157805e0dc6655" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19231"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thierry Volpiatto , Lars Ingebrigtsen , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 07 16:29:43 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 1nyaDG-0004jw-4t for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jun 2022 16:29:42 +0200 Original-Received: from localhost ([::1]:42404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyaDE-0001RM-Et for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jun 2022 10:29:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyaC1-0000Yr-N9 for emacs-devel@gnu.org; Tue, 07 Jun 2022 10:28:25 -0400 Original-Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:32933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyaBx-00036n-QP for emacs-devel@gnu.org; Tue, 07 Jun 2022 10:28:25 -0400 Original-Received: by mail-pj1-x1036.google.com with SMTP id hv24-20020a17090ae41800b001e33eebdb5dso14006729pjb.0 for ; Tue, 07 Jun 2022 07:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oLQC06mT6BNGCIWcHzQPfEeT+zvIS8RB51t9oDVuZ9E=; b=aYDd0zZiNLeyB/ZK9SG/Y95mKA6E7rgKWbzuYM0ooko/m2NQXgI6yha2Mnf5ndDFyh aZ7r6h1RP5sohhgr962nIS2Qty8KDmOY2H5awDKLGKOlTVFuibJvZNkP8oxEA9XfcVHv SIU8nlifq2WzoS9aEW1XmYGg8H4enRmD0gNHpdCqD5aOPFt46w5OohVKq3GkpNDgfXS2 y0NsD2q9iChzvyy4fySv1jjPcFNLBXKNMG3FjSUN3iUMruVpbYM13MFdIxucqG6XTkEU eP82EMgJvgXTUq0hfQpuR118rz+nfQi9xrI2M+oj9sK3wi0TL6HGwVvpmeJhO0cng+Qj E6QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oLQC06mT6BNGCIWcHzQPfEeT+zvIS8RB51t9oDVuZ9E=; b=Wzhw+e1GKfqbzVPj4RpLNABD7pMARLcIurPIihGCKuo6Tp8GcN6u0L8mCj0Mvt6imp pOwC4CGlT72SaMBiAptxSvJKFQ1CaZnvaHjdXvJ2UX/S9L59Qp9+YlmTQj12qJRL7RIn ALT08fI9Vs+bpE2hfTqF+RBJsNyJRXO+97/GUOiSNv7T0wfzB3A5NuIedXelqQZcQFut to3Q5K82mYtlTC1mc1DkUmy7+9jD4RasyZGCltIG9rMQUw/fM0xRBvqjo5aPRM38KdIT 6gvxX+yh53hRmG1KdYrCiSPs/FeO926adzzjbp+6BnAn6X6XJoozAGXR++Lap0OOacLp KaIA== X-Gm-Message-State: AOAM531dKmiATAzl+86ikRdVItCEHLQY1htdJz8uTi5bwEiNyhO8yhlu R3Mg9CF871GNVwu/7rPFurCYYa954i8JYfj3SZc3cgt/ X-Google-Smtp-Source: ABdhPJwoLEAV/9bLwd+Geue1ppfix2eeCp/C4dlByVQFBl7gFVqibegEQGUOEBaB/RMsywzTwoU26C3zBluWdNlcAk4= X-Received: by 2002:a17:90b:3b88:b0:1e6:7aa2:4301 with SMTP id pc8-20020a17090b3b8800b001e67aa24301mr32081268pjb.118.1654612100058; Tue, 07 Jun 2022 07:28:20 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=kaushal.modi@gmail.com; helo=mail-pj1-x1036.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:290863 Archived-At: --00000000000077157805e0dc6655 Content-Type: text/plain; charset="UTF-8" On Tue, Jun 7, 2022, 8:57 AM Stefan Monnier wrote: > >> There no warnings for `foo', surely? > > Yes there is, to stop warning we have to write `foo\\=', same for > > e.g. "don't do this" we need "don\\='t do this" to avoid warnings. > > If you bump into such a warning, please report it as a bug. > +1 Also I believe that almost all of such instances were already fixed when the curved quotes feature went in (few years back). Related blog post where I summarized how to specify if you want straight quotes instead of curved in doc strings and messages: https://scripter.co/straight-and-curved-quotes-in-emacs-lisp/ Feedback is welcome (probably in a different thread). > --00000000000077157805e0dc6655 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jun = 7, 2022, 8:57 AM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> There no warnings for `foo', = surely?
> Yes there is, to stop warning we have to write `foo\\=3D', same fo= r
> e.g. "don't do this" we need "don\\=3D't do thi= s" to avoid warnings.

If you bump into such a warning, please report it as a bug.

+1=C2=A0

Also I believe that almost all = of such instances were already fixed when the curved quotes feature went in= (few years back).=C2=A0

Related blog post where I summarized how to specify if you want straight q= uotes instead of curved in doc strings and messages:=C2=A0https://scripter.c= o/straight-and-curved-quotes-in-emacs-lisp/

=
Feedback is welcome (probably in a different thread= ).=C2=A0
--00000000000077157805e0dc6655--