From: Carsten Bormann <cabo@tzi.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using orgtbl-mode with markdown: hfmt1
Date: Thu, 14 Sep 2017 16:13:55 +0200 [thread overview]
Message-ID: <063BA0F7-DCD2-4042-A9B1-03C7BAD1E430@tzi.org> (raw)
In-Reply-To: <87fubpl76o.fsf@nicolasgoaziou.fr>
> The point of orgtbl-mode is to edit Org tables, not Markdown tables,
> which have a different syntax.
The point of a screwdriver is to drive screws.
I happened to notice that this particular screwdriver makes a good chisel, too.
Unfortunately, the way things are at the moment means that using this screwdriver as a chisel damages it (by making me change the native org-mode table syntax, too).
The analogy stops here: Different from an actual screwdriver, it is possible to add a switch to org-table-align that allows to use it for either purpose, without damage.
(To me, it seems that the existence of an orgtbl-mode minor mode points out that this kind of use outside org-mode is not an entirely foreign concept here.)
> The usual workflow is to edit the Org mode tables and "send" it to
> another location within the same buffer, applying some pre-defined
> transformation. See (info "(org) Radio tables") for more information.
These workflows would make more sense if I’m working alone on the document.
Well, then I could write them entirely in org-mode in the first place.
The point of writing them in markdown is to be able to collaborate with people who don’t use org-mode (or Emacs, or even a plaintext editor at all!).
> Another option is to add an advice on `org-table-align'. See
> `add-advice’.
That doesn’t work too well as the tiny change is in the middle of that function; advice-add could be used to manipulate its input or its output, but not that small difference in table syntax between org-mode and github markdown (the main culprit here — many other markdown implementations don’t have a problem with org-mode table syntax).
Grüße, Carsten
prev parent reply other threads:[~2017-09-14 14:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-12 13:15 Using orgtbl-mode with markdown: hfmt1 Carsten Bormann
2017-09-12 14:07 ` Kaushal Modi
2017-09-12 14:11 ` Kaushal Modi
2017-09-12 14:16 ` Carsten Bormann
2017-09-14 13:51 ` Nicolas Goaziou
2017-09-14 14:13 ` Carsten Bormann [this message]
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=063BA0F7-DCD2-4042-A9B1-03C7BAD1E430@tzi.org \
--to=cabo@tzi.org \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).