emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Jacob Gerlach <jacobgerlach@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Internal Links with Spaces
Date: Tue, 10 Mar 2015 10:30:28 -0400	[thread overview]
Message-ID: <CAJ51ETqxm3yGm611ZQ73mLv1Qcgfa0xbxAPkCLzU5wW4WduMbQ@mail.gmail.com> (raw)
In-Reply-To: <CAA6UvuEG_9b0+b=boXMSsi+8yZWZORBkMAfgKj+9rhPpuevsgQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

I am not sure what the convention there is.

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Tue, Mar 10, 2015 at 10:05 AM, Jacob Gerlach <jacobgerlach@gmail.com>
wrote:

> On Mon, Mar 9, 2015 at 7:28 PM John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
> >
> > I think you need to set
> >
> > (setq org-id-link-to-org-use-id 'create-if-interactive)
>
> Indeed, this is a variation of what Leo suggested and customizing
> org-id-link-to-org-use-id is working well for me.
>
> After perusing the source code further, I think that my confusion
> about org-id-store-link arose because this function isn't intended to
> be called on it's own (it's called by org-store-link when appropriate
> based on the value of org-id-link-to-org-use-id).
>
> I've seen a double hyphen in function names to sometimes indicate
> internal functions. Would this function be more appropriately named
> org-id--store-link or am I misunderstanding the convention?
>
> Regards,
> Jake
>

[-- Attachment #2: Type: text/html, Size: 1841 bytes --]

  parent reply	other threads:[~2015-03-10 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 13:05 Internal Links with Spaces Jacob Gerlach
2015-03-09 14:38 ` Leo Ufimtsev
2015-03-09 20:50   ` Jacob Gerlach
2015-03-09 23:28     ` John Kitchin
     [not found]       ` <CAA6UvuEG_9b0+b=boXMSsi+8yZWZORBkMAfgKj+9rhPpuevsgQ@mail.gmail.com>
2015-03-10 14:30         ` John Kitchin [this message]
2015-03-10 14:39       ` Jacob Gerlach
     [not found]         ` <m2egowj0h7.fsf@andrew.cmu.edu>
2015-03-10 19:47           ` Jacob Gerlach

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=CAJ51ETqxm3yGm611ZQ73mLv1Qcgfa0xbxAPkCLzU5wW4WduMbQ@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jacobgerlach@gmail.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).