[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internationalize Emacs's messages (swahili)
From: |
Jean Louis |
Subject: |
Re: Internationalize Emacs's messages (swahili) |
Date: |
Mon, 28 Dec 2020 10:32:51 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Lars Ingebrigtsen <larsi@gnus.org> [2020-12-28 01:06]:
> Andreas Schwab <schwab@linux-m68k.org> writes:
>
> > Why do you need to reimplement nthcdr, badly?
>
> Because people say (if (= (length foo) 0)) all over the place, without
> caring whether foo is a list, a string, or whatever, and I want them to
> be able to say (if (length= foo 0)) with the same confidence and
> convenience.
That function could also test for second parameter if it is something
else but number to help in testing (length= list list) as well or
strings.
I will start using it.
(defun length= (seq arg)
(if (numberp arg)
(= (length seq) arg)
(= (length seq) (length arg))))
- Re: Internationalize Emacs's messages (swahili), (continued)
- Re: Internationalize Emacs's messages (swahili), Alfred M. Szmidt, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Alfred M. Szmidt, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Alfred M. Szmidt, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Alfred M. Szmidt, 2020/12/27
- Re: Internationalize Emacs's messages (swahili),
Jean Louis <=
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- RE: Internationalize Emacs's messages (swahili), Drew Adams, 2020/12/26
- lengths and stuff, Daniel Brooks, 2020/12/26
- RE: lengths and stuff, Drew Adams, 2020/12/27
- RE: lengths and stuff, Tomas Hlavaty, 2020/12/27
- RE: lengths and stuff, Drew Adams, 2020/12/27
- RE: lengths and stuff, Tomas Hlavaty, 2020/12/27
- Re: lengths and stuff, Jean Louis, 2020/12/28
- Re: lengths and stuff, Eric Abrahamsen, 2020/12/28
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26