From mboxrd@z Thu Jan 1 00:00:00 1970 From: dmg Subject: Re: how to update and add info to babel documentation? Date: Tue, 19 Jul 2016 13:49:41 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a114394ceb961f40538033bfa Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPbyC-0001W3-TI for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 16:50:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPbyA-0007gu-CK for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 16:50:23 -0400 Received: from mail-vk0-x22f.google.com ([2607:f8b0:400c:c05::22f]:35168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPbyA-0007gk-6U for emacs-orgmode@gnu.org; Tue, 19 Jul 2016 16:50:22 -0400 Received: by mail-vk0-x22f.google.com with SMTP id w127so41790225vkh.2 for ; Tue, 19 Jul 2016 13:50:22 -0700 (PDT) In-Reply-To: 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" To: "Thomas S. Dye" Cc: emacs-orgmode --001a114394ceb961f40538033bfa Content-Type: multipart/alternative; boundary=001a114394ceb961ee0538033bf8 --001a114394ceb961ee0538033bf8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Tom, Here is my patch. On Tue, Jul 19, 2016 at 10:05 AM, Thomas S. Dye wrote: > Aloha dmg, > > You can find instructions here: > > http://orgmode.org/worg/worg-git.html > > Thanks for your help. > > All the best, > Tom > > dmg writes: > > > hi there, > > > > I was trying to find the sources for the babel language documentation. > > Specifically: > > > > > > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-sqlite.html > > > > Could anybody please tell me which is the best way to submit a patch to > it? > > > > Specifically, I would like to document the use of variables in the mode= . > I had > > to read its source code to know that you can to prefix the variable nam= e > with > > $ for it to work, eg: > > > > > > #+BEGIN_SRC sqlite :db /tmp/rip.db :var x=3D"table" > > select * from $x; > > #+END_SRC > > > > > > =E2=80=8Bthank you,=E2=80=8B > > > -- > Thomas S. Dye > http://www.tsdye.com > --=20 --dmg --- Daniel M. German http://turingmachine.org --001a114394ceb961ee0538033bf8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Tom,
Here is my patch.


On Tue, = Jul 19, 2016 at 10:05 AM, Thomas S. Dye <tsd@tsdye.com> wrote:
Aloha dmg,

You can find instructions here:

http://orgmode.org/worg/worg-git.html

Thanks for your help.

All the best,
Tom

dmg writes:

> hi there,
>
> I was trying to find the sources for the babel language documentation.=
> Specifically:
>
>
> http://orgmode.org/worg/o= rg-contrib/babel/languages/ob-doc-sqlite.html
>
> Could anybody please tell me which is the best way to submit a patch t= o it?
>
> Specifically, I would like to document the use of variables in the mod= e. I had
> to read its source code to know that you can to prefix the variable na= me with
> $ for it to work, eg:
>
>
> #+BEGIN_SRC sqlite :db /tmp/rip.db :var x=3D"table"
> select * from $x;
> #+END_SRC
>
>
> =E2=80=8Bthank you,=E2=80=8B


--
Thomas S. Dye http:= //www.tsdye.com



--
--dmg
---
Daniel M. German
http://turingmachine.org
--001a114394ceb961ee0538033bf8-- --001a114394ceb961f40538033bfa Content-Type: text/x-patch; charset=US-ASCII; name="0001-added-documentation-on-how-ot-pass-variables-to-sqli.patch" Content-Disposition: attachment; filename="0001-added-documentation-on-how-ot-pass-variables-to-sqli.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iqtxocsi0 RnJvbSA2N2YxZDY5ZWEzZGU1MTZmZDQ2Y2U4YmM3NGQwYjExZjNkMDZjZGM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEIEdlcm1hbiA8ZG1nQHV2aWMuY2E+CkRhdGU6IFR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