GNU bug report logs - #24621
24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570; elisp manual; third attempt; please forgive and disregard first and second.

Previous Next

Package: emacs;

Reported by: Howard McCay <howardmccay <at> yahoo.com>

Date: Wed, 5 Oct 2016 07:50:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.5.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Howard McCay <howardmccay <at> yahoo.com>
To: "24621 <at> debbugs.gnu.org" <24621 <at> debbugs.gnu.org>
Subject: Re: bug#24621: 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570;
 elisp manual; third attempt; please forgive and disregard first and second.
Date: Sun, 9 Oct 2016 23:22:23 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Dear Mr. Nguyen:
Thank you for your timely response to my request.
You are correct.  It was my mistake to have included the extra erroneous parenthesis.
Please revise my request to allow(rose . violet . buttercup) to be interpreted as(rose . (violet . buttercup)) which, as you have explained, is the same as(rose violet . buttercup)
I understand this alternative to be a cons whose CAR is rose and whose CDR points to a cons whose CAR is violet and whose CDR is buttercup.  You have explained that this is equivalent to a two member list whose first member is rose and whose second member is a cons whose CAR is violet and whose CDR is buttercup.
My expanded request is that all functions expecting a list for an argument should treat these alternative lists just as they would treat a nil-terminated list.
      From: Thien-Thi Nguyen <ttn <at> gnu.org>
 To: Howard McCay <howardmccay <at> yahoo.com> 
Cc: 24621 <at> debbugs.gnu.org
 Sent: Wednesday, October 5, 2016 4:08 AM
 Subject: Re: bug#24621: 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570; elisp manual; third attempt; please forgive and disregard first and second.
   

() Howard McCay <howardmccay <at> yahoo.com>
() Wed, 5 Oct 2016 07:15:05 +0000 (UTC)

  (rose . (violet . buttercup))
  =
  (rose (violet . buttercup))

For Lisp (and Scheme), this relation does not hold.  To see for
yourself, in the *scratch* buffer, add:

 '(rose . (violet . buttercup))

and type ‘C-j’ (NB: single-quote at the beginning of the form).
You should see:

 (rose violet . buttercup)

Any change you propose to ‘read’ that assumes (or prescribes)
otherwise will be DOA.

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (type via)
  (case type
    (technical (eq 'mailing-list via))
    ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502


   
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 277 days ago.

Previous Next


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