From: Carsten Bormann <cabo@tzi.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Using orgtbl-mode with markdown: hfmt1
Date: Tue, 12 Sep 2017 16:16:31 +0200 [thread overview]
Message-ID: <36461530-F6FE-43A1-A475-D3C65BFBDF17@tzi.org> (raw)
In-Reply-To: <CAFyQvY1L3LztT27Q=bsg_T3Nf5x4+QAFoLbdBhD+NGZ3VW889w@mail.gmail.com>
On Sep 12, 2017, at 16:07, Kaushal Modi <kaushal.modi@gmail.com> wrote:
>
> On Tue, Sep 12, 2017, 9:56 AM Carsten Bormann <cabo@tzi.org> wrote:
>
>
> Works perfectly. But it would be nice not to have to apply this patch each time I update.
>
> Would it be possible to make hfmt1 configurable?
> (Preferably, using a buffer-local variable so I don’t have to break tables in org-mode proper?)
>
> I use a different approach to do the same thing using ox-gfm (based on a SO solution). Look for orgtbl-to-gfm function here[1] and also my notes at the end of that file.
>
> [1]: https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-markdown.el
> --
> Kaushal Modi
>
I am aware of a number of these workarounds.
The specific one you are proposing does not work for me as the markdown tables are in collaboratively edited documents and I can’t get the other authors to do any special dance around the tables; orgtbl-mode has to just work.
Besides, a 83-line workaround for what can be done seamlessly by changing one line of code?
(Yes, it would be nice to also preserve the column alignments, but we already have a solution that gets around that limitation.)
Grüße, Carsten
next prev parent reply other threads:[~2017-09-12 14:16 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 [this message]
2017-09-14 13:51 ` Nicolas Goaziou
2017-09-14 14:13 ` Carsten Bormann
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36461530-F6FE-43A1-A475-D3C65BFBDF17@tzi.org \
--to=cabo@tzi.org \
--cc=emacs-orgmode@gnu.org \
--cc=kaushal.modi@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.