emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Prevent auto-filling of export snippets
Date: Fri, 08 Dec 2017 16:46:43 +0000	[thread overview]
Message-ID: <CAFyQvY1EBjZMB2t3P_QUi38ud8C8zDXMx3JDL4kc2w6xc=xOAA@mail.gmail.com> (raw)

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

Hello,

If I have a long Export Snippet like:

@@html:This HTML <b>Export Snippet</b> will also get exported for Hugo
exports, <code>verbatim</code>.@@

and with auto-fill-mode enabled (70 cols), if I hit Enter at the end of the
line, I becomes:

@@html:This HTML <b>Export Snippet</b> will also get exported for Hugo
exports, <code>verbatim</code>.@@

(If it is difficult to see the difference in email, auto-filling has
inserted a hard line break before the "exports, <code>verbatim</code>.@@"
part in the second snippet above.)

So then, obviously, that auto-filled export snippet doesn't get parsed by
Org as an Export Snippet.

Can the rules in Org set to prevent auto-filling (like in Headings) be set
for Export Snippets too?

I am using the master branch, but I believe the same issue would be on
maint too.

Thanks.

-- 

Kaushal Modi

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

             reply	other threads:[~2017-12-08 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08 16:46 Kaushal Modi [this message]
2017-12-08 17:11 ` Prevent auto-filling of export snippets Nicolas Goaziou
2017-12-08 17:34   ` Kaushal Modi
  -- strict thread matches above, loose matches on Subject: below --
2017-12-09  3:03 edgar

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='CAFyQvY1EBjZMB2t3P_QUi38ud8C8zDXMx3JDL4kc2w6xc=xOAA@mail.gmail.com' \
    --to=kaushal.modi@gmail.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).