From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Internationalize Emacs's messages (swahili) Date: Mon, 28 Dec 2020 10:32:51 +0300 Message-ID: References: <83czywnb86.fsf@gnu.org> <87im8ob707.fsf@gnus.org> <87eejcb6nx.fsf@gnus.org> <875z4ob5c9.fsf@gnus.org> <87a6u09nkq.fsf@gnus.org> <875z4o9jdg.fsf@gnus.org> <87ft3rflw2.fsf@igel.home> <87czyu9a72.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23617"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: Eli Zaretskii , Andreas Schwab , Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 28 08:44:22 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 1ktnCY-000644-3l for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 08:44:22 +0100 Original-Received: from localhost ([::1]:45548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktnCX-0005vj-5U for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 02:44:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktn2Y-0005SU-94 for emacs-devel@gnu.org; Mon, 28 Dec 2020 02:34:03 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:33515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktn2W-0002LH-7g; Mon, 28 Dec 2020 02:34:02 -0500 Original-Received: from localhost ([::ffff:154.225.255.210]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000003C8B9.000000005FE98A65.00004CBD; Mon, 28 Dec 2020 00:33:57 -0700 Mail-Followup-To: Lars Ingebrigtsen , Andreas Schwab , Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87czyu9a72.fsf@gnus.org> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:261985 Archived-At: * Lars Ingebrigtsen [2020-12-28 01:06]: > Andreas Schwab writes: > > > Why do you need to reimplement nthcdr, badly? > > Because people say (if (= (length foo) 0)) all over the place, without > caring whether foo is a list, a string, or whatever, and I want them to > be able to say (if (length= foo 0)) with the same confidence and > convenience. That function could also test for second parameter if it is something else but number to help in testing (length= list list) as well or strings. I will start using it. (defun length= (seq arg) (if (numberp arg) (= (length seq) arg) (= (length seq) (length arg))))