all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: aaptel@suse.com, emacs-devel@gnu.org
Subject: Re: Quoting t and nil in docstrings (was: [Emacs-diffs] master b952385: Revert "Fix typo in add-hook doc string")
Date: Thu, 07 Feb 2019 22:19:41 -0500	[thread overview]
Message-ID: <E1grwhZ-0005SO-DJ@fencepost.gnu.org> (raw)
In-Reply-To: <jwvzhr76959.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Thu, 07 Feb 2019 08:12:04 -0500)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > This is as good an opportunity as any to question our long-standing
  > convention that the symbols `nil` and `t` are treated specially in
  > docstrings in the sense that we don't surround them with the customary
  > `...'.

I decided on that exception because generally it is convenient.
Symbols as fundamental as t and nil don't need markup.

  > I think we could at least change our convention to say that nil and
  > t don't have to be quoted rather than to say that they should not
  > be quoted.

I would agree with saying it is ok to give them quotes in special cases
where that makes the text clearer.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





      parent reply	other threads:[~2019-02-08  3:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190207085733.4723.6852@vcs0.savannah.gnu.org>
     [not found] ` <20190207085734.B17CF2047A@vcs0.savannah.gnu.org>
2019-02-07 13:12   ` Quoting t and nil in docstrings (was: [Emacs-diffs] master b952385: Revert "Fix typo in add-hook doc string") Stefan Monnier
2019-02-07 13:30     ` Quoting t and nil in docstrings Robert Pluim
2019-02-07 14:52     ` Quoting t and nil in docstrings (was: [Emacs-diffs] master b952385: Revert "Fix typo in add-hook doc string") Drew Adams
2019-02-08  3:19     ` Richard Stallman [this message]

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=E1grwhZ-0005SO-DJ@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=aaptel@suse.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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.