mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -05:00
(fix): add vanilla option for tag custom interface (#1100)
This commit is contained in:
17
org-roam.el
17
org-roam.el
@ -197,9 +197,11 @@ extraction methods:
|
|||||||
Tags are space delimited.
|
Tags are space delimited.
|
||||||
Tags may contain spaces if they are double-quoted.
|
Tags may contain spaces if they are double-quoted.
|
||||||
e.g. #+roam_tags: TAG \"tag with spaces\"
|
e.g. #+roam_tags: TAG \"tag with spaces\"
|
||||||
|
|
||||||
`vanilla'
|
`vanilla'
|
||||||
Extract vanilla `org-mode' tags, including #+FILETAGS and
|
Extract vanilla `org-mode' tags, including #+FILETAGS and
|
||||||
inherited tags.
|
inherited tags.
|
||||||
|
|
||||||
`all-directories'
|
`all-directories'
|
||||||
Extract sub-directories relative to `org-roam-directory'.
|
Extract sub-directories relative to `org-roam-directory'.
|
||||||
That is, if a file is located at relative path foo/bar/file.org,
|
That is, if a file is located at relative path foo/bar/file.org,
|
||||||
@ -215,6 +217,7 @@ extraction methods:
|
|||||||
That is, if a file is located at relative path foo/bar/file.org,
|
That is, if a file is located at relative path foo/bar/file.org,
|
||||||
the file will have tag \"foo\"."
|
the file will have tag \"foo\"."
|
||||||
:type '(set (const :tag "#+roam_tags" prop)
|
:type '(set (const :tag "#+roam_tags" prop)
|
||||||
|
(const :tag "buffer org tags" vanilla)
|
||||||
(const :tag "sub-directories" all-directories)
|
(const :tag "sub-directories" all-directories)
|
||||||
(const :tag "parent directory" last-directory)
|
(const :tag "parent directory" last-directory)
|
||||||
(const :tag "first sub-directory" first-directory)))
|
(const :tag "first sub-directory" first-directory)))
|
||||||
@ -243,10 +246,16 @@ For example the setting: '((title headline) alias) means the following:
|
|||||||
2. Or return 'headline + 'alias otherwise.
|
2. Or return 'headline + 'alias otherwise.
|
||||||
|
|
||||||
The currently supported symbols are:
|
The currently supported symbols are:
|
||||||
1. 'title: The \"#+title\" property of org file.
|
|
||||||
2. 'alias: The \"#+roam_alias\" property of the org file, using
|
`title'
|
||||||
space-delimited strings.
|
The \"#+title\" property of org file.
|
||||||
3. 'headline: The first headline in the org file."
|
|
||||||
|
`alias'
|
||||||
|
The \"#+roam_alias\" property of the org file, using
|
||||||
|
space-delimited strings.
|
||||||
|
|
||||||
|
`headline'
|
||||||
|
The first headline in the org file."
|
||||||
:type '(repeat
|
:type '(repeat
|
||||||
(choice
|
(choice
|
||||||
(repeat symbol)
|
(repeat symbol)
|
||||||
|
Reference in New Issue
Block a user