From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: babel and postgresql Date: Sun, 24 Feb 2013 09:15:54 +0100 Message-ID: <87ehg6cekl.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Wkb-00048m-T1 for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 03:16:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9Wka-00031g-RH for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 03:16:01 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:35986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Wka-00031Y-LS for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 03:16:00 -0500 Received: by mail-wg0-f52.google.com with SMTP id 12so1557600wgh.31 for ; Sun, 24 Feb 2013 00:16:00 -0800 (PST) In-Reply-To: (dmg@uvic.ca's message of "Sat, 23 Feb 2013 23:13:09 -0800") 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: dmg Cc: emacs-orgmode , eschulte@cs.unm.edu Hi Daniel, dmg writes: > It looks like my inexperience with Lisp made me ignore the obvious. > What is needed is not my patch below, but to add posgresql to the > condition of the case: > > From: > (case (intern engine) > ('mysql > > > To: > > (case (intern engine) > ('(postgresql mysql) > > the problem is that I can't get it to work (and I could not find good > documentation for the case macro anywhere but its definition. It says > that it takes either an atom (i.e. 'mysql) > or a list (i.e. '(postgresql mysql) ) but it just does not work me. I applied this patch, which should do the right thing given your explanations: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=f8e874 Let me know. Thanks! -- Bastien