[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] little elisp help?
From: |
Eric Abrahamsen |
Subject: |
Re: [O] little elisp help? |
Date: |
Wed, 02 Jul 2014 15:54:12 -0700 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
tom <address@hidden> writes:
> hi guys,
>
> I have this:
>
> (setq org-link-abbrev-alist
> '(("foo" . "file:/path/to/%(myfun).txt")))
>
> I'm trying to have "myfun" replace any spaces in the tag with
> underscores, but I'm not having much luck. Would someone mind giving
> me a hint?
>
> Thanks.
You might consider using the built-in `org-link-escape', it's likely to
do everything you need, and it's battle-tested!