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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: michael_heerdegen <at> web.de
Cc: 13422 <at> debbugs.gnu.org
Subject: bug#13422: 24.2.91; Feature request: Add a macro always expanding to nil
Date: Sat, 12 Jan 2013 19:34:54 -0500
> it has several advantages:

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.

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.


        Stefan




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.