From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: Prevent auto-filling of export snippets Date: Sat, 09 Dec 2017 03:03:25 +0000 Message-ID: <933c49aac6153a413aca41e4c1402116@openmail.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNVQd-0007NM-FI for emacs-orgmode@gnu.org; Fri, 08 Dec 2017 22:03:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNVQY-0007IG-Ua for emacs-orgmode@gnu.org; Fri, 08 Dec 2017 22:03:51 -0500 Received: from onethreetwo.vfemail.net ([199.16.11.132]:28985 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eNVQY-0007GM-PE for emacs-orgmode@gnu.org; Fri, 08 Dec 2017 22:03:46 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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!