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: Sun, 03 Dec 2023 08:32:49 +0200 Message-ID: <83wmtv7q3y.fsf@gnu.org> References: <87fs0l9nec.fsf@debian-hx90.lan> <83r0k582r8.fsf@gnu.org> <8734wl9cym.fsf@debian-hx90.lan> <83il5g93x0.fsf@gnu.org> <87y1ec87gx.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="23716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67577-done@debbugs.gnu.org To: Xiyue Deng Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 03 07:34: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 1r9g3Q-0005wP-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Dec 2023 07:34:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9g3B-0007PO-JR; Sun, 03 Dec 2023 01:33:57 -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 1r9g36-0007P1-MO for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 01:33: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 1r9g36-00075F-Cp for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 01:33:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9g3G-0000Eu-3g for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 01:34:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Dec 2023 06:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67577 X-GNU-PR-Package: emacs Mail-Followup-To: 67577@debbugs.gnu.org, eliz@gnu.org, manphiz@gmail.com Original-Received: via spool by 67577-done@debbugs.gnu.org id=D67577.1701585186845 (code D ref 67577); Sun, 03 Dec 2023 06:34:01 +0000 Original-Received: (at 67577-done) by debbugs.gnu.org; 3 Dec 2023 06:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:59066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9g2M-0000DZ-AU for submit@debbugs.gnu.org; Sun, 03 Dec 2023 01:33:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9g2K-0000D2-HL for 67577-done@debbugs.gnu.org; Sun, 03 Dec 2023 01:33:04 -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 1r9g25-0006wU-Bq; Sun, 03 Dec 2023 01:32:49 -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=yOXQleSDW83QkZjBJoVwxtTZOLYSEtJmad0L5vuzP74=; b=Sq5BhN0bjPug0R8hH0Ba 2Vr155aTMB6YgLf+eXJIX89jYplpvQmi4Gc1Uj3awnpLEYOiheMeEkNVCNpa4K3weV6trerjzRlVt Y/bHLUDl+/OkLlKudo22EmLAKNtgF+fT0g5GDrjd/9pCaba1Ypv5Vz6K9oSGOhxhdCB61Vy+JRofY eKH0QhYFbBavgN9E8XFEs17VV64ZdvRxskvEK4dxL0TmwYuyKoBsWDsqQtxRm/QXrHezO9Tn9VmzM R5qOefL7MZJny6fArSOsZVjQvadg6CGx4q5isAC+vYyXw0L5UXPLu4b+DG9xrBZTfV2mVAm5G4ium KRg2+lObtOG2rQ==; In-Reply-To: <87y1ec87gx.fsf@debian-hx90.lan> (message from Xiyue Deng on Sat, 02 Dec 2023 16:17:50 -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:275408 Archived-At: > From: Xiyue Deng > Cc: 67577@debbugs.gnu.org > Date: Sat, 02 Dec 2023 16:17:50 -0800 > > Eli Zaretskii writes: > > >> From: Xiyue Deng > >> Cc: 67577@debbugs.gnu.org > >> Date: Sat, 02 Dec 2023 01:21:37 -0800 > >> > >> Eli Zaretskii writes: > >> > >> >> 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. > >> > >> Hmm, I think the comment part on latest head is still the same as last > >> time I checked. > > > > Sorry, I don't understand: what is the problem with the current text? > > 'when' is NOT 'if' without 'then', it's 'if' without 'else'.. > > > > Ah looks like I miss understood. Sorry for the confusion. Please feel > free to close. Done.