From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Elisp string function question Date: Fri, 18 Jun 2021 14:18:07 +0200 Message-ID: <20210618121807.xsjdbv4ouqbv4uex@Ergus> References: <20210618121807.xsjdbv4ouqbv4uex.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26885"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 18 14:19:05 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1luDSi-0006qq-Sj for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 18 Jun 2021 14:19:04 +0200 Original-Received: from localhost ([::1]:45404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luDSh-0006HE-Ug for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 18 Jun 2021 08:19:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luDS5-0006G3-OO for help-gnu-emacs@gnu.org; Fri, 18 Jun 2021 08:18:25 -0400 Original-Received: from sonic301-2.consmr.mail.bf2.yahoo.com ([74.6.129.41]:41995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luDS2-00005N-Jx for help-gnu-emacs@gnu.org; Fri, 18 Jun 2021 08:18:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1624018699; bh=UKHoRhpdRKPDRhWTZE+88lm3spoWb4aMhr8qITveQSQ=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=UESFjZyBd/steevkBEXeLmFyanai9tzhu5O3BIOT1U6rOxU3h35hEfG9CecTEUbDDa/t79ALrcgDSMmCD2ZVh+F+taIWhm9tYTXDi23IyTnORsKCJK99IMpzc28ucxq0MeINAo6o4huhyWYNuJVJUEPnB9JB1IqfjceTfaRmSkeVwNSw1WUTgEE73E0iz9cQHO2IXRLS4nnwLZVZsXvqRZTI+2uZRvpKvh2jZmBGWbVy6j/Dql+KXrxnW2TA2p1bSQNw3b6dTkM0v70iH/ZQwOTg3krJOR1lnSsLbR/AsMiMsGjQALT/osTd6I3lBGZEsIErshbKvG5XNTMjAiSAyg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624018699; bh=tnkcq3KtdTz4NbBNkRzgfxW/8ZsqmTMmHo3hDWCSGM1=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=iwP7HTO/e1DX05hZ9FkZPCojd4YK08Q+SeAIKGk8lRmTVqCO/uerWdDQX1daigkLB7hHK24hCobaj2IujTUzjEJ4g0fK21iGJ3LVMLl1adPGIrfgVg5hWuIYJgYrIc11kHLT+r4fbPdXO2/wqUNwCp2wCkftViQcK7XI6FYN0m+ihkGCMRi79NlYLungmlc1AgefereZyC8gHDmI1+PilDazNi+ralLi/YkQ9VN3k3OqHs7T0eSxv8etQCekSXolNxDE/B3xXvudYflmvTPll7kwXXKKviEZ3Q4wj38RWHM/FHwlOHC2udIGgwVYpmjVwsSoA9TMN8BKU9Wf8JHt6g== X-YMail-OSG: xkGztgQVM1nIKpmUHsOIZlbvQ2VJPo0i2Yb3vhqEq0j.LEkC585KFJIERyRs094 f.AVbDGj129oAUnW2VJLuyJ00wA6dUpdoulW2FgzMp3nbKPoV18DGLJnugcibnLQsZbAzOeficnu YzcSNdP_ue5Fk8tCAQNXbfrCV9ISKHafmaZhj4kgNeBsAYW4aytSEoYxggqijgo3wYyL6gtGVQok J51kwNjXS_YW4w82I4TkSx1ZnNhiRREWKMqfsZ1Q0BCnzDre6NaR3cGopNFk_wHJroOm4RCXpano MBP1GCjqJz8Q0ie9WsIAuNyKC_pVMqUhjLZE2WLdG0zsXY0hezTLwTl.GXlI6eK5Bwd6LqWBZJuX B34F6Hnel3VVd6uO.x..cpwKizsTE5RROdMEZtgCJnDNFzbcROCjbpTbqmwYKva7NFdlhRaB_sPU whJPbkdvBkBeC.aMm6NRCHGGOCNOS916p_DyfJgwYKrSoW_kEmuUWBPeDOzLzbzluOTiYqjKpJsv YIxevsrMFEgJ8sgkWE6zmtgKEVSIFkNtKYkYYLD6XmCvRdJ1pEkgA7denfC8kGTXsZMBKtwPRy1A 3uquwd8PxJtaWqMclBx9Jqv5WXTIce6h89S1B.I_pzXLaV871tJRyxZ4pne2x8YMhdKJSJVfLdff sNe2n9yFSy94W3uKk_3QnXQxFNGMWa5Gc52T1.nWS2K4idSNgnfcRBqFxzz9P9j9ZP5.QTBcbw.d 4shJ2rmgoA9GcLmW.ZSp5w7.CICxqT2bE6kQqUDnn.kybwZuMc8cy.D2LcJM.LLOeCNxeXO34VUC fEXl1rmlGIOPn8QDs_TJjrI3RlieWekUf8fK3T3G6G X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Fri, 18 Jun 2021 12:18:19 +0000 Original-Received: by kubenode550.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cdf0571a9dc3bcd852d8e2f49a938e10; Fri, 18 Jun 2021 12:18:13 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.18469 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.129.41; envelope-from=spacibba@aol.com; helo=sonic301-2.consmr.mail.bf2.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130973 Archived-At: Hi: I just tried and this: (string-empty-p nil) returns nil. But nil is not an non-empty string. This forces to add some extra checks when using this function. Is this intended?