From: Philip Kaludercic <philipk@posteo.net>
To: emacs-devel@gnu.org
Cc: "Mattias Engdegård" <mattiase@acm.org>
Subject: Re: master c290b034e0f 1/2: Move `wholenump` alias definition
Date: Sun, 03 Sep 2023 09:54:57 +0000 [thread overview]
Message-ID: <878r9n37ke.fsf@posteo.net> (raw)
In-Reply-To: <20230903094826.33FFAC045B5@vcs2.savannah.gnu.org> ("Mattias Engdegård"'s message of "Sun, 3 Sep 2023 05:48:26 -0400 (EDT)")
Mattias Engdegård <mattiase@acm.org> writes:
> branch: master
> commit c290b034e0f9a2660e455b9dad471ff54c7a840c
> Author: Mattias Engdegård <mattiase@acm.org>
> Commit: Mattias Engdegård <mattiase@acm.org>
>
> Move `wholenump` alias definition
>
> * src/data.c (syms_of_data): From here...
> * lisp/subr.el (wholenump): ...to here, with the other aliases.
> ---
> lisp/subr.el | 1 +
> src/data.c | 2 --
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/lisp/subr.el b/lisp/subr.el
> index 47fcbc2f317..0894a644d28 100644
> --- a/lisp/subr.el
> +++ b/lisp/subr.el
> @@ -2021,6 +2021,7 @@ instead; it will indirectly limit the specpdl stack size as well.")
> (defalias 'store-match-data #'set-match-data)
> (defalias 'chmod #'set-file-modes)
> (defalias 'mkdir #'make-directory)
> +(defalias 'wholenump #'natnump)
I didn't know about this function (even though it appears to go back to
Emacs 19), but it might be confusing to some people. In German "Ganze
Zahlen" (literally "whole numbers") is the term for integers, but
apparently Wikipedia[0] mentions that the term is ambiguous and might
refer both to ℤ and ℕ. Is there anything that can be done about this?
[0] https://en.wikipedia.org/wiki/Whole_number
>
> ;; These were the XEmacs names, now obsolete:
> (defalias 'point-at-eol #'line-end-position)
> diff --git a/src/data.c b/src/data.c
> index 377bcfce35d..9d6bf5a142c 100644
> --- a/src/data.c
> +++ b/src/data.c
> @@ -4369,8 +4369,6 @@ syms_of_data (void)
> defsubr (&Sbool_vector_count_consecutive);
> defsubr (&Sbool_vector_count_population);
>
> - set_symbol_function (Qwholenump, XSYMBOL (Qnatnump)->u.s.function);
> -
> DEFVAR_LISP ("most-positive-fixnum", Vmost_positive_fixnum,
> doc: /* The greatest integer that is represented efficiently.
> This variable cannot be set; trying to do so will signal an error. */);
next parent reply other threads:[~2023-09-03 9:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <169373450576.30740.4674573984693456027@vcs2.savannah.gnu.org>
[not found] ` <20230903094826.33FFAC045B5@vcs2.savannah.gnu.org>
2023-09-03 9:54 ` Philip Kaludercic [this message]
2023-09-03 10:02 ` master c290b034e0f 1/2: Move `wholenump` alias definition Mattias Engdegård
2023-09-03 10:07 ` Eli Zaretskii
2023-09-03 10:22 ` Mattias Engdegård
2023-09-03 10:41 ` Eli Zaretskii
2023-09-03 10:46 ` Philip Kaludercic
2023-09-03 10:50 ` Eli Zaretskii
2023-09-03 12:07 ` Stefan Kangas
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=878r9n37ke.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=emacs-devel@gnu.org \
--cc=mattiase@acm.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 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.