Fix indentation when using a [@start:num] or [@num] construct.

* org.el (org-indent-line-function): Indent past [@num] and
  [@start:num], consistently with what is already done with
  checkboxes.
This commit is contained in:
Nicolas Goaziou 2010-09-09 15:20:54 +02:00 committed by David Maus
parent 06c332cfee
commit 7c28d8d336
1 changed files with 1 additions and 1 deletions

View File

@ -18588,7 +18588,7 @@ which make use of the date at the cursor."
;; Lists
((org-in-item-p)
(org-beginning-of-item)
(looking-at "[ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? :: \\)?")
(looking-at "[ \t]*\\(\\S-+\\)[ \t]*\\(\\(:?\\[@\\(:?start:\\)?[0-9]+\\][ \t]*\\)?\\[[- X]\\][ \t]*\\|.*? :: \\)?")
(setq bpos (match-beginning 1) tpos (match-end 0)
bcol (progn (goto-char bpos) (current-column))
tcol (progn (goto-char tpos) (current-column))