emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Alexiev <vladimir.alexiev@ontotext.com>
To: emacs-orgmode@gnu.org
Subject: configure separator in org-table-insert-hline
Date: Fri, 21 Aug 2020 12:07:29 +0300	[thread overview]
Message-ID: <CAMv+wg7+428N_y6as-TtE0rdBhiX0MExuqgciNYagWC+rCA93g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 259 bytes --]

org-table-insert-hline (org-table.el) inserts lines like this
|----+----+----|

But I often use orgtbl-mode in markdown-mode,
and in markdown the hlines should be like this:
|----|----|----|

Perhaps all that's needed is to make this conditional:
(concat "+"

[-- Attachment #2: Type: text/html, Size: 656 bytes --]

             reply	other threads:[~2020-08-21  9:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21  9:07 Vladimir Alexiev [this message]
2020-08-21  9:13 ` configure separator in org-table-insert-hline Nicolas Goaziou
2020-08-21  9:34   ` Vladimir Alexiev
2020-08-21  9:49     ` Nicolas Goaziou
2020-08-21 10:12       ` Vladimir Alexiev
2020-08-21 21:23         ` Nicolas Goaziou
2020-08-22  7:16           ` Vladimir Alexiev
2020-08-24 16:07             ` Nick Dokos

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=CAMv+wg7+428N_y6as-TtE0rdBhiX0MExuqgciNYagWC+rCA93g@mail.gmail.com \
    --to=vladimir.alexiev@ontotext.com \
    --cc=emacs-orgmode@gnu.org \
    /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).