all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vitalie Spinu <spinuvit@gmail.com>
To: 14935@debbugs.gnu.org
Subject: bug#14935: 24.3.50; pcase (or) UPAT fails?
Date: Tue, 23 Jul 2013 13:30:19 +0200	[thread overview]
Message-ID: <87ip01fr90.fsf@gmail.com> (raw)


Is this a bug?


This works:

(pcase (list 23 nil "%")
  (`(,scale nil "%") (message "%s" scale))
  (_ (message "failed")))


This doesn't:

(pcase (list 23 nil "%")
  (`(,scale nil (or "^" "%")) (message "%s" scale))
  (_ (message "failed")))


Thanks, 

    Vitalie




In GNU Emacs 24.3.50.7 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2013-07-19 on vitoshka-OptiPlex-745
Windowing system distributor `The X.Org Foundation', version 11.0.11303000
System Description:	Ubuntu 13.04





             reply	other threads:[~2013-07-23 11:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 11:30 Vitalie Spinu [this message]
2013-07-23 12:08 ` bug#14935: 24.3.50; pcase (or) UPAT fails? Andreas Schwab
2013-07-23 13:44 ` Stefan Monnier
2013-07-23 21:00   ` Vitalie Spinu
2013-07-24  5:14     ` Stefan Monnier
2013-07-24  7:19       ` Vitalie Spinu

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=87ip01fr90.fsf@gmail.com \
    --to=spinuvit@gmail.com \
    --cc=14935@debbugs.gnu.org \
    /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.