unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Renaming some functions
Date: Sun, 03 May 2020 23:15:57 -0400	[thread overview]
Message-ID: <E1jVRaH-000154-33@fencepost.gnu.org> (raw)
In-Reply-To: <jwv4kswg1gf.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 03 May 2020 17:21:31 -0400)

[[[ 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. ]]]

  > Here's my first concrete renaming proposition:

  >     multibyte-string-p  =>  string-multibyte-p

  > Any objection?

The actual behavior of the function is to return t if the argument is
a multibyte string, nil for any other type.  The clear name for that
is multibyte-string-p.

string-multibyte-p implies a function that accepts only strings as arguments
and returns t if the argument is multibyte.

ISTR that I thought about this when I defined that function, to choose
which of those two names to give it.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





  parent reply	other threads:[~2020-05-04  3:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 21:21 Renaming some functions Stefan Monnier
2020-05-04  0:13 ` Dmitry Gutov
2020-05-04  2:30 ` Eli Zaretskii
2020-05-04  2:59   ` Stefan Monnier
2020-05-04 14:25     ` Eli Zaretskii
2020-05-04 17:37       ` Stefan Monnier
2020-05-05  2:53         ` Richard Stallman
2020-05-05  7:18           ` Philippe Vaucher
2020-05-04  3:15 ` Richard Stallman [this message]
2020-05-04  5:11   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1jVRaH-000154-33@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).