mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-28 10:56:57 +00:00
Agenda: Fix bug when changing lines with invisible text in prefix
Peter Westlake writes: > One small thing, though - in the agenda TODO view, pressing "t" > to mark the task as Done messes up the layout: > > [[http://orgmode.org][Org-Mode]]: TODO Demonstrate problem with link > in category > > (which appears as: > > Org-Mode: TODO Demonstrate problem with link in category) > > > Press T on that line: > > [[http://orgmode.org][Org-Mode]]: TODO Demonstrate problemDONE > Demonstrate problem with link in category > > (which appears as: > > Org-Mode: TODO Demonstrate problemDONE Demonstrate problem with > link in category)
This commit is contained in:
parent
201517106c
commit
0a0a9e5366
@ -1,5 +1,8 @@
|
||||
2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-agenda.el (org-agenda-change-all-lines): Handle invisible
|
||||
text in the prefix (if category is a link).
|
||||
|
||||
* org-latex.el (org-export-latex-preprocess): Deal properly with
|
||||
empty lines in verse environments.
|
||||
|
||||
|
@ -6061,7 +6061,8 @@ If FORCE-TAGS is non nil, the car of it returns the new tags."
|
||||
pl (org-get-at-bol 'prefix-length)
|
||||
undone-face (org-get-at-bol 'undone-face)
|
||||
done-face (org-get-at-bol 'done-face))
|
||||
(org-move-to-column pl)
|
||||
(goto-char (+ (point) pl))
|
||||
;; (org-move-to-column pl) FIXME: does the above line work correctly?
|
||||
(cond
|
||||
((equal new "")
|
||||
(beginning-of-line 1)
|
||||
|
Loading…
Reference in New Issue
Block a user