bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67577: 29.1; Comments in kill-region seem to explain unless wrong


From: Eli Zaretskii
Subject: bug#67577: 29.1; Comments in kill-region seem to explain unless wrong
Date: Sat, 02 Dec 2023 14:36:59 +0200

> From: Xiyue Deng <manphiz@gmail.com>
> Cc: 67577@debbugs.gnu.org
> Date: Sat, 02 Dec 2023 01:21:37 -0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Xiyue Deng <manphiz@gmail.com>
> >> 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'..

> Please also take a look at my patch and see whether it is still
> worth committing.

The current text was approved by several people,m including Richard
Stallman, so I think it is okay as is.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]