emacs-devel
[Top][All Lists]
Advanced

[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 03:16:12 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Tomas Hlavaty <tom@logand.com> writes:

> On Sat 26 Dec 2020 at 11:54, Eli Zaretskii <eliz@gnu.org> wrote:
>>> From: Lars Ingebrigtsen <larsi@gnus.org>
>>> Date: Sat, 26 Dec 2020 10:34:46 +0100
>>> 
>>> > (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.)
>>
>> Just add an optional arg LIMIT to 'length', since the implementation
>> will be the same, and you just want to terminate the loop as early as
>> possible.
>
> What about length= length/= length< length<= length> length>=
> predicates?

Reasonable suggestions, but not in my opinion as readable as
`longer-than-p', `shorter-than-p', and so on.

db48x



reply via email to

[Prev in Thread] Current Thread [Next in Thread]