From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Corallo <acorallo@gnu.org>
Cc: 71123@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#71123: [PATCH] Rename `subr-native-elisp` to `native-comp-function`
Date: Fri, 24 May 2024 10:37:24 +0300 [thread overview]
Message-ID: <86r0dr3bkb.fsf@gnu.org> (raw)
In-Reply-To: <yp1ikz3y8z9.fsf@fencepost.gnu.org> (message from Andrea Corallo on Fri, 24 May 2024 03:17:30 -0400)
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>
> From: Andrea Corallo <acorallo@gnu.org>
> Date: Fri, 24 May 2024 03:17:30 -0400
>
> Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
>
> > Tags: patch
> >
> > I can't remember where someone requested a nicer name than
> > `subr-native-elisp`, but here's a patch which aims to do that.
> >
> > AFAICT we do not need to preserve the *type* `subr-native-elisp` because
> > it was never exposed to ELisp before Emacs-30 anyway. So the only
> > backward compatibility needed is the `subr-native-elisp-p` function.
> >
> > I chose `native-comp-function` as the new name based on a few
> > `grep`s through our C code which suggested that `native-comp-` is the
> > most "popular" prefix in there from code related to native compilation.
> >
> > I don't have a strong preference, so if there's a consensus around
> > another name, I'll happily change the patch accordingly.
>
> Hi Stefan,
>
> I don't have a strong opinion about renaming this, at the time I called
> it subr- something as in my mind it was really a subr from an ABI stand
> point of view. So yeah my implementor view was probably biased
> technically.
>
> For this reason I'm not opposed to this change but I'd like to hear
> Eli's opinion.
I don't like renaming in general (it increases the mess we have, and
makes it harder to remember things). But in this case I don't object,
since this particular term is used only very rarely (provided that all
the adverse consequences you mention are fixed, of course).
next prev parent reply other threads:[~2024-05-24 7:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 17:50 bug#71123: [PATCH] Rename `subr-native-elisp` to `native-comp-function` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-22 18:47 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-24 7:17 ` Andrea Corallo
2024-05-24 7:37 ` Eli Zaretskii [this message]
2024-05-24 13:07 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-24 14:46 ` Eli Zaretskii
2024-05-25 7:16 ` Andrea Corallo
2024-05-28 19:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-28 19:58 ` Andrea Corallo
2024-05-29 0:53 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=86r0dr3bkb.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71123@debbugs.gnu.org \
--cc=acorallo@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).