From: mgcyung <mgcyung@gmail.com>
To: emacs-orgmode@gnu.org
Subject: adaptive with nonabbrev for org-link-file-path-type
Date: Fri, 19 Apr 2019 09:41:34 +0800 [thread overview]
Message-ID: <87r29ybwkx.wl-mgcyung@gmail.com> (raw)
Hello everyone,
When the 'org-link-file-path-type' is 'adaptive', a path of file under
home directory or its subdirectory started with tilde ('~') such as
'~/test/1.png'. How to combine nonabbrev with adaptive that expands
the tilde such as '/home/alpha/test/1.png'
C-h v org-link-file-path-type says
------------------------------------------------------------
org-link-file-path-type is a variable defined in `org.el'.
Its value is adaptive
Documentation:
How the path name in file links should be stored.
Valid values are:
relative Relative to the current directory, i.e. the directory of the file
into which the link is being inserted.
absolute Absolute path, if possible with ~ for home directory.
noabbrev Absolute path, no abbreviation of home directory.
adaptive Use relative path for files in the current directory and sub-
directories of it. For other files, use an absolute path.
reply other threads:[~2019-04-19 1:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87r29ybwkx.wl-mgcyung@gmail.com \
--to=mgcyung@gmail.com \
--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).