emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: Column mode display broken after adding PROPERTIES drawer [8.3.


From: Dale
Subject: [O] Bug: Column mode display broken after adding PROPERTIES drawer [8.3.1 (release_8.3.1-176-g45abec @ /tmp/minimal-org/org-mode/lisp/)]
Date: Tue, 25 Aug 2015 18:50:05 -0500

I believe I have found a bug with column mode in org-mode from Git
(45abec0): if editing a column's value adds a PROPERTIES drawer then
the column mode display becomes corrupted.

Steps to reproduce:

1. Create an org-mode buffer with the following contents:

------8<------
#+COLUMNS: %62ITEM(Task) %8Effort(Estimate){:}
* Parent
** Test 1
** Test 2
------8<------

2. Move cursor to "Parent" headline

3. Enter column mode with C-c C-x C-c

4. Move cursor into "Estimate" column of "Test 1" task

5. Press "e" to edit the column's value and enter any value (e.g. 0:00)

Expected visible buffer contents:

------8<------
Task       | Estimate |
#+COLUMNS: %10ITEM(Task) %8Effort(Estimate){:}
* Parent   | 0:00     |
** Test 1  | 0:00     |...
** Test 2  |          |
------8<------

What I observed instead of that, the "Test 2" heading being moved onto
the same line as "Test 1":

------8<------
Task       | Estimate |
#+COLUMNS: %10ITEM(Task) %8Effort(Estimate){:}
* Parent   | 0:00     |
** Test 1  | 0:00     |...** Test 2  |          |
------8<------

Note that the "Test 2" headline has been moved to the end of the "Test
1" headline.  Pressing down arrow from Test 1's "Estimate" column moves
to Test 2's "Estimate" column just as it appears, way off to the right
of the "Test 1" heading rather than below it.

Tested with Emacs 24.5.1 built from MacPorts on OS X 10.9 with "emacs
-nw -Q -L org-mode/lisp".

------------------------------------------------------------------------



Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-08-25 on dale
Package: Org-mode version 8.3.1 (release_8.3.1-176-g45abec @ /tmp/minimal-org/org-mode/lisp/)

current state:
==============
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 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 '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)))
(lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)))
org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
 org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]