From: Aviv <orgmodegmaneFeb14.z.m1@dfgh.net>
To: emacs-orgmode@gnu.org
Subject: Using a simpler link syntax in org-mode?
Date: Fri, 7 Feb 2014 02:28:11 +0000 (UTC) [thread overview]
Message-ID: <loom.20140207T024951-748@post.gmane.org> (raw)
I'd like to have links with the syntax [[foo bar]] go to files with the name
foo bar.org. This would make using org-mode much more like using a personal
local wiki.
Is this possible without breaking existing link functionality? I'd also
ideally still be able to export to html, etc. with standard org-mode tools.
The best I've been able to do is something like:
(setq org-link-abbrev-alist '(("o" . "file:%s.org")))
This lets me use the syntax [[o:foo bar]], but that is more verbose, and
looks distractingly ugly inline.
For example: The quick brown o:fox jumps over the o:lazy_dog.
And `[[o:foo bar][foo bar]]` is even
more verbose to type and edit (though it reads fine in org modde).
FYI, I was asked to crosspost this from stackoverflow at
http://stackoverflow.com/q/21085720/1137803
(I waited several weeks with no answer; I hope that is appropriate)
Regards
- Aviv
next reply other threads:[~2014-02-12 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 2:28 Aviv [this message]
2014-02-12 17:26 ` Using a simpler link syntax in org-mode? John Kitchin
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=loom.20140207T024951-748@post.gmane.org \
--to=orgmodegmanefeb14.z.m1@dfgh.net \
--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).