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: Lars Ingebrigtsen
Subject: Re: Internationalize Emacs's messages (swahili)
Date: Sat, 26 Dec 2020 22:19:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Sure, as a practical matter, adding an optional LIMIT to length is
probably the way to implement this.  But I think adding some predicates
(like the length< etc predicated proposed by Tomas) as wrappers around
calls to length with LIMIT makes sense for code readability.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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