From: Christopher Witte <chris@witte.net.au>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Subtle bug with capture and refile
Date: Thu, 21 Oct 2010 14:27:02 +0200 [thread overview]
Message-ID: <AANLkTimw6PLqiUiecNeZE06YudRGUfqdLCZMUpLd3Y2u@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1395 bytes --]
The new org capture has been working great but I have just come across a
subtle bug that has taken me a while to reliably reproduce. I have org set
up to add TODO captures to the top of my organiser.org file. If you try and
refile the capture TODO and the cursor is at the bottom of the capture
buffer, it will refile the next item in organiser.org and not the capture
TODO. Hmm, that doesn't sound too clear, let me try and give an example.
My organiser.org looks like this:
-----organiser.org-----
* Home
** Home item 1
** Home item 2
* Work
** Work item 1
I then make a capture TODO
-----capture buffer-----
* TODO report capture buffer bug
!
with the cursor indicated by ! I press C-c C-w and refile to work. Instead
of the capture note being refiled, Home get refiled so I end up with
organiser.org looking like:
-----organiser.org-----
*TODO report capture buffer bug
* Work
** Home
*** Home item 1
*** Home item 2
** Work item 1
if instead the cursor is on the TODO line when I refile, everything works as
expect and I end up with:
-----organiser.org-----
* Home
** Home item 1
** Home item 2
* Work
** TODO report capture buffer bug
** Work item 1
This has been causing me problems for a while now, but I could never work
out why this only happened some of the time. I hope that explains the
problem with sufficient clarity, let me know if it doesn't.
Cheers
Chris Witte.
[-- Attachment #1.2: Type: text/html, Size: 1708 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2010-10-21 12:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 12:27 Christopher Witte [this message]
2010-10-21 16:05 ` Subtle bug with capture and refile John Rakestraw
2010-10-21 17:38 ` Carsten Dominik
2010-10-21 18:29 ` John Rakestraw
2010-10-21 20:27 ` Carsten Dominik
2010-10-22 14:13 ` Christopher Witte
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=AANLkTimw6PLqiUiecNeZE06YudRGUfqdLCZMUpLd3Y2u@mail.gmail.com \
--to=chris@witte.net.au \
--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).