emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] adaptive with nonabbrev for org-link-file-path-type


From: mgcyung
Subject: [O] adaptive with nonabbrev for org-link-file-path-type
Date: Fri, 19 Apr 2019 09:41:34 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]