From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67577: 29.1; Comments in kill-region seem to explain unless wrong Date: Sat, 02 Dec 2023 09:47:23 +0200 Message-ID: <83r0k582r8.fsf@gnu.org> References: <87fs0l9nec.fsf@debian-hx90.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14205"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67577@debbugs.gnu.org To: Xiyue Deng Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 02 08:48:12 2023 Return-path: Envelope-to: geb-bug-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 1r9KjT-0003VM-OU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Dec 2023 08:48:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9KjD-0002UW-Jr; Sat, 02 Dec 2023 02:47:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9KjB-0002UD-Fc for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2023 02:47:53 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r9KjB-0005tF-70 for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2023 02:47:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9KjK-0007Z3-BO for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2023 02:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Dec 2023 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67577 X-GNU-PR-Package: emacs Original-Received: via spool by 67577-submit@debbugs.gnu.org id=B67577.170150326128946 (code B ref 67577); Sat, 02 Dec 2023 07:48:02 +0000 Original-Received: (at 67577) by debbugs.gnu.org; 2 Dec 2023 07:47:41 +0000 Original-Received: from localhost ([127.0.0.1]:56594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9Kiz-0007Wn-FC for submit@debbugs.gnu.org; Sat, 02 Dec 2023 02:47:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9Kix-0007WX-QZ for 67577@debbugs.gnu.org; Sat, 02 Dec 2023 02:47:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9Kij-0004up-5l; Sat, 02 Dec 2023 02:47:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=n5VcFCuUiWmE2AUACgCX6vljdiVaaQ8jO0KZkZeGTBE=; b=EH3xowRtqhfPhdbbdv+C f+Eu9uzWom5zpf9tx28YnrAI61m5kycfC6ZxAjFYjXAH7o8Z89oastQsALZKBIfwKZnFQAI1Lw4ou CPnL5GBp0dUghs+fhLSkI46pX41lZnXzd4u9Ef/6gOiKfZWOZI2/bmzrv0VdAaR7FKsdp3RDNVI0Z p9GSUVwTkX+YPuIzpxTxtZUCHTJ6RnJ6d71dLQ6pOeXxw5aEvmjNxxPWBJyHaihRCQaHNgPGFCPEF 56/sPPY8ARc7Sw7b5txFwtY2hpeRrjDgDl/9hAwv0P/i1AD2tetfgwXyjyIdFJ7HlkjqeP2P+6Ne9 wcxWKkIC4cJRQw==; In-Reply-To: <87fs0l9nec.fsf@debian-hx90.lan> (message from Xiyue Deng on Fri, 01 Dec 2023 21:36:11 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275357 Archived-At: > From: Xiyue Deng > Date: Fri, 01 Dec 2023 21:36:11 -0800 > > > It says "'unless' is an 'if' without the then-part", which I think it > meant to say "'unless' is the inverse of 'if' ...", as I think "an 'if' > without the then-part" is supposed to be 'when'. Let me know if my > understanding is wrong. If not, please find the patch in my next post. We already fixed that part. The text now says: The ‘kill-region’ function definition also has an ‘unless’ macro; it is the opposite of ‘when’. The ‘unless’ macro is like an ‘if’ except that it has no then-clause, and it supplies an implicit ‘nil’ for that. So I don't think this needs to be fixed anymore.