From: David Abrahams <dave@boostpro.com>
To: Noorul Islam <noorul@noorul.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: No match - create this as a new heading? [7.01trans]
Date: Sun, 10 Oct 2010 05:37:27 -0400 [thread overview]
Message-ID: <m2mxqmjsmg.wl%dave@boostpro.com> (raw)
In-Reply-To: <AANLkTimUs0zXuB08SrjVfAhPrgaCOPpEMr7=KoJYiQof@mail.gmail.com>
At Sun, 10 Oct 2010 06:16:07 +0530,
Noorul Islam wrote:
>
> On Sun, Oct 10, 2010 at 4:19 AM, David Abrahams <dave@boostpro.com> wrote:
> >
> >
> > Remember to cover the basics, that is, what you expected to happen and
> > what in fact did happen. You don't know how to make a good report? See
> >
> > http://orgmode.org/manual/Feedback.html#Feedback
> >
> > Your bug report will be posted to the Org-mode mailing list.
> > ------------------------------------------------------------------------
> >
> > When I did an org-capture from an Org file, I got
> >
> > [[file:~/Dropbox/Projects/iRobot/irobot.org::*Fixes%20to%20make%20post%20hoc][Fixes to make post-hoc]]
> >
> > But when I tried to follow that link, I got the title error message.
> >
> > Incidentally, it seems to work out if I add an ID property:
> >
> > [[id:000BE8BE-5673-4F73-8D02-1E5411D59465][Fixes to make post-hoc]]
> >
> > How does it know which file to open in that case? Is it somehow encoded in the ID?
> >
> > Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
> > of 2010-05-08 on black.local
> > Package: Org-mode version 7.01trans
> >
>
> I tested with the following templates.
>
> 1. With ID property
>
> (("t" "Task" entry (file+headline "~/notebook/refile.org" "Inbox") "* TODO %?
> SCHEDULED: %t
> :PROPERTIES:
> :Link: %a
> :ID: %(shell-command-to-string \"uuidgen\") :END:
> %U" :prepend t))
>
> 2. Without ID property.
>
> (("t" "Task" entry (file+headline "~/notebook/refile.org" "Inbox") "* TODO %?
> SCHEDULED: %t
> :PROPERTIES:
> :Link: %a
> :END:
> %U" :prepend t))
>
> And I did not face any issues when I tried to follow the link.
In my case, the item to be found had *no* properties before I added
the ID property, and wasn't in one of my "regular org files." It
looked like this:
* Fixes to make post-hoc
** TODO Pause in animation of string toy
** TODO Stop with the swap hack in copy ctor of sparse
The problem is that it means we end up with a broken invariant in
the dtor
Oh, weird. Now when I store a link the item automatically gets an
ID. I guess I need to go back and RTFM because I obviously don't
understand how this stuff works. I wonder why the first time I stored
a link I got something like the first link.
baffled-ly y'rs,
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
prev parent reply other threads:[~2010-10-10 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-09 22:49 Bug: No match - create this as a new heading? [7.01trans] David Abrahams
2010-10-10 0:46 ` Noorul Islam
2010-10-10 9:37 ` David Abrahams [this message]
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=m2mxqmjsmg.wl%dave@boostpro.com \
--to=dave@boostpro.com \
--cc=emacs-orgmode@gnu.org \
--cc=noorul@noorul.com \
/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).