all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralph Schleicher <rs@ralph-schleicher.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 2951@emacsbugs.donarmstrong.com
Subject: bug#2951: Suggestion: self-evaluating-p function
Date: Mon, 13 Apr 2009 23:04:55 +0200	[thread overview]
Message-ID: <87ab6k6z9k.fsf@echo.mueller-schleicher.i> (raw)
In-Reply-To: <jwvprfgwilf.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Mon\, 13 Apr 2009 13\:49\:03 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>                      (list symbol (if (self-evaluating-p value)
>>                                       value
>>                                     (list 'quote value))))
>
> Why not just          (list symbol (list 'quote value)))        ?

Yes, this was my first attempt, too.  But I got puzzled whether
or not the extra quote matters in any way, especiall with lambda
expressions.  Since I couldn't find a satisfactory answer in the
Elisp reference manual, I decided to get rid of it just to be save.

So, If you tell me that the quote does no harm no matter what Lisp
object is quoted, I can live without a self-evaluating-p function.

-- 
Ralph






  reply	other threads:[~2009-04-13 21:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10 21:31 bug#2951: Suggestion: self-evaluating-p function Ralph Schleicher
2009-04-11 12:53 ` Stefan Monnier
2009-04-11 21:35   ` Ralph Schleicher
2009-04-13 17:49     ` Stefan Monnier
2009-04-13 21:04       ` Ralph Schleicher [this message]
2009-04-14  2:06         ` Stefan Monnier
2009-04-14 16:53           ` Ralph Schleicher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab6k6z9k.fsf@echo.mueller-schleicher.i \
    --to=rs@ralph-schleicher.de \
    --cc=2951@emacsbugs.donarmstrong.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.