From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Sperber Subject: Re: PATCH[3/3]: org-element.el: Remove illegal t clause in case Date: Thu, 30 Aug 2012 11:04:53 +0200 Message-ID: References: <87ligwss0i.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T70gY-0000rr-KF for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 05:05:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T70gQ-0002i6-Fy for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 05:05:10 -0400 Received: from h615406.serverkompetenz.net ([81.169.143.132]:17569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T70gQ-0002gV-9W for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 05:05:02 -0400 In-Reply-To: <87ligwss0i.fsf@altern.org> (Bastien's message of "Thu, 30 Aug 2012 10:28:29 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Mats Lidell , emacs-orgmode@gnu.org Bastien writes: > Hi Michael and Mats, > > Michael Sperber writes: > >> This patch (written by Mats Lidell) fixes an error we saw on XEmacs, b= ut >> 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,=20 > 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. Yup, you're right. Thanks for applying the patches. --=20 Cheers =3D8-} Mike Friede, V=F6lkerverst=E4ndigung und =FCberhaupt blabla