emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Michael Sperber <sperber@deinprogramm.de>
Cc: Mats Lidell <matsl@xemacs.org>, emacs-orgmode@gnu.org
Subject: Re: PATCH[3/3]: org-element.el: Remove illegal t clause in case
Date: Thu, 30 Aug 2012 10:28:29 +0200	[thread overview]
Message-ID: <87ligwss0i.fsf@altern.org> (raw)
In-Reply-To: <y9l1uiorexd.fsf@deinprogramm.de> (Michael Sperber's message of "Thu, 30 Aug 2012 09:56:30 +0200")

Hi Michael and Mats,

Michael Sperber <sperber@deinprogramm.de> writes:

> This patch (written by Mats Lidell) fixes an error we saw on XEmacs, but
> we think it's a bug on GNU Emacs, too.

Thank you both for the patch!  I just applied it.

I changed the commit log.  At least in GNU Emacs, t is allowed, 
but only as the last clause.

See the docstring of `case':

   [...]
   A KEYLIST of t or `otherwise' is
   allowed only in the final clause, and matches if no other keys match.
   Key values are compared by `eql'.

I guess this is the same for XEmacs, would be strange otherwise.

Best,

-- 
 Bastien

  reply	other threads:[~2012-08-30  8:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30  7:56 PATCH[3/3]: org-element.el: Remove illegal t clause in case Michael Sperber
2012-08-30  8:28 ` Bastien [this message]
2012-08-30  9:04   ` Michael Sperber
2012-08-30 20:53     ` Mats Lidell

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87ligwss0i.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=matsl@xemacs.org \
    --cc=sperber@deinprogramm.de \
    /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/org-mode.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).