From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Internationalize Emacs's messages (swahili) Date: Fri, 1 Jan 2021 16:25:39 -0800 (PST) Message-ID: References: <87o8ivumn5.fsf@telefonica.net> <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> <87im8ob707.fsf@gnus.org> <87eejcb6nx.fsf@gnus.org> <875z4ob5c9.fsf@gnus.org> <87a6u09nkq.fsf@gnus.org> <875z4o9jdg.fsf@gnus.org> <87r1nb8yoj.fsf@gnus.org> <892fac78-0457-41b4-a442-46d992ca6e23@default> <87czyo3dj1.fsf@logand.com> <181c8a83-fe72-4642-a9da-6972310510a8@default> <87k0sw1f9q.fsf@logand.com> <8e08cd0e-ce90-445c-82b6-3d93b254af59@default> <87lfdc2pxz.fsf@logand.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28873"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Tomas Hlavaty , Lars Ingebrigtsen , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 02 01:26:26 2021 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 1kvUkU-0007Cu-51 for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jan 2021 01:26:26 +0100 Original-Received: from localhost ([::1]:56196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvUkT-0004Xm-7r for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Jan 2021 19:26:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvUjt-00042j-TC for emacs-devel@gnu.org; Fri, 01 Jan 2021 19:25:49 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:39886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvUjr-0001sd-LI; Fri, 01 Jan 2021 19:25:49 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 1020LXsg189573; Sat, 2 Jan 2021 00:25:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=kYO7106JNYDGViSfMgUhM+KiIIurAPKjCpswpJg5e2U=; b=bvC6LKlh/u5sp9S9eqqlQCG6WGXbJDxp4n66AME/COFUAq0XZm9eO1buzUoMAnQIvYya 1KJYPxYxEP4BKTdTCstuNaiRRGiJZDNBtn91QSOvmLNPv2X99ZqiWNtaVyjgxUofcEbU POSX6hwmj+NdN7uWyqHBhP0qtBGj3tLicePGpBSJLsXzx2RAF/BMj95vkefjEdO4wBkw 7ipf7N203klczI2AKOnczBljB1PxylPOF93ukgg2N0Zaao2ixi3zFrBKf7n+I6hfhKyk gjqfj4LP8dxkPKxycoc3W+OaBIrcBNMtl6pRoF6SFdQILG14/zJRZWywxKOUFQcbEPNS iQ== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2130.oracle.com with ESMTP id 35rk3bwhyr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 02 Jan 2021 00:25:44 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 1020MAln135939; Sat, 2 Jan 2021 00:25:43 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 35tdxpr7qh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 02 Jan 2021 00:25:43 +0000 Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 1020PesR022618; Sat, 2 Jan 2021 00:25:41 GMT In-Reply-To: <87lfdc2pxz.fsf@logand.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5095.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9851 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 bulkscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101020000 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9851 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 clxscore=1015 impostorscore=0 mlxlogscore=999 adultscore=0 spamscore=0 mlxscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101020000 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:262276 Archived-At: > > The question is what it should be for dotted > > lists (and circular lists). What is your > > reasonable expectation for dotted lists? >=20 > I do not have an expectation for dotted lists except it should not > traverse the whole list in order to find out, if it is dotted or not. > That would defeat the whole idea. It should do the minimum work > necessary to determine the predicate value and not bother with > determining if the list is dotted or circular. Nothing in what I've written just traverses the whole list. The point of this thread is to have predicates that check whether the length of a list (or sequence) is < =3D or > some number WITHOUT always having to traverse it entirely to get the answer. [Of course, if the answer to (length=3D foo 42) is YES then `foo' will be visited to its end, in some way (e.g. `nthcdr') or other.] All I've suggested is that instead of throwing an error we return the obvious answer for each case. That's no more work than actually throwing the error, AFAIK.