emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* adaptive with nonabbrev for org-link-file-path-type
@ 2019-04-19  1:41 mgcyung
  0 siblings, 0 replies; only message in thread
From: mgcyung @ 2019-04-19  1:41 UTC (permalink / raw)
  To: emacs-orgmode


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-19  1:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-19  1:41 adaptive with nonabbrev for org-link-file-path-type mgcyung

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).