all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,  emacs-devel@gnu.org
Subject: Re: How to disable warnings about single quotes in emacs-29
Date: Tue, 07 Jun 2022 08:30:43 -0400	[thread overview]
Message-ID: <jwvbkv4lkua.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87y1y821ta.fsf@posteo.net> (Thierry Volpiatto's message of "Tue,  07 Jun 2022 10:35:47 +0000")

>> 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.
Emacs's own source compiles without emitting any such warnings, so you
can be sure that there are at least *some* cases where "don't" and
"`foo'" does not cause a warning, since we have many of those in
our docstrings.  The things that tend to cause warnings are:

   Set this to 'foo in order to crok the struble.

which should be rewritten to:

   Set this to `foo' in order to crok the struble.


-- Stefan




  parent reply	other threads:[~2022-06-07 12:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07  7:01 How to disable warnings about single quotes in emacs-29 Thierry Volpiatto
2022-06-07  8:45 ` Philip Kaludercic
2022-06-07  8:48   ` Thierry Volpiatto
2022-06-07  9:12 ` Lars Ingebrigtsen
2022-06-07  9:33   ` Thierry Volpiatto
2022-06-07  9:45     ` Lars Ingebrigtsen
2022-06-07 10:35       ` Thierry Volpiatto
2022-06-07 10:47         ` Lars Ingebrigtsen
2022-06-07 11:06           ` Thierry Volpiatto
2022-06-07 11:31             ` Lars Ingebrigtsen
2022-06-07 12:20               ` Thierry Volpiatto
2022-06-07 17:50                 ` Lars Ingebrigtsen
2022-06-07 18:30                   ` Thierry Volpiatto
2022-06-07 18:49                     ` Stefan Monnier
2022-06-07 19:42                   ` T.V Raman
2022-06-08  0:32                     ` Phil Sainty
2022-06-08  1:14                       ` Po Lu
2022-06-08  3:28                         ` Phil Sainty
2022-06-08  4:49                           ` Po Lu
2022-06-08  5:12                             ` Thierry Volpiatto
2022-06-08  9:44                               ` Michael Heerdegen
2022-06-08 11:57                             ` Lars Ingebrigtsen
2022-06-08 12:39                               ` Po Lu
2022-06-08 12:52                                 ` Lars Ingebrigtsen
2022-06-08 12:55                                   ` Po Lu
2022-06-08 11:53                     ` Lars Ingebrigtsen
2022-06-07 12:30         ` Stefan Monnier [this message]
2022-06-07 14:28           ` Kaushal Modi
2022-06-07 15:06             ` Thierry Volpiatto
2022-06-07 15:08           ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbkv4lkua.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=thievol@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.