From: Carsten Dominik <dominik@science.uva.nl>
To: Matthew Lundin <mclundin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question about org-link-file-path-type
Date: Tue, 4 Nov 2008 12:32:22 +0100 [thread overview]
Message-ID: <FEB16605-24B3-4CAA-86C0-5E23143B203B@uva.nl> (raw)
In-Reply-To: <m2d4hcxjfu.fsf@fastmail.fm>
Hi Matt,
I would call this a bug. It is fixed now. Thanks for your report!
- Carsten
On Nov 4, 2008, at 4:24 AM, Matthew Lundin wrote:
> Matthew Lundin <mclundin@gmail.com> writes:
>
>> I am using org 6.10c. When I set org-link-file-path-type to absolute
>> and use C-u C-c C-l (org-insert-link with argument), any file in my
>> home directory above my org directory is given the shortcut ~ -- as
>> in
>> file:~/pdfs/paper.pdf. (This is the desired behavior.)
>>
>> But when org-link-file-path-type is set to adaptive (the default)
>> and I use org-insert link, the files above my org-directory are
>> given unabbreviated names. E.g.: file:/home/matt/pdfs/paper.pdf.
>>
>> Since I use org on two separate computers with different root
>> directory structures but also rely on relative links for my
>> website, I
>> would like the adaptive option to create abbreviated links for the
>> home directory (i.e., ~). Is this possible?
>>
>> I seem to remember the adaptive setting resulting in the abbreviated
>> links in 6.06 (before I upgraded to 6.08 and then 6.10), but I may be
>> wrong about that.
>
> My mistake. I checked and this was apparently not the behavior of
> earlier versions of org-mode.
>
> So let me try to simplify my question: Is it possible to have an
> adaptive link option that creates (a) relative links for files in the
> same directory as my org files or in subdirectories and (b)
> abbreviated absolute links (i.e., ~ for home) for files in other
> directories within my home directory? In other words, the behavior of
> the absolute link option as part of the adaptive link option. As far
> as I can tell, when the adaptive link option is set, org-store-link
> and org-insert-link produce unabbreviated links for files in the home
> directory.
>
> Thanks (and sorry for the wordiness).
> Matt
>
>>
>> Thanks,
>>
>> Matt Lundin
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-11-04 11:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 23:24 Question about org-link-file-path-type Matthew Lundin
2008-11-04 3:24 ` Matthew Lundin
2008-11-04 11:32 ` Carsten Dominik [this message]
2008-11-04 11:45 ` Sebastian Rose
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FEB16605-24B3-4CAA-86C0-5E23143B203B@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mclundin@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.