From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 12 11:11:34 2021 Received: (at submit) by debbugs.gnu.org; 12 Sep 2021 15:11:34 +0000 Received: from localhost ([127.0.0.1]:43433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPR8m-0003Ft-Pf for submit@debbugs.gnu.org; Sun, 12 Sep 2021 11:11:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:45792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPNYw-0001Vg-KQ for submit@debbugs.gnu.org; Sun, 12 Sep 2021 07:22:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPNYw-0003j4-Ep for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 07:22:18 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:47418) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPNYu-0006vq-Od for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 07:22:18 -0400 Received: from 194-18-252-127-no2005.tbcn.telia.com ([194.18.252.127] helo=[192.168.23.21]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mPNYs-00070A-Pw for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 07:22:14 -0400 To: bug-gnu-emacs@gnu.org From: Hanno Perrey Subject: [PATCH] ; * lisp/eshell/em-unix.el (nil-blank-string): Doc fix Message-ID: Date: Sun, 12 Sep 2021 13:22:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------5C6FFC70710864315A7D5B0C" Content-Language: en-US Received-SPF: none client-ip=104.248.1.95; envelope-from=hanno@hoowl.se; helo=minsky.hcoop.net 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_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 12 Sep 2021 11:11:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------5C6FFC70710864315A7D5B0C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hej, the attached patch corrects the documentation for nil-blank-string in lisp/eshell/em-unix.el: the function returns nil if STRING contains only blank characters, not *non*-blank characters as it says in the current master. Thanks and cheers, Hanno --------------5C6FFC70710864315A7D5B0C Content-Type: text/x-patch; charset=UTF-8; name="0001-lisp-eshell-em-unix.el-nil-blank-string-Doc-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-lisp-eshell-em-unix.el-nil-blank-string-Doc-fix.patch" >From b07a7e07af788a50f270561bd9814654376249cd Mon Sep 17 00:00:00 2001 From: Hanno Perrey Date: Sun, 12 Sep 2021 13:15:11 +0200 Subject: [PATCH] ; * lisp/eshell/em-unix.el (nil-blank-string): Doc fix --- lisp/eshell/em-unix.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 7e48a9c757..5b400c74fc 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el @@ -968,7 +968,7 @@ eshell-diff-quit (set-window-configuration eshell-diff-window-config))) (defun nil-blank-string (string) - "Return STRING, or nil if STRING contains only non-blank characters." + "Return STRING, or nil if STRING contains only blank characters." (cond ((string-match "[^[:blank:]]" string) string) (nil))) -- 2.33.0 --------------5C6FFC70710864315A7D5B0C-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 12 11:22:52 2021 Received: (at 50549) by debbugs.gnu.org; 12 Sep 2021 15:22:52 +0000 Received: from localhost ([127.0.0.1]:43443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPRJk-0003Wq-3K for submit@debbugs.gnu.org; Sun, 12 Sep 2021 11:22:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPRJg-0003WZ-UK for 50549@debbugs.gnu.org; Sun, 12 Sep 2021 11:22:50 -0400 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=159FxLhb4urDCwz8/cbNnfMo9fnJTb1At/WgwR2Re9Q=; b=aCmuObZrgnL6GXndIk9BI63Sew dJGbFOz0nrzqPm9NYPwCaVG7+3JO1ZX6N3VdVxP7TAybog/oHOtymHkL7Al+ATq3u6jlnaATL/woD M00g/UXali7q0yz31OWlZJCm4EfyMxR7ig/drHmQDve9HAoMf/Am2vHDcs2hmAyOZayI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPRJX-0005Zo-I7; Sun, 12 Sep 2021 17:22:42 +0200 From: Lars Ingebrigtsen To: Hanno Perrey Subject: Re: bug#50549: [PATCH] ; * lisp/eshell/em-unix.el (nil-blank-string): Doc fix References: Date: Sun, 12 Sep 2021 17:22:38 +0200 In-Reply-To: (Hanno Perrey's message of "Sun, 12 Sep 2021 13:22:12 +0200") Message-ID: <87pmtdkedd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Hanno Perrey writes: > the attached patch corrects the documentation for nil-blank-string in > lisp/eshell/em-unix.el: the function returns nil if STRING contains > only blank characters, not *non*-blank characters as it [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50549 Cc: 50549@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hanno Perrey writes: > the attached patch corrects the documentation for nil-blank-string in > lisp/eshell/em-unix.el: the function returns nil if STRING contains > only blank characters, not *non*-blank characters as it says in the > current master. Thanks; pushed to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 12 11:22:54 2021 Received: (at control) by debbugs.gnu.org; 12 Sep 2021 15:22:54 +0000 Received: from localhost ([127.0.0.1]:43446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPRJm-0003X5-9y for submit@debbugs.gnu.org; Sun, 12 Sep 2021 11:22:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPRJk-0003Wg-Hu for control@debbugs.gnu.org; Sun, 12 Sep 2021 11:22:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gHlFd7pf+kKKKUo6FKZPrN/C8j9AzKHaSPopfuwARB8=; b=f07F28LiCov1A+hL6XgqAhd4sT RvlotsPQq+n5DXhJ7PAPXR4K37sKhWzfSiTzFn9BJ4Jck7AolW7sW/TD6MThqqMNkWYMzJxy2VQ1i NgyQxAu4OClZzNyyxV2luoPzuYZFBsmOTwI+7eBVfA2dn333cbBTIcHXR/cFFNA/cvDs=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPRJc-0005Zw-QN for control@debbugs.gnu.org; Sun, 12 Sep 2021 17:22:46 +0200 Date: Sun, 12 Sep 2021 17:22:44 +0200 Message-Id: <87o88xked7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50549 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 50549 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 50549 28.1 quit From unknown Sat Sep 06 21:08:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 11 Oct 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator