emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Display problems after capture
       [not found] <56A2CDFF.8020103@yahoo.ca>
@ 2016-01-25  0:01 ` Cheryl Wheeler
  0 siblings, 0 replies; only message in thread
From: Cheryl Wheeler @ 2016-01-25  0:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I am a new org-mode user, and I am in the process of setting up to-do 
lists and templates. In my init.el, I have the following:

   (define-key global-map "\C-cc" 'org-capture)
   (setq org-capture-templates
      '(
          ("x" "Todo" entry (file+headline "~/org/test.org" "Inbox")
            "* TODO %^{Brief Description} %^g\n:LOGBOOK:\n- Added: 
%U\n:END:\n\n\n\n"
           )
       )
   )

In my test.org file, I have two top-level headlines:

   * INBOX...

   * TASKS...

Note the blank line between the headlines. My first problem is that, 
while test.org is open in a buffer, I use my template to add a new Todo 
to INBOX, and then I see this:

   * INBOX...* TASKS...

I can expand TASKS by placing the cursor on it and pressing TAB. The 
second problem is that when I expand the TASKS headline, the structure 
within the TASKS subtree is displayed incorrectly. If I press TAB once, 
it looks OK, except the extra line after the INBOX headline is gone.

   * INBOX
   * TASKS
   :PROPERTIES:...
   ** TODO Open high interest account                              
:COMPUTER:
   ** TODO Clean and wax winter boots :HOME:
   ** TODO Post stuff on FreeCycle   :COMPUTER:

If I press TAB again, I see the following:

   * INBOX
   * TASKS
   :PROPERTIES:...
   ** TODO Open high interest account                               
:COMPUTER:
   :LOGBOOK:...
   Comment
   ** TODO Clean and wax winter boots                              :HOME:
   :LOGBOOK:...
   :LOGBOOK:...
   - Ott Lite
   - Craft cases
   - Magnets

In addition to the 3rd second-level headline not being displayed, there 
is an item in the list before "- Ott Lite" which is also not displayed. 
It is folded within the :END: statement of the last LOGBOOK. At this 
point, I can easily make Emacs hang by changing the levels of the 
second-level headlines a few times using M-<right arrow> and M-<left 
arrow>. If instead I kill the buffer and reopen my org file, everything 
is displayed correctly, but the blank line between the headlines is 
still gone.

My question: are these bugs, or something I am doing wrong? My setup is 
Windows 7, Emacs 24.5.1 (i686-pc-mingw32), org-mode 8.3.3 
(8.3.3-2-g6bc48c-elpaplus @ 
c:/Users/catslaves/AppData/Roaming/.emacs.d/elpa/org-plus-contrib-20160111/).

Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-25  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <56A2CDFF.8020103@yahoo.ca>
2016-01-25  0:01 ` Display problems after capture Cheryl Wheeler

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).