all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dale <dale@codefu.org>
To: emacs-orgmode@gnu.org
Subject: 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	[thread overview]
Message-ID: <CAEj9N4KAxRa3Qp4atZPfG48OF9dUh4U3Ub8aoPTf=iRu2vvD2g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3079 bytes --]

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)
 )

[-- Attachment #2: Type: text/html, Size: 4425 bytes --]

             reply	other threads:[~2015-08-25 23:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25 23:50 Dale [this message]
2015-08-26 20:23 ` Bug: Column mode display broken after adding PROPERTIES drawer [8.3.1 (release_8.3.1-176-g45abec @ /tmp/minimal-org/org-mode/lisp/)] Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEj9N4KAxRa3Qp4atZPfG48OF9dUh4U3Ub8aoPTf=iRu2vvD2g@mail.gmail.com' \
    --to=dale@codefu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.