GNU bug report logs - #67669
29.1; Drop text suggesting using `and' to replace `if'

Previous Next

Package: emacs;

Reported by: Xiyue Deng <manphiz <at> gmail.com>

Date: Wed, 6 Dec 2023 21:48:01 UTC

Severity: normal

Found in version 29.1

Done: Xiyue Deng <manphiz <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Xiyue Deng <manphiz <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, "67669-done <at> debbugs.gnu.org" <67669-done <at> debbugs.gnu.org>
Subject: bug#67669: 29.1; Drop text suggesting using `and' to replace `if'
Date: Fri, 08 Dec 2023 01:11:49 -0800
Drew Adams <drew.adams <at> oracle.com> writes:

>> Well if we use `if' with else then yes.  
>
> Even if we use it with THEN.
>
> `if' and `cond' are completely general and
> don't, by themselves abstractly, suggest
> any particular connotation for a human
> reader.  They can return any value you like.
> Whether the value returned is used anywhere
> is neither determined nor suggested by any
> convention.

Ack.  As I replied to Eli, TIL that `and' and `if' are actually used
interchangeably in Elisp.  Thanks!

-- 
Xiyue Deng




This bug report was last modified 1 year and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.