all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Phil Sainty <psainty@orcon.net.nz>,
	 "T.V Raman" <raman@google.com>,
	Thierry Volpiatto <thievol@posteo.net>,
	 emacs-devel@gnu.org
Subject: Re: How to disable warnings about single quotes in emacs-29
Date: Wed, 08 Jun 2022 20:39:18 +0800	[thread overview]
Message-ID: <87sfofqqh5.fsf@yahoo.com> (raw)
In-Reply-To: <8735gfbc5z.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 08 Jun 2022 13:57:28 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> It's not warning about style errors -- doc strings are written in a
> markup language, and it's warning about errors in that markup language.
> Putting "For instance, (setq foo 'bar)" in a doc string is wrong -- the
> doc string displayed in *Help* will be syntactically wrong.

But the byte compiler compiles Emacs Lisp, not doc strings.  I think we
should move everything related to doc string markup into checkdoc, and
then resolve the TODO about integrating that with the byte compiler,
perhaps by adding a new warning type `checkdoc' for warnings from
checkdoc.

> (And we use the byte compiler to report about a bunch of stylistic
> problems, like the usage of save-excursion+set-buffer.)

Those stylistic problems affect Lisp, not help buffers.



  reply	other threads:[~2022-06-08 12:39 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 [this message]
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
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=87sfofqqh5.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=psainty@orcon.net.nz \
    --cc=raman@google.com \
    --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.