emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Bastien <bzg@altern.org>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Capture/store link bug
Date: Mon, 25 Mar 2013 19:52:19 -0500	[thread overview]
Message-ID: <87txnzyocc.fsf@fastmail.fm> (raw)
In-Reply-To: <871ub3100c.fsf@fastmail.fm> (Matt Lundin's message of "Mon, 25 Mar 2013 19:24:19 -0500")

Matt Lundin <mdl@imapmail.org> writes:

> Bastien <bzg@altern.org> writes:
>
>> Matt Lundin <mdl@imapmail.org> writes:
>>
>>> 1) When an org-capture template is invoked with (a) an active region and
>>> (b) an annotation (i.e., a link), the link is not inserted in the
>>> capture buffer.
>>
>> This one must be fixed, thanks.
>
> Hmm. I see the change you made and it makes sense. But it seems now that
> the annotations (i.e., links) do not appear at all in the capture,
> regardless of whether there is an active region or not. 

I think I've figured out why this doesn't work. See line 9492 of org.el.
If ignore-region is t, org-store-link does not return a value, which
org-capture expects. Rather org-store-link adds the link to
org-stored-links.

Matt

  reply	other threads:[~2013-03-26  0:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 22:15 Capture/store link bug Matt Lundin
2013-03-25 22:54 ` Bastien
2013-03-26  0:24   ` Matt Lundin
2013-03-26  0:52     ` Matt Lundin [this message]
2013-03-27  6:48       ` Bastien
2013-03-28 15:36         ` Matt Lundin

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=87txnzyocc.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bzg@altern.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 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).