[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internationalize Emacs's messages (swahili)
From: |
Daniel Brooks |
Subject: |
Re: Internationalize Emacs's messages (swahili) |
Date: |
Sat, 26 Dec 2020 01:47:12 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Daniel Brooks <db48x@db48x.net> writes:
>
>>> The above code sets 'pl' to a simple boolean based on whether
>>> 'deleted' has one member or more than one. What more efficient code
>>> would you suggest here?
>>
>> (not (null (cdr deleted))) would avoid traversing the entire list, but it
>> wouldn't be easier to read.
>
> Perhaps a `longer-than-p' function would be helpful? I.e.,
> (longer-than-p deleted 1)? (Or some better name.)
Yes, that would be a good readable name for it.
db48x
- Re: Internationalize Emacs's messages (swahili), (continued)
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), tomas, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Lars Ingebrigtsen, 2020/12/26
- Re: Internationalize Emacs's messages (swahili),
Daniel Brooks <=
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Daniel Brooks, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Eli Zaretskii, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Richard Stallman, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Tomas Hlavaty, 2020/12/27
- Re: Internationalize Emacs's messages (swahili), Richard Stallman, 2020/12/28
- Re: Internationalize Emacs's messages (swahili), Lars Ingebrigtsen, 2020/12/26
- Re: Internationalize Emacs's messages (swahili), Lars Ingebrigtsen, 2020/12/26