emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [babel] Tiny "problems"
Date: Thu, 17 Dec 2009 09:58:39 -0700	[thread overview]
Message-ID: <m2my1hedvk.fsf@gmail.com> (raw)
In-Reply-To: <87vdg5lluu.fsf@mundaneum.com> ("Sébastien Vauban"'s message of "Thu, 17 Dec 2009 15:24:25 +0100")

Hi Sébastien,

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:
[...]
>
> In fact, a better specification is: copy whatever (any character) is in front
> of `<<<code here>>>' in front of every line of the referenced block (same
> amount of characters, be it spaces or something else).
>
> That way, a commented SQL source block like the following would be correctly
> outputted:
>
>     -- -- set flag
>     -- UPDATE dossier
>     -- SET DossierSentToSector = @now
>     -- WHERE ID
>     --     IN (SELECT actID_fk
>     --         FROM actions
>     --         WHERE (actID = 338 AND actEtat = 3))
>     --     AND F1SignDate < @firstDayOfThisMonth
>     --     AND DossierSentToSector IS NULL
>     --     AND
>     --     <<ConditionForSector>>
>
> Currently, the first line of the "condition" block is commented, the others
> not, resulting in incorrect code being tangled.
>
> With the above "spec", I guess all cases are covered. What do you think?
>

I like it a lot, I'll add this to the TODO.  Thanks -- Eric

>
> Best regards,
>   Seb

  reply	other threads:[~2009-12-17 16:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-02 13:17 [babel] Tiny "problems" Sébastien Vauban
2009-12-05  5:24 ` Eric Schulte
2009-12-05 17:57   ` Dan Davison
2009-12-07 10:10     ` Sébastien Vauban
2009-12-07 10:07   ` Sébastien Vauban
2009-12-16 21:17     ` Eric Schulte
2009-12-17  9:05       ` Sébastien Vauban
2009-12-17 14:24         ` Sébastien Vauban
2009-12-17 16:58           ` Eric Schulte [this message]
2009-12-17 18:23             ` Eric Schulte
2009-12-18  9:12               ` Sébastien Vauban
2009-12-18 18:48                 ` Eric Schulte

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=m2my1hedvk.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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).