unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Renaming some functions
Date: Sun, 03 May 2020 22:59:39 -0400	[thread overview]
Message-ID: <jwv5zdce7gs.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83zhaoo2j1.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 May 2020 05:30:10 +0300")

>> Here's my first concrete renaming proposition:
>>
>>     multibyte-string-p  =>  string-multibyte-p
>>
>> Any objection?
>
> We are not renaming anything, we are discussing aliases that could
> make discoverability easier.

Yes, and a general discussion is pointless (because I'm not interested
in a general renaming.  Only in a few specific ones).  Hence this specific
proposition which should be considered in isolation.

The purpose is not to make discoverability easier.  It's to make the
namespace more regular (which then brings various potential benefits such
as easier discoverability, better code completion, ...).

This function is used 51 times in Emacs's own source code, and once in
GNU ELPA, so changing it has a fairly low impact.  The only reason
I care about it is because I happen to use it fairly often in `M-:` and
after getting confused between the two names enough times, I added an
alias for myself and now I think it's time we admit that the original
name was simply an error.


        Stefan




  reply	other threads:[~2020-05-04  2:59 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 [this message]
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
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=jwv5zdce7gs.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).