[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: org-insert-heading adds extra newlines [9.0.4 (release_9.0.4-22
From: |
Kyle Sherman |
Subject: |
[O] Bug: org-insert-heading adds extra newlines [9.0.4 (release_9.0.4-222-g63aaff.dirty @ /home/kyle/.emacs.d/modules/org-mode/lisp/)] |
Date: |
Sat, 4 Feb 2017 19:15:28 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Hello.
When pressing M-return, which calls `org-insert-heading', in addition to
adding the new heading under the current one (and splitting if not at
the end
of the line) it also now adds an additional newline after the new
heading. It
didn't used to do this.
This is the commit where this functionality changed:
68d8f860cd0b898a02f60ec3b4781f4ddf7d2627
If this was intentional, I do wish you would change it back as it
continuously
adds more and more newlines if I keep adding headings.
BTW, I absolutely love org-mode. I use it for everything!
Cheers, Kyle
Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-04-17 on lgw01-04, modified by Debian
Package: Org mode version 9.0.4 (release_9.0.4-222-g63aaff.dirty @
/home/kyle/.emacs.d/modules/org-mode/lisp/)
current state:
==============
(setq
org-export-backends '(ascii html icalendar latex md org)
org-hide-leading-stars t
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-reverse-note-order t
org-ellipsis "…"
org-occur-hook '(org-first-headline-recenter)
org-src-tab-acts-natively t
org-metaup-hook '(org-babel-load-in-session-maybe)
org-agenda-start-on-weekday nil
org-log-done 'time
org-src-window-setup 'current-window
org-confirm-shell-link-function nil
org-time-stamp-custom-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M>")
org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default)
("\\.x?html?\\'" . default)
("\\.pdf\\'" . emacs))
org-special-ctrl-a/e t
org-agenda-skip-scheduled-if-done t
org-agenda-custom-commands '(("d" todo "DONE" nil) ("w" todo "WAITING"
nil)
("W" agenda "" ((org-agenda-ndays 21)))
("A" agenda ""
((org-agenda-skip-function
(lambda nil
(org-agenda-skip-entry-if (quote
notregexp)
"\\=.*\\[#A\\]")
)
)
(org-agenda-ndays 1)
(org-agenda-overriding-header "Today's
Priority #A tasks: "))
)
("u" alltodo ""
((org-agenda-skip-function
(lambda nil
(org-agenda-skip-entry-if (quote
scheduled)
(quote deadline) (quote regexp)
"<[^>\n]+>")
)
)
(org-agenda-overriding-header
"Unscheduled TODO entries: "))
)
)
org-return-follows-link t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(local-org-mode-hook er/add-org-mode-expansions
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-block-all
append local] 5
"\n\n(fn)"]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook
org-babel-show-result-all append local]
5 "\n\n(fn)"]
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3
"\n\n(fn ENTRY)"]
org-archive-hook '(org-attach-archive-delete-maybe)
org-replace-disputed-keys t
org-agenda-file-regexp "agenda.*\\.org\\'"
org-directory "/home/kyle/org"
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-use-property-inheritance t
org-todo-keywords '("TODO" "DONE")
org-fast-tag-selection-single-key 'expert
org-agenda-span 7
org-babel-tangle-lang-exts '(("java" . "java") ("emacs-lisp" . "el")
("elisp" . "el"))
org-confirm-elisp-link-function nil
org-src-ask-before-returning-to-edit-buffer nil
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-odd-levels-only t
org-treat-S-cursor-todo-selection-as-state-change nil
org-agenda-skip-deadline-if-done t
org-link-parameters '(("id" :follow org-id-open)
("rmail" :follow org-rmail-open :store
org-rmail-store-link)
("mhe" :follow org-mhe-open :store
org-mhe-store-link)
("irc" :follow org-irc-visit :store
org-irc-store-link)
("info" :follow org-info-open :export
org-info-export :store
org-info-store-link)
("gnus" :follow org-gnus-open :store
org-gnus-store-link)
("docview" :follow org-docview-open :export
org-docview-export :store
org-docview-store-link)
("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export
org-bbdb-export :complete
org-bbdb-complete-link :store org-bbdb-store-link)
("w3m" :store org-w3m-store-link) ("file+sys")
("file+emacs")
("doi" :follow org--open-doi-link)
("elisp" :follow org--open-elisp-link)
("file" :complete org-file-complete-link)
("ftp" :follow (lambda (path) (browse-url
(concat "ftp:" path))))
("help" :follow org--open-help-link)
("http" :follow (lambda (path) (browse-url
(concat "http:" path))))
("https" :follow (lambda (path) (browse-url
(concat "https:" path))))
("mailto" :follow
(lambda (path) (browse-url (concat "mailto:"
path))))
("message" :follow
(lambda (path) (browse-url (concat "message:"
path))))
("news" :follow (lambda (path) (browse-url
(concat "news:" path))))
("shell" :follow org--open-shell-link))
org-babel-load-languages '((clojure . t) (ditaa . t) (dot . t)
(emacs-lisp . t)
(gnuplot . t) (java . t) (js . t) (lisp .
t) (org . t)
(perl . t) (python . t) (ruby . t) (shell . t))
org-log-note-headings '((done . "CLOSING NOTE %t") (state . "State
%-12s %t")
(note . "Note taken on %t")
(reschedule . "Rescheduled from %S on %t")
(delschedule . "Not scheduled, was %S on %t")
(redeadline . "New deadline from %S on %t")
(deldeadline . "Removed deadline, was %S on %t")
(refile . "Refiled on %t") (clock-out . ""))
org-agenda-files '("/home/kyle/org/agenda-personal-timeline.org"
"/home/kyle/org/agenda-personal.org"
"/home/kyle/org/agenda-todo.org"
"/home/kyle/org/agenda-work.org")
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-confirm-babel-evaluate nil
)
--
Kyle Sherman <address@hidden>
- [O] Bug: org-insert-heading adds extra newlines [9.0.4 (release_9.0.4-222-g63aaff.dirty @ /home/kyle/.emacs.d/modules/org-mode/lisp/)],
Kyle Sherman <=