branch: externals/org-transclusion commit 5cb94542e18722bf72a281441e944a8039b5301f Author: Noboru Ota <m...@nobiot.com> Commit: Noboru Ota <m...@nobiot.com>
bump up version to 1.3.0 --- NEWS | 2 +- docs/org-transclusion-manual.org | 16 ++++++++-------- org-transclusion.el | 4 ++-- test/test-2.0.org | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index 921a70d1b0..511cd6d07a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -* Current +* Version 1.3.0 - Feature :: diff --git a/docs/org-transclusion-manual.org b/docs/org-transclusion-manual.org index 80445c35bf..b9854f919b 100644 --- a/docs/org-transclusion-manual.org +++ b/docs/org-transclusion-manual.org @@ -1,7 +1,7 @@ #+title: Org-transclusion User Manual #+author: Noboru Ota <m...@nobiot.com> -#+macro: version 1.2.x -#+macro: modified 28 May 2022 +#+macro: version 1.3.x +#+macro: modified 12 June 2022 #+language: en #+export_file_name: org-transclusion.texi @@ -277,21 +277,21 @@ You can combine =:only-contents= and =:exclude-elements= to control how you tran You can use the property in the following way. -#+begin_src org +#+begin_example #+transclude: [[file:path/to/file.org]] :expand-links -#+end_src +#+end_example As an exanmple if you have the content of this source file like this: -#+begin_src org +#+begin_example This is a sample file link to [[file:test2.org]]. -#+end_src +#+end_example For this source file, you will get the following transclusion with the link expanded [fn:1] -#+begin_src org +#+begin_example This is a sample file link to [[file:/home/user/org/test2.org]]. -#+end_src +#+end_example [fn:1] "Expanding" in Emacs means converting a relative file name to an absolute one. Info node `(elisp) File-Name-Expansion' diff --git a/org-transclusion.el b/org-transclusion.el index bb46b2bf4d..35ae173fe2 100644 --- a/org-transclusion.el +++ b/org-transclusion.el @@ -17,12 +17,12 @@ ;; Author: Noboru Ota <m...@nobiot.com> ;; Created: 10 October 2020 -;; Last modified: 27 May 2022 +;; Last modified: 12 June 2022 ;; URL: https://github.com/nobiot/org-transclusion ;; Keywords: org-mode, transclusion, writing -;; Version: 1.2.0 +;; Version: 1.3.0 ;; Package-Requires: ((emacs "27.1") (org "9.4")) ;; This file is not part of GNU Emacs. diff --git a/test/test-2.0.org b/test/test-2.0.org index f202cda0aa..2c3c31e5df 100644 --- a/test/test-2.0.org +++ b/test/test-2.0.org @@ -111,7 +111,7 @@ t/nil will be dropped after remove-at-point #+transclude: [[file:bertrand-russell.org::*Bertrand Russell - Wikipedia]] :level 2 :disable-auto :only-contents * Exclude elements -#+transclude: [[id:20210501T171427.051019][Bertrand Russell]] :only-contents :exclude-elements "keyword drawer headline" +#+transclude: [[id:2022-05-30T203553]] :only-contents :exclude-elements "keyword drawer headline" #+transclude: [[file:./test-no-first-section.org]] :exclude-elements "drawer keyword property-drawer"