From daa630cb6d3930a4f1ff350f938a2f2337fa6499 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 30 Apr 2019 08:19:05 -0700 Subject: [emacs] Be explicit for new lines in org-mode. I don't want newline when I create to do items, but when I write new entries in various docs, I want that newline. It's better to be explicit in the configuration. --- emacs.d/custom/fcuny-org.el | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 1ca1880..cc333d2 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -25,7 +25,7 @@ ;; I want to follow links on RET (org-return-follows-link t) - (org-blank-before-new-entry (quote ((heading . t) + (org-blank-before-new-entry (quote ((heading . nil) (plain-list-item . nil)))) ;; A few abbreviations I use regularly @@ -91,22 +91,20 @@ ;; templates for personal things only. ("t" "Personal Todo" entry (file+headline ,(concat org-directory "/personal/tasks.org") "New") - "* TODO %?\n" - :empty-lines 1) + "* TODO %?\n") ("d" "Personal Journal" entry (file+olp+datetree ,(concat org-directory "/personal/journal.org")) "* %U %?\n" - :empty-lines 1) + :empty-lines 1 :tree-type week) ;; templates for work related things only. ("T" "Work Todo" entry (file+headline ,(concat org-directory "/twitter/tasks.org") "New") - "* TODO %?\n" - :empty-lines 1) + "* TODO %?\n") ("D" "Work Journal" entry (file+olp+datetree ,(concat org-directory "/twitter/journal.org")) "* %U %?\n" - :empty-lines 1) + :empty-lines 1 :tree-type week) ("M" "Meeting" entry (file+olp+datetree ,(concat org-directory "/twitter/meetings.org")) "* %U %^{TITLE}\n%?\n" -- cgit 1.4.1