From: Christopher Monsanto <chris@monsan.to>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 12512@debbugs.gnu.org
Subject: bug#12512: 24.2.50; pcase treats quoted lists different than non-quoted lists
Date: Thu, 27 Sep 2012 21:09:54 -0400 [thread overview]
Message-ID: <CAC5n7TGUev5Z_OtGwsRrjxm2xFUXvKHVYKspDpa=-MBCkPXMBQ@mail.gmail.com> (raw)
In-Reply-To: <jwvpq57t1f9.fsf-monnier+emacs@gnu.org>
Oh, I see. (pcase '(1 2 3) ...) is different than (let ((x '(1 2 3)))
(pcase x ...)). That's pretty counter intuitive. I'm guessing some
sort of optimization?
Christopher Monsanto
chris@monsan.to -- http://monsan.to/
On Thu, Sep 27, 2012 at 8:52 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> Anyone alive :)? If someone can acknowledge that this is indeed a bug,
>
> It's definitely a bug.
>
>> moment (due to the ubiquity of using quotation for lists, pcase is
>> more-or-less useless to me until this is fixed)
>
> I can't believe you often do (pcase 'FOO BAR), since that can always be
> trivially resolved (since you know statically what you're pcase'ing on).
>
>
> Stefan
next prev parent reply other threads:[~2012-09-28 1:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 6:40 bug#12512: 24.2.50; pcase treats quoted lists different than non-quoted lists Christopher Monsanto
2012-09-27 23:08 ` Christopher Monsanto
2012-09-28 0:52 ` Stefan Monnier
2012-09-28 1:09 ` Christopher Monsanto [this message]
2012-09-28 12:20 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC5n7TGUev5Z_OtGwsRrjxm2xFUXvKHVYKspDpa=-MBCkPXMBQ@mail.gmail.com' \
--to=chris@monsan.to \
--cc=12512@debbugs.gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).