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

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

Re: elisp issues on (cond ((when ...) t) ((when) t))


From: Thien-Thi Nguyen
Subject: Re: elisp issues on (cond ((when ...) t) ((when) t))
Date: Sat, 11 Feb 2006 00:02:52 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Sebastian Meisel <sebastianmeisel@web.de> writes:

> What is the error I made?

are you sure both branches fail?  did you check *Messages*?

are you sure your code behaves as if it were:

  (cond (nil t) (nil t))

?  eval that in *scratch* -- what do you see?  how about:

  (cond (nil t) (nil t) (t))
  (cond (nil t) (nil t) (nil))
  (cond (nil t) (nil t) (42))
  (cond (nil t) (nil t) (t 42))
  (cond (nil t) (nil t) (t nil))
  (cond (nil t) (nil t) (42 t))
  (cond (nil t) (nil t) (42 nil))
  (cond (nil t) (nil t) (42 42))
  (cond (nil t) (nil t) (42 42 42))

why stop with one error?  life's too short to be perfect...

thi


reply via email to

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