From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Links in Org-mode : Clunky Date: Sat, 27 Jul 2019 18:43:14 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fdd1d0058eb239dc" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52550) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrWLe-000355-I9 for emacs-orgmode@gnu.org; Sat, 27 Jul 2019 19:43:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrWLd-0003Ie-CQ for emacs-orgmode@gnu.org; Sat, 27 Jul 2019 19:43:34 -0400 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:37997) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrWLd-0003HJ-5i for emacs-orgmode@gnu.org; Sat, 27 Jul 2019 19:43:33 -0400 Received: by mail-io1-xd31.google.com with SMTP id j6so37138631ioa.5 for ; Sat, 27 Jul 2019 16:43:33 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --000000000000fdd1d0058eb239dc Content-Type: text/plain; charset="UTF-8" Hello all, I've always found that the links in org-mode are basically very clunky to try to use in a quick fashion. To my understanding (see my other question about CUSTOM_ID versus ID) it's a good practice to store either a CUSTOM_ID or ID - (still can't grok the difference) and then store a hyperlink to that CUSTOM_ID or ID. By storing a hyperlink to CUSTOM_ID or ID my heading can change, but this won't matter. I can also move the heading to another file, and links to it will still work. However, I find that it's pretty clunky to store a CUSTOM_ID or ID for a heading, and then copy the link, and then paste it where I want to use it. Granted, it's not very difficult using org-store-link and org-insert-link, but it's just not as easy as I would think it would be. I've recently stumbled on Helm and was wondering if anyone has coded some kind of function that would show me a list of my headings, and create a CUSTOM_ID or ID for the heading and then copy a link to that heading so that I could easily paste it. Let's say I'm typing some stuff and want to insert a link to another heading, I would press some key combo and a helm search would come up. I would find the heading that I want to link to. If the heading has a CUSTOM_ID property, then a link to that CUSTOM_ID would be inserted at the text where my cursor is. If there's not a CUSTOM_ID property perhaps a prompt for a CUSTOM_ID could pop up. Once I enter the CUSTOM_ID, the link is created and copied to my cursor location / clipboard. Has anyone coded such a plugin or am I missing some cool Helm-fu? Thanks, --Nate --000000000000fdd1d0058eb239dc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I've always f= ound that the links in org-mode are basically
very clunky to= try to use in a quick fashion.

To my understandin= g (see my other question about CUSTOM_ID
versus ID) it's= a good practice to store either a CUSTOM_ID or ID
- (still can&#= 39;t grok the difference) and then store a hyperlink to that
CUST= OM_ID or ID.

By storing a hyperlink to CUSTOM_ID o= r ID my heading can change,
but this won't matter.=C2=A0 I ca= n also move the heading to another file, and links
to it will sti= ll work.=C2=A0=C2=A0

However, I find that it's= pretty clunky to store a CUSTOM_ID or ID
for a heading, and then= copy the link, and then paste it where I want to
use it.=C2=A0 G= ranted, it's not very difficult using org-store-link and org-insert-lin= k,
but it's just not as easy as I would think it would be.

I've recently stumbled on Helm and was wondering= if anyone has coded some
kind of function that would show me a l= ist of my headings, and create a CUSTOM_ID
or ID for the heading = and then copy a link to that heading so that I could easily paste it.
=

Let's say I'm typing some stuff and want to ins= ert a link to another heading, I would
press some key combo and a= helm search would come up.=C2=A0 I would find the heading that
I= want to link to.=C2=A0 If the heading has a CUSTOM_ID property, then a lin= k to that CUSTOM_ID
would be inserted at the text where my cursor= is.=C2=A0 If there's not a CUSTOM_ID property perhaps a prompt for a C= USTOM_ID could pop up.=C2=A0 Once I enter the CUSTOM_ID, the link is create= d and copied to my cursor location / clipboard.

Ha= s anyone coded such a plugin or am I missing some cool Helm-fu?

Thanks,
--Nate
--000000000000fdd1d0058eb239dc--