emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cheryl Wheeler <c_wheeler_2002@yahoo.ca>
To: emacs-orgmode@gnu.org
Subject: Display problems after capture
Date: Sun, 24 Jan 2016 19:01:11 -0500	[thread overview]
Message-ID: <56A565C7.4040408@yahoo.ca> (raw)
In-Reply-To: <56A2CDFF.8020103@yahoo.ca>

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!

           reply	other threads:[~2016-01-25  0:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <56A2CDFF.8020103@yahoo.ca>]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=56A565C7.4040408@yahoo.ca \
    --to=c_wheeler_2002@yahoo.ca \
    --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 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).