From: edgar@openmail.cc
To: emacs-orgmode@gnu.org
Subject: Prevent auto-filling of export snippets
Date: Sat, 09 Dec 2017 03:03:25 +0000 [thread overview]
Message-ID: <933c49aac6153a413aca41e4c1402116@openmail.cc> (raw)
Hello,
AFAIK, you are an Org guru (or at least have much more experience than I
do), and I know that you are asking this for the benefit of everyone. I
just want to say:
> and with auto-fill-mode enabled (70 cols), if I hit Enter at the end of
> the line, I becomes:
I recommend using visual-fill-column-mode
;; Wrap text
;; http://danlovesprogramming.com/making-text-look-good-in-org-mode/
;; https://caolan.org/dotfiles/emacs.html
(use-package visual-fill-column
:ensure t)
or
(with-eval-after-load "org"
(require 'visual-fill-column))
and add indent mode (I didn't keep the reference to the source of this;
this may go inside the :config part of use-package org):
(add-hook 'org-mode-hook (lambda ()
(org-indent-mode)
(auto-fill-mode -1)
(visual-fill-column-mode)
(setq visual-line-fringe-indicators
'(left-curly-arrow right-curly-arrow))
(visual-line-mode 1)
))
> Can the rules in Org set to prevent auto-filling (like in Headings) be
> set for Export Snippets too?
In that way, you really don't need auto-filling.
Note: I tried to set the right snippets to get visual-fill-column-mode
working, but I don't know if more than that is needed.
Cheers!
---
Vive la liberté!
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
next reply other threads:[~2017-12-09 3:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-09 3:03 edgar [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-12-08 16:46 Prevent auto-filling of export snippets Kaushal Modi
2017-12-08 17:11 ` Nicolas Goaziou
2017-12-08 17:34 ` Kaushal Modi
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=933c49aac6153a413aca41e4c1402116@openmail.cc \
--to=edgar@openmail.cc \
--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).