From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Internationalize Emacs's messages (swahili) Date: Sat, 26 Dec 2020 22:19:04 +0100 Message-ID: <87im8ob707.fsf@gnus.org> References: <87o8ivumn5.fsf@telefonica.net> <83sg7xrgr5.fsf@gnu.org> <83h7odrdwy.fsf@gnu.org> <86sg7w39fh.fsf@163.com> <83pn30pku5.fsf@gnu.org> <86wnx8otoj.fsf@163.com> <834kkbp9vr.fsf@gnu.org> <87czyxuxw6.fsf@db48x.net> <87y2hlt82w.fsf@db48x.net> <87lfdlvsw4.fsf@logand.com> <83h7o8ncly.fsf@gnu.org> <87pn2wudab.fsf@db48x.net> <87mty0c3m1.fsf@gnus.org> <83czywnb86.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35024"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 26 22:20:45 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktGzV-00090s-Ln for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Dec 2020 22:20:45 +0100 Original-Received: from localhost ([::1]:56064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktGzU-0007XI-Oz for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Dec 2020 16:20:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktGy8-000737-DW for emacs-devel@gnu.org; Sat, 26 Dec 2020 16:19:23 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:43440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktGy4-0006xO-92; Sat, 26 Dec 2020 16:19:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B5FW+uRTfjM71pqpQYv7UGeLXeD86CmKVsaOhgFISmw=; b=DE4/aS7XFPJAcmzmA/vuohTCev oF/nvcVjBi/1DlaVTKp04NBebCH4XjKbhIlebza6fPgrrKp5el8cE8uBkBAWc/TE0wdNeGpPgture ty949tNSxHg1OTYluysR/uIyO+TIv9U8etl1qNWndSm5vR7p1C61TqMO3BIyz0uowImM=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktGxu-0008QN-4U; Sat, 26 Dec 2020 22:19:11 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUVO4smLUMhTJpU ntbS0dG+urP8/Pz///907wnRAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QMGhUQF2ipX8MAAAG0SURB VDjLlZFNjtswDIUZncByk65leg5QxCcISmmfqeJ9C4n3P0JJ/cUBJkBLw5HNL3zkowEAJihh6zEh okHUR6c5By1vAB1UgGaZGjAIBozTs5ScmpqQcp/mCpZpAlylBlfctisgzEZx7bj9MNt1k7giVClT WuLmlhVXQU6SroGTtTPiMuGqSpIoU8kQ1lqpOdl5pWsdFEseJskZlLL1Z1GuQB8EaN28qllXmk8d fDptVG0VUEvsmUkaDYvYDduQ6G5t2ZpuR1bj5AL4lkMSgOIEXdkuJfJEvy6/z3y3M0sQhZgIuMb5 Zj9u0mgEEO96hpu9ePu9ZSPvkEMBTJ+B7h1QCB0kCvJKDfj4CvbegKJI+QZ0mgGoAZmVJMZIRSoJ uF245FMTo0eoFVkr9J+hSzXAixWznDwfKsosfz5Sijy6UHoaFPO878ep0pg+5z6vf+xNqhT4zCE9 DQ4p3mNm4vAqlSOnsMckv72iSMlInJV4egVZ33KOj0cqRgdQZ4EEeK8gDqB74u772DzruM/tEneQ xqdouzoYPIZ/C16d/wMoPb4E8s0TvwH0Fdg5AL+J/wd/AdErNHnqHzDkAAAAJXRFWHRkYXRlOmNy ZWF0ZQAyMDIwLTEyLTI2VDIxOjE2OjIzKzAwOjAwGUcNKQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy MC0xMi0yNlQyMToxNjoyMyswMDowMGgatZUAAAAASUVORK5CYII= X-Now-Playing: Laika's _Good Looking Blues_: "Uneasy" In-Reply-To: <83czywnb86.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Dec 2020 11:54:49 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261866 Archived-At: Eli Zaretskii 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