mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 07:02:53 +00:00
* lisp/org.el (org-add-planning-info): Reset point before each planning entry search. Clean up extra spaces. * testing/lisp/test-org.el (test-org/add-planning-info): Add tests. - Reposition save-excursion call to reset point every dolist iteration. Otherwise, the order of the entries to be removed matters, and a call like (org-add-planning-info nil nil 'scheduled 'deadline) on DEADLINE: <2015-06-26 Fri> SCHEDULED: <2015-06-26 Fri> will fail to remove the deadline entry. - Delete leading white space even when at the beginning of the line so that, when org-adapt-indentation is nil, a space is not inserted when removing the leading planning info entry. This prevents headings with repeating entries like SCHEDULED: <2015-06-26 Fri +1w> from being closed and recycled with an extra space in front of SCHEDULED. - Add leading white space to the planning info entry regexp to prevent leftover white space when removing entries other than the first entry. |
||
---|---|---|
.. | ||
test-ob-awk.el | ||
test-ob-C.el | ||
test-ob-emacs-lisp.el | ||
test-ob-exp.el | ||
test-ob-fortran.el | ||
test-ob-header-arg-defaults.el | ||
test-ob-lilypond.el | ||
test-ob-lob.el | ||
test-ob-maxima.el | ||
test-ob-octave.el | ||
test-ob-perl.el | ||
test-ob-python.el | ||
test-ob-R.el | ||
test-ob-ruby.el | ||
test-ob-sed.el | ||
test-ob-shell.el | ||
test-ob-table.el | ||
test-ob-tangle.el | ||
test-ob.el | ||
test-org-clock.el | ||
test-org-element.el | ||
test-org-footnote.el | ||
test-org-list.el | ||
test-org-macro.el | ||
test-org-src.el | ||
test-org-table.el | ||
test-org-timer.el | ||
test-org.el | ||
test-ox.el | ||
test-property-inheritance.el |