GNU bug report logs - #13422
24.2.91; Feature request: Add a macro always expanding to nil

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Sat, 12 Jan 2013 17:58:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.2.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 13422 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13422 <at> debbugs.gnu.org
Subject: Re: bug#13422: 24.2.91;
	Feature request: Add a macro always expanding to nil
Date: Sun, 13 Jan 2013 03:36:57 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Of course, it also has its down sides:
>
> - returns nil, so (if foo (discard bar) then) runs the `then' in the
>   `else' branch.
>
> - only works at those syntactic places where an expression is expected
>   (e.g. (let ((a 1) (discard exp1 exp2) (b 2)) blabla) doesn't work.

Indeed, you must keep this in mind.  It might be confusing.

> In any case, I think the current comments are good enough, and save the
> programmer from having to choose which kind of comment to use.

Ok, so please close.


Thanks,

Michael.




This bug report was last modified 12 years and 215 days ago.

Previous Next


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