[elpa] externals/org-transclusion ec2bbb0 1/3: docs: Makefile to automate generation of manual docs

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit ec2bbb02f28c0d915c983456756c942212ca2625
Author: Noboru Ota 
Commit: Noboru Ota 

docs: Makefile to automate generation of manual docs
---
 dir   |  19 +
 docs/Makefile |  28 +
 docs/index.html   |  43 +-
 docs/manual-gen.el|  10 +
 org-transclusion.org => docs/org-transclusion.org |  86 +-
 org-transclusion.info | 106 +--
 org-transclusion.texi | 916 --
 7 files changed, 151 insertions(+), 1057 deletions(-)

diff --git a/dir b/dir
new file mode 100644
index 000..a3a6852
--- /dev/null
+++ b/dir
@@ -0,0 +1,19 @@
+This is the file .../info/dir, which contains the
+topmost node of the Info hierarchy, called (dir)Top.
+The first time you invoke Info you start off looking at this node.
+
+File: dir, Node: Top   This is the top of the INFO tree
+
+  This (the Directory node) gives a menu of major topics.
+  Typing "q" exits, "H" lists all Info commands, "d" returns here,
+  "h" gives a primer for first-timers,
+  "mEmacs" visits the Emacs manual, etc.
+
+  In Emacs, you can click mouse button 2 on a menu item or cross reference
+  to select it.
+
+* Menu:
+
+Emacs
+* Org-transclusion: (org-transclusion).
+Transclusion in Org mode.
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 000..6e0a368
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,28 @@
+.POSIX:
+EMACS = emacs
+MAKEINFO = makeinfo
+INSTALLINFO = install-info
+MV = mv
+RM = rm
+MANUAL_HTML_ARGS =--html --no-split --footnote-style=separate 
--css-ref=resources/manual.css
+
+## Build #
+
+all: manual html install clear
+
+manual:
+   @printf "\n\n### Generating manual .texi and .info files \n\n"
+   $(EMACS) -Q --batch -L ../ --file org-transclusion.org -l manual-gen.el
+
+html:
+   @printf "\n\n### Generating manual .html files \n\n"
+   $(MAKEINFO) $(MANUAL_HTML_ARGS) org-transclusion.texi -o index.html
+
+install:
+   @printf "\n\n### Installing manual files \n\n"
+   $(INSTALLINFO) org-transclusion.info ../dir
+   $(MV) org-transclusion.info ../
+
+clear:
+   @printf "\n\n### Clear .texi file \n\n"
+   $(RM) org-transclusion.texi*
diff --git a/docs/index.html b/docs/index.html
index 87fdd4e..69e4a06 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -88,7 +88,7 @@ modify this GNU manual.”
 
 • Getting Started  
 
-• Usage  
+• Usage  Features in detail
 
 • Customizing  
 
@@ -296,15 +296,15 @@ Next: Usage, Previous: #+transclude: [[id:20210501T171427.051019][Bertrand 
Russell]]
 
 
-Put your cursor somewhere on this keyword line and type ‘M-x 
org-transclusion-add RET’, and you will see the text content that 
the ID points replace the whole line. If you have multiple links with a 
transclude keyword, you can type ‘M-x org-transclusion-add-all 
RET’ to do all transclusions in the current buffer.
+Put your cursor somewhere on this keyword line and type ‘M-x 
org-transclusion-add RET’, and you will see the text content that 
the ID points to replace the whole line. If you have multiple links with a 
transclude keyword, you can type ‘M-x org-transclusion-add-all 
RET’ to add all transclusions in the current buffer.
 
-Alternatively, you can also put cursor somewhere on the link and call  
‘M-x org-transclusion-make-from-link’. That will 
insert another line with ‘#+transclusion:’ keyword 
appended in front of a copy of the original link in the next empty line.
+Alternatively, you can also put cursor somewhere on the link and type  
‘M-x org-transclusion-make-from-link RET’. That will 
insert another line with ‘#+transclusion:’ keyword 
added in front of a copy of the original link in the next empty line.
 
 The transcluded text is read-only but you can copy it and 
export it as normal text. Org-transclusion remembers where it has transcluded 
the text from (its source buffer).  You can call a number of useful commands 
with a single letter (by default).
 
 For example, you can press ‘o’ to open the source 
buffer of the transclusion at point, or ‘O’ (capital 
"o") to open and move to it. Press ‘g’ to 
refresh the transclusion. Press ‘e’ to start live-sync 
edit. For more detail, inspect the documentation of each command. Press 
‘d’ to remove the transcluded content, putting the 
original ‘#+transcl [...]
 
-This single-letter-context-menu is defined in 
‘org-transclusion-map’. The default keybindings are 
shown below. Adapt them to your liking, especially if you use vim keybindings 
with Evil Mode, etc.
+This single-letter-context-menu is defined in 
‘org-transclusion-map’. The default keybindings are 
shown below. Adapt them to your liking, especially if you use Vim keybindings 
with Evil Mode, etc.
 
 
 key binding
@@ 

[elpa] externals/org-transclusion updated (034b3be -> 3761a02)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/org-transclusion.

  from  034b3be   docs:NEWS for the fix
   new  ec2bbb0   docs: Makefile to automate generation of manual docs
   new  1200252   docs: add-all does not add transclusions when error in 
batch
   new  3761a02   docs: @paragraphindent to remove indents


Summary of changes:
 dir   |  19 +
 docs/Makefile |  29 +
 docs/index.html   |  18 +-
 docs/manual-gen.el|  11 +
 org-transclusion.org => docs/org-transclusion.org |  92 +--
 org-transclusion.info | 295 ---
 org-transclusion.texi | 916 --
 7 files changed, 262 insertions(+), 1118 deletions(-)
 create mode 100644 dir
 create mode 100644 docs/Makefile
 create mode 100644 docs/manual-gen.el
 rename org-transclusion.org => docs/org-transclusion.org (93%)
 delete mode 100644 org-transclusion.texi



[elpa] externals/org-transclusion 1200252 2/3: docs: add-all does not add transclusions when error in batch

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 12002527b0a33fc9185e449223fb2a0c5dd3dd89
Author: Noboru Ota 
Commit: Noboru Ota 

docs: add-all does not add transclusions when error in batch

emacs batch mode stops processing in one error even when the error is 
demoted.
Need more time to fix it properly. At the moemnt, exporting manually from 
the
org buffer.
---
 docs/Makefile |  1 +
 docs/index.html   | 33 +++--
 docs/manual-gen.el|  5 +--
 docs/org-transclusion.org | 10 +++---
 org-transclusion.info | 92 +--
 5 files changed, 98 insertions(+), 43 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index 6e0a368..9f26920 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -9,6 +9,7 @@ MANUAL_HTML_ARGS =--html --no-split --footnote-style=separate 
--css-ref=resource
 ## Build #
 
 all: manual html install clear
+run: html install clear
 
 manual:
@printf "\n\n### Generating manual .texi and .info files \n\n"
diff --git a/docs/index.html b/docs/index.html
index 69e4a06..f97c547 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -60,9 +60,9 @@ Next: 
 Org-transclusion User Manual
 
 
-This manual is for Org-transclusion version 1.0.x.
+This manual is for Org-transclusion 1.0.x.
 
-last updated 23 December 2021.
+Last updated 24 December 2021.
 
 Org-transclusion lets you insert a copy of text content via a file link or 
ID link within an Org file. It lets you have the same content present in 
different buffers at the same time without copy-and-pasting it. Edit the source 
of the content, and you can refresh the transcluded copies to the up-to-date 
state. Org-transclusion keeps your files clear of the transcluded copies, 
leaving only the links to the original content. 
 
@@ -925,9 +925,38 @@ Previous: Faces &a
 
  ‘org-transclusion-map’
 
+
+key binding
+--- ---
+
+C-c Prefix Command
+TAB org-cycle
+D   org-transclusion-demote-subtree
+O   org-transclusion-move-to-source
+P   org-transclusion-promote-subtree
+d   org-transclusion-remove
+e   org-transclusion-live-sync-start
+g   org-transclusion-refresh
+o   org-transclusion-open-source
+
+C-c C-c org-ctrl-c-ctrl-c
+
+
+
 
  ‘org-transclusion-live-sync-map’
 
+
+key   binding
+---   ---
+
+C-c   Prefix Command
+C-y   org-transclusion-live-sync-paste
+
+C-c C-c   org-transclusion-live-sync-exit
+
+*Also inherits ‘org-mode-map’
+
 
 
 
diff --git a/docs/manual-gen.el b/docs/manual-gen.el
index 47bdf29..1b53f06 100644
--- a/docs/manual-gen.el
+++ b/docs/manual-gen.el
@@ -2,8 +2,9 @@
 
 (require 'org-transclusion)
 
-(ignore-error
-(org-transclusion-add-all))
+;; Need to fix this
+;; Currently it does not work
+(org-transclusion-add-all)
 
 (let ((inhibit-read-only t))
   (org-texinfo-export-to-info))
diff --git a/docs/org-transclusion.org b/docs/org-transclusion.org
index 2e2e3e2..cf14816 100644
--- a/docs/org-transclusion.org
+++ b/docs/org-transclusion.org
@@ -1,6 +1,6 @@
 #+title: Org-transclusion User Manual
 #+author: Noboru Ota 
-#+modified: 2021-12-24T101247
+#+modified: 2021-12-24T111248
 #+language: en
 #+export_file_name: org-transclusion.texi
 #+texinfo_dir_category: Emacs
@@ -10,17 +10,17 @@
 
 #+options: toc:nil
 
-#+macro: version 1.0.x
-#+macro: updated last updated 23 December 2021
+#+macro: version 1.0.x.
+#+macro: updated Last updated 24 December 2021.
 
 #+html: https://www.gnu.org/software/emacs/";>https://img.shields.io/static/v1?logo=gnuemacs&logoColor=fafafa&label=Made%20for&message=GNU%20Emacs&color=7F5AB6&style=flat"/>
 #+html: http://elpa.gnu.org/packages/org-transclusion.html";>https://elpa.gnu.org/packages/org-transclusion.svg"/>
 #+html: http://elpa.gnu.org/devel/org-transclusion.html";>https://elpa.gnu.org/devel/org-transclusion.svg"/>
 #+html: https://img.shields.io/badge/License-GPLv3-blue.svg";>
 
-This manual is for Org-transclusion version 1.0.x.
+This manual is for Org-transclusion {{{version}}}
 
-last updated 23 December 2021.
+{{{updated}}}
 
 Org-transclusion lets you insert a copy of text content via a file link or ID 
link within an Org file. It lets you have the same content present in different 
buffers at the same time without copy-and-pasting it. Edit the source of the 
content, and you can refresh the transcluded copies to the up-to-date state. 
Org-transclusion keeps your files clear of the transcluded copies, leaving only 
the links to the original content. 
 
diff --git a/org-transclusion.info b/org-transclusion.info
index 9fcceef..c915699 100644
--- a/org-transclusion.info
+++ b/org-transclusion.info
@@ -26,9 +26,9 @@ Org-transclusion User Manual
 
 
 
-   This manual is for Org-trans

[elpa] externals/org-transclusion 3761a02 3/3: docs: @paragraphindent to remove indents

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 3761a02f593c6521c4beda27569fada58db79d93
Author: Noboru Ota 
Commit: Noboru Ota 

docs: @paragraphindent to remove indents
---
 docs/org-transclusion.org |   4 +-
 org-transclusion.info | 279 +++---
 2 files changed, 139 insertions(+), 144 deletions(-)

diff --git a/docs/org-transclusion.org b/docs/org-transclusion.org
index cf14816..43381c8 100644
--- a/docs/org-transclusion.org
+++ b/docs/org-transclusion.org
@@ -1,12 +1,12 @@
 #+title: Org-transclusion User Manual
 #+author: Noboru Ota 
-#+modified: 2021-12-24T111248
+#+modified: 2021-12-24T113454
 #+language: en
 #+export_file_name: org-transclusion.texi
 #+texinfo_dir_category: Emacs
 #+texinfo_dir_title: Org-transclusion: (org-transclusion)
 #+texinfo_dir_desc: Transclusion in Org mode
-#+texinfo: @noindent
+#+texinfo: @paragraphindent asis
 
 #+options: toc:nil
 
diff --git a/org-transclusion.info b/org-transclusion.info
index c915699..2707443 100644
--- a/org-transclusion.info
+++ b/org-transclusion.info
@@ -25,20 +25,19 @@ File: org-transclusion.info,  Node: Top,  Next: Example Use 
Cases & Main Feature
 Org-transclusion User Manual
 
 
+This manual is for Org-transclusion 1.0.x.
 
-   This manual is for Org-transclusion 1.0.x.
+Last updated 24 December 2021.
 
-   Last updated 24 December 2021.
-
-   Org-transclusion lets you insert a copy of text content via a file
-link or ID link within an Org file.  It lets you have the same content
+Org-transclusion lets you insert a copy of text content via a file link
+or ID link within an Org file.  It lets you have the same content
 present in different buffers at the same time without copy-and-pasting
 it.  Edit the source of the content, and you can refresh the transcluded
 copies to the up-to-date state.  Org-transclusion keeps your files clear
 of the transcluded copies, leaving only the links to the original
 content.
 
-   Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2021 Free Software Foundation, Inc.
 
  Permission is granted to copy, distribute and/or modify this
  document under the terms of the GNU Free Documentation License,
@@ -142,7 +141,7 @@ Project status reports
  work notes and logs into respective project reports.  You can keep
  a single collection of your work notes and logs.
 
-   Main Features:
+Main Features:
 
• Insert a copy of text content via a file link or ID link into an
  Org file
@@ -181,13 +180,13 @@ package-install RET org-transclusion’ to install it.  
After
 installation, you can start using Org-transclusion (refer to the *note
 Getting Started:: section).
 
-   Below are some example keybindings that can be put into your Emacs
+Below are some example keybindings that can be put into your Emacs
 configuration.
 
  (define-key global-map (kbd "") #'org-transclusion-add)
  (define-key global-map (kbd "C-n t") #'org-transclusion-mode)
 
-   For Doom users, you would need to do something like this below to
+For Doom users, you would need to do something like this below to
 install the package and configure the keybindings.
 
  ;; ~/.doom.d/package.el
@@ -214,7 +213,7 @@ The basic idea of Org-transclusion is simple: insert a copy 
of text
 content via a file link or ID link within an Org file.  This is an Org
 Mode version of transclusion.
 
-   To transclude content via a link, use one of the following commands:
+To transclude content via a link, use one of the following commands:
 
• ‘org-transclusion-add’
 
@@ -222,39 +221,39 @@ Mode version of transclusion.
 
• ‘org-transclusion-make-from-link’
 
-   For example, if you have an ID link in your Org file like this:
+For example, if you have an ID link in your Org file like this:
 
  [[id:20210501T171427.051019][Bertrand Russell]]
 
-   Simply type to add ‘#+transclude:’ in front of the link like the
-example below.
+Simply type to add ‘#+transclude:’ in front of the link like the example
+below.
 
  #+transclude: [[id:20210501T171427.051019][Bertrand Russell]]
 
-   Put your cursor somewhere on this keyword line and type ‘M-x
+Put your cursor somewhere on this keyword line and type ‘M-x
 org-transclusion-add RET’, and you will see the text content that the ID
 points to replace the whole line.  If you have multiple links with a
 transclude keyword, you can type ‘M-x org-transclusion-add-all RET’ to
 add all transclusions in the current buffer.
 
-   Alternatively, you can also put cursor somewhere on the link and type
+Alternatively, you can also put cursor somewhere on the link and type
 ‘M-x org-transclusion-make-from-link RET’.  That will insert another
 line with ‘#+transclusion:’ keyword added in front of a copy of the
 original link in the next empty line.
 
-   The transcluded text is *read-only* but you can copy it and export it
-as normal text.  Org-transclusion remembers where it has transcluded the
+The transcluded text is *

[elpa] externals-release/org 410afd6: Revert "org-do-emphasis-faces: Never treat closing marker as next opening marker"

2021-12-24 Thread ELPA Syncer
branch: externals-release/org
commit 410afd6f374e9e29c26a8b9f5a195f00423bf3c1
Author: Ihor Radchenko 
Commit: Ihor Radchenko 

Revert "org-do-emphasis-faces: Never treat closing marker as next opening 
marker"

This reverts commit fa315986a115028d289f4921281e44e35842a27b.

The commit broke fontification of nested emphasis like
/italic *bold* more italic/.
---
 lisp/org.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index f784369..7ceaf3d 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5114,7 +5114,6 @@ stacked delimiters is N.  Escaping delimiters is not 
possible."
 '(invisible t))
(add-text-properties (match-beginning 3) (match-end 3)
 '(invisible t)))
-  (goto-char (match-end 0))
  (throw :exit t
 
 (defun org-emphasize (&optional char)



[elpa] externals/org 8f50ea2: org-element--parse-to: Get rid of unnecessary cache lookup

2021-12-24 Thread ELPA Syncer
branch: externals/org
commit 8f50ea2d69b046be8459aaf8176349adf9b1ef17
Author: Ihor Radchenko 
Commit: Ihor Radchenko 

org-element--parse-to: Get rid of unnecessary cache lookup

* lisp/org-element.el (org-element--parse-to): Disable cache in
`org-element--current-element'.  When calling it here, we know for
sure that element at point is not yet in cache.
---
 lisp/org-element.el | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/org-element.el b/lisp/org-element.el
index a617c58..be48bf5 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -6421,9 +6421,10 @@ If you observe Emacs hangs frequently, please report 
this to Org mode mailing li
(unless (save-excursion
  (org-skip-whitespace)
  (eobp))
- (setq element (org-element--current-element
-   end 'element mode
-   (org-element-property :structure parent
+ (org-element-with-disabled-cache
+ (setq element (org-element--current-element
+   end 'element mode
+   (org-element-property :structure parent)
;; Make sure that we return referenced element in cache
;; that can be altered directly.
(if element



[elpa] externals/org-transclusion 6d86bfc: docs: -Q is unnecessary. add-all works with the latest change

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 6d86bfc029e415d1891a0a1f09086668a68d9b51
Author: Noboru Ota 
Commit: Noboru Ota 

docs: -Q is unnecessary. add-all works with the latest change

I had a compiled .elc from an older version.
---
 docs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/Makefile b/docs/Makefile
index 9f26920..b12b794 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -13,7 +13,7 @@ run: html install clear
 
 manual:
@printf "\n\n### Generating manual .texi and .info files \n\n"
-   $(EMACS) -Q --batch -L ../ --file org-transclusion.org -l manual-gen.el
+   $(EMACS) --batch -L ../ --file org-transclusion.org -l manual-gen.el
 
 html:
@printf "\n\n### Generating manual .html files \n\n"



[elpa] externals/embark updated (407ce26 -> ab1ee58)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/embark.

  from  407ce26   Switch to embark--confirm as pre-action hook; update 
documentation
   new  a13309f   Spruce up documentation
   new  ab1ee58   Missed a spot in the documentation clean up


Summary of changes:
 README.org  | 67 +
 embark.texi | 67 +
 2 files changed, 72 insertions(+), 62 deletions(-)



[elpa] externals/embark a13309f 1/2: Spruce up documentation

2021-12-24 Thread ELPA Syncer
branch: externals/embark
commit a13309fa0a0fc11cd29878f03d277c4d01c9770a
Author: Omar Antolín 
Commit: Omar Antolín 

Spruce up documentation

In particular this includes a change I'm not totally sure about:
avoiding some of the longer lines in the code examples, because they
wrap in the info manual (info indents code quite a bit, and some of
the example are additionally inside a list).
---
 README.org  | 69 ++---
 embark.texi | 69 ++---
 2 files changed, 76 insertions(+), 62 deletions(-)

diff --git a/README.org b/README.org
index ae83b09..87b2107 100644
--- a/README.org
+++ b/README.org
@@ -125,8 +125,8 @@ Note that if there are several different targets at a given 
location,
 each has its own default action, so first cycle to the target you want
 and then press =RET= to run the corresponding default action.
 
-There is also the =embark-dwim= which runs the default action for the
-first target found. It's pretty handy in non-minibuffer buffers: with
+There is also =embark-dwim= which runs the default action for the first
+target found. It's pretty handy in non-minibuffer buffers: with
 Embark's default configuration it will:
 
 - Open the file at point.
@@ -169,11 +169,11 @@ sets:
   adds support for exporting a list of grep results to an honest
   grep-mode buffer, on which you can even use 
[[https://github.com/mhayashi1120/Emacs-wgrep][wgrep]] if you wish.
 
-When in doubt choosing among these a good rule of thumb is to always
-prefer =embark-export= since when an exporter to a special major mode is
-available for a given type of target, it will be more featureful than
-an Embark collect buffer, and if no such exporter is configured the
-=embark-export= command falls back to the generic
+When in doubt choosing between exporting and collecting, a good rule
+of thumb is to always prefer =embark-export= since when an exporter to a
+special major mode is available for a given type of target, it will be
+more featureful than an Embark collect buffer, and if no such exporter
+is configured the =embark-export= command falls back to the generic
 =embark-collect-snapshot=.
 
 These commands are always available as "actions" (although they do not
@@ -282,13 +282,14 @@ starting configuration:
 (embark-collect-mode . consult-preview-at-point-mode))
 #+end_src
 
-Other Embark commands such as =embark-become=, =embark-collect-snapshot=,
-=embark-collect-live=, =embark-export= can be run through =embark-act= as
-actions bound to =B=, =S=, =L=, =E= respectively, and thus don't really need
-a dedicated key binding, but feel free to bind them directly if you
-so wish. If you do choose to bind them directly, you'll probably want
-to bind them in =minibuffer-local-map=, since they are most useful in
-the minibuffer (in fact, =embark-become= only works in the minibuffer).
+Other Embark commands such as =mbark-act-all=, =embark-become=,
+=embark-collect-snapshot=, =embark-collect-live=, =embark-export= can be run
+through =embark-act= as actions bound to =A=, =B=, =S=, =L=, =E= respectively, 
and
+thus don't really need a dedicated key binding, but feel free to bind
+them directly if you so wish. If you do choose to bind them directly,
+you'll probably want to bind them in =minibuffer-local-map=, since they
+are most useful in the minibuffer (in fact, =embark-become= only works
+in the minibuffer).
 
 The command =embark-dwim= executes the default action at point. Another good
 keybinding for =embark-dwim= is =M-.= since =embark-dwim= acts like
@@ -297,9 +298,9 @@ right-click context menu at point and =M-.= acts like 
left-click. The
 keybindings are mnemonic, both act at the point (=.=).
 
 Embark needs to know what your minibuffer completion system considers
-to be the list of candidates and which one is the current one. Embark
-works out of the box if you use Emacs's default tab completion, the
-built-in =icomplete-mode= or =fido-mode=, or the third-party packages
+to be the list of candidates and which one is the current candidate.
+Embark works out of the box if you use Emacs's default tab completion,
+the built-in =icomplete-mode= or =fido-mode=, or the third-party packages
 [[https://github.com/minad/vertico][Vertico]], 
[[https://github.com/raxod502/selectrum/][Selectrum]] or 
[[https://github.com/abo-abo/swiper][Ivy]].
 
 If you are a [[https://emacs-helm.github.io/helm/][Helm]] or 
[[https://github.com/abo-abo/swiper][Ivy]] user you are unlikely to want Embark 
since
@@ -433,9 +434,9 @@ minibuffer prompt of an action. There are 
=embark-setup-action-hooks=,
 that are run by default after injecting the target into the
 minibuffer. The variable =embark-setup-action-hooks= is an alist
 associating commands to their setup hooks. There are two special keys:
-if no setup hooks are specified for a given action, the hooks
-associated to =t= are run; and the hooks associated to =:alwa

[elpa] externals/embark ab1ee58 2/2: Missed a spot in the documentation clean up

2021-12-24 Thread ELPA Syncer
branch: externals/embark
commit ab1ee58dcc31e5c88428a7e258c12510f68b6898
Author: Omar Antolín 
Commit: Omar Antolín 

Missed a spot in the documentation clean up
---
 README.org  | 6 ++
 embark.texi | 6 ++
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/README.org b/README.org
index 87b2107..4697934 100644
--- a/README.org
+++ b/README.org
@@ -574,8 +574,7 @@ metadata looks:
   (defun my-select-tab-by-name (tab)
 (interactive
  (list
-  (let ((tab-list (or (mapcar #'(lambda (tab)
-  (cdr (assq 'name tab)))
+  (let ((tab-list (or (mapcar (lambda (tab) (cdr (assq 'name tab)))
   (tab-bar-tabs))
   (user-error "No tabs found"
 (completing-read
@@ -598,8 +597,7 @@ follows:
   (defun my-select-tab-by-name (tab)
 (interactive
  (list
-  (let ((tab-list (or (mapcar #'(lambda (tab)
-  (cdr (assq 'name tab)))
+  (let ((tab-list (or (mapcar (lambda (tab) (cdr (assq 'name tab)))
   (tab-bar-tabs))
   (user-error "No tabs found"
 (consult--read tab-list
diff --git a/embark.texi b/embark.texi
index f5635ae..93c452e 100644
--- a/embark.texi
+++ b/embark.texi
@@ -718,8 +718,7 @@ metadata looks:
 (defun my-select-tab-by-name (tab)
   (interactive
(list
-(let ((tab-list (or (mapcar #'(lambda (tab)
-(cdr (assq 'name tab)))
+(let ((tab-list (or (mapcar (lambda (tab) (cdr (assq 'name tab)))
 (tab-bar-tabs))
 (user-error "No tabs found"
   (completing-read
@@ -742,8 +741,7 @@ follows:
 (defun my-select-tab-by-name (tab)
   (interactive
(list
-(let ((tab-list (or (mapcar #'(lambda (tab)
-(cdr (assq 'name tab)))
+(let ((tab-list (or (mapcar (lambda (tab) (cdr (assq 'name tab)))
 (tab-bar-tabs))
 (user-error "No tabs found"
   (consult--read tab-list



[elpa] externals/embark-consult updated (407ce26 -> ab1ee58)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/embark-consult.

  from  407ce26   Switch to embark--confirm as pre-action hook; update 
documentation
  adds  a13309f   Spruce up documentation
  adds  ab1ee58   Missed a spot in the documentation clean up

No new revisions were added by this update.

Summary of changes:
 README.org  | 67 +
 embark.texi | 67 +
 2 files changed, 72 insertions(+), 62 deletions(-)



[elpa] externals/org-transclusion 909099f 2/2: docs: Make to generate user manual with transclusions from README

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 909099f02d3faba1066d63d69711fe9c757aa77c
Author: Noboru Ota 
Commit: Noboru Ota 

docs: Make to generate user manual with transclusions from README
---
 docs/index.html   | 19 ++---
 org-transclusion.info | 76 +--
 2 files changed, 47 insertions(+), 48 deletions(-)

diff --git a/docs/index.html b/docs/index.html
index f97c547..588559e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -64,8 +64,8 @@ Next: 
 
 Last updated 24 December 2021.
 
-Org-transclusion lets you insert a copy of text content via a file link or 
ID link within an Org file. It lets you have the same content present in 
different buffers at the same time without copy-and-pasting it. Edit the source 
of the content, and you can refresh the transcluded copies to the up-to-date 
state. Org-transclusion keeps your files clear of the transcluded copies, 
leaving only the links to the original content. 
-
+Org-transclusion lets you insert a copy of text content via a file link or 
ID link within an Org file. It lets you have the same content present in 
different buffers at the same time without copy-and-pasting it. Edit the source 
of the content, and you can refresh the transcluded copies to the up-to-date 
state. Org-transclusion keeps your files clear of the transcluded copies, 
leaving only the links to the original content.
+
 Copyright (C) 2021  Free Software Foundation, Inc.
 
 
@@ -242,19 +242,18 @@ Org-transclusion (refer to the Getting Started se
 
 ;; ~/.doom.d/package.el
 (package! org-transclusion)
-
 
 
 
 ;; ~/.doom.d/config.el
 (use-package! org-transclusion
-  :after org
-  :init
-  (map!
-   :map global-map "" #'org-transclusion-add
-   :leader
-   :prefix "n"
-   :desc "Org Transclusion Mode" "t" 
#'org-transclusion-mode))
+  :after org
+  :init
+  (map!
+   :map global-map "" #'org-transclusion-add
+   :leader
+   :prefix "n"
+   :desc "Org Transclusion Mode" "t" 
#'org-transclusion-mode))
 
 
 
diff --git a/org-transclusion.info b/org-transclusion.info
index 2707443..186a913 100644
--- a/org-transclusion.info
+++ b/org-transclusion.info
@@ -192,16 +192,15 @@ install the package and configure the keybindings.
  ;; ~/.doom.d/package.el
  (package! org-transclusion)
 
-
  ;; ~/.doom.d/config.el
  (use-package! org-transclusion
-   :after org
-   :init
-   (map!
-:map global-map "" #'org-transclusion-add
-:leader
-:prefix "n"
-:desc "Org Transclusion Mode" "t" #'org-transclusion-mode))
+   :after org
+   :init
+   (map!
+:map global-map "" #'org-transclusion-add
+:leader
+:prefix "n"
+:desc "Org Transclusion Mode" "t" #'org-transclusion-mode))
 
 
 File: org-transclusion.info,  Node: Getting Started,  Next: Usage,  Prev: 
Installation,  Up: Top
@@ -1670,38 +1669,39 @@ their use in free software.
 
 Tag Table:
 Node: Top846
+Ref: whatis1507
 Node: Example Use Cases & Main Features3673
 Node: Installation5993
-Node: Getting Started7093
-Node: Usage10080
-Node: Org-transclusion mode activate and deactivate10550
-Node: Org links supported12585
-Node: Control levels of headlines per transclusion14327
-Node: Filter Org elements per transclusion16119
-Node: Notes on excluding the headline element19786
-Node: Live-sync edit20756
-Node: Transclude source file into src-block23126
-Node: Transclude range of lines for text and source files24211
-Node: lines property to specify a range of lines24763
-Node: end property to specify a search term to dynamically look for the end of 
a range26684
-Node: Extensions28252
-Node: Customizing30110
-Node: Customizable filter to exclude certain Org elements31937
-Node: Include the section before the first headline (Org file only)32962
-Node: Faces & fringe bitmap33637
-Node: Face for the #+transclude keyword33978
-Node: Faces for the fringes next to transcluded region and source region34472
-Node: Keybindings36045
-Node: Known Limitations37051
-Node: Credits39685
-Node: Original idea by John Kitchin39869
-Node: Text-Clone42430
-Node: Contributing43007
-Node: Notes on pull requests and Free Software Foundation (FSF) copy right 
assignment43532
-Node: Index - Features44215
-Node: Index - Commands46846
-Node: Index - User Options48665
-Node: GNU Free Documentation License51007
+Node: Getting Started7176
+Node: Usage10163
+Node: Org-transclusion mode activate and deactivate10633
+Node: Org links supported12668
+Node: Control levels of headlines per transclusion14410
+Node: Filter Org elements per transclusion16202
+Node: Notes on excluding the headline element19869
+Node: Live-sync edit20839
+Node: Transclude source file into src-block23209
+Node: Transclude range of lines fo

[elpa] externals/org-transclusion updated (6d86bfc -> 909099f)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/org-transclusion.

  from  6d86bfc   docs: -Q is unnecessary. add-all works with the latest 
change
   new  4b0dfac   docs: README & user manual with using transclusions
   new  909099f   docs: Make to generate user manual with transclusions 
from README


Summary of changes:
 README.org| 629 --
 docs/index.html   |  19 +-
 docs/org-transclusion.org |  86 +--
 org-transclusion.info |  76 +++---
 4 files changed, 106 insertions(+), 704 deletions(-)



[elpa] externals/org-transclusion 4b0dfac 1/2: docs: README & user manual with using transclusions

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 4b0dfac471eab2248cf286400fa80aaac0b7e472
Author: Noboru Ota 
Commit: Noboru Ota 

docs: README & user manual with using transclusions
---
 README.org| 629 --
 docs/org-transclusion.org |  86 +--
 2 files changed, 59 insertions(+), 656 deletions(-)

diff --git a/README.org b/README.org
index 399dac1..348dfe2 100644
--- a/README.org
+++ b/README.org
@@ -1,54 +1,11 @@
-#+title: Org-transclusion
-#+author: Noboru Ota 
-
-# Note: I use the readme template that alphapapa shares on his GitHub repo 
. It works 
with the org-make-toc  package, 
which automatically updates the table of contents.
-
-* Contents :noexport:
-:PROPERTIES:
-:TOC:  :include siblings
-:END:
-:CONTENTS:
-- [[#introduction][Introduction]]
-- [[#installation][Installation]]
-- [[#getting-started][Getting Started]]
-- [[#usage][Usage]]
-  - [[#org-transclusion-mode-activate-and-deactivate][Org-transclusion mode, 
activate, and deactivate]]
-  - [[#org-links-supported][Org links supported]]
-  - [[#controlling-levels-of-headlines-in-transclusions][Controlling levels of 
headlines in transclusions]]
-  - [[#filtering-org-elements-per-transclusion][Filtering Org elements per 
transclusion]]
-  - [[#live-sync-edit][Live-sync edit]]
-  - [[#transclude-source-file-into-src-block][Transclude source file into 
src-block]]
-  - [[#transclude-range-of-lines-for-text-and-source-files][Transclude range 
of lines for text and source files]]
-  - [[#extensions---support-org-indent-mode][Extensions - Support 
org-indent-mode]]
-- [[#customizing][Customizing]]
-  - [[#customizable-filter-to-exclude-certain-org-elements][Customizable 
filter to exclude certain Org elements]]
-  - [[#include-the-section-before-the-first-headline-org-file-only][Include 
the section before the first headline (Org file only)]]
-  - [[#faces--fringe-bitmap][Faces & fringe bitmap]]
-- [[#face-for-the-transclude-keyword][Face for the #+transclude keyword]]
-- 
[[#faces-for-the-fringes-next-to-transcluded-region-and-source-region][Faces 
for the fringes next to transcluded region and source region]]
-  - [[#keybindings][Keybindings]]
-- [[#known-limitations][Known Limitations]]
-- [[#credits][Credits]]
-  - [[#original-idea-by-john-kitchin][Original idea by John Kitchin]]
-  - [[#text-clone][Text-Clone]]
-- [[#development][Development]]
-  - 
[[#notes-on-pull-requests-and-free-software-foundation-fsf-copy-right-assignment][Notes
 on pull requests and Free Software Foundation (FSF) copy right assignment]]
-- [[#license][License]]
-:END:
+#+title:  Org-transclusion README
+#+author: Noboru Ota 
+#+email:  m...@nobiot.com
+#+options: toc:nil
 
 * Introduction
-:PROPERTIES:
-:CUSTOM_ID: introduction
-:TOC: :depth 0
-:END:
 
-Transclusion [fn:1:https://en.wikipedia.org/wiki/Transclusion] is the ability 
to include content from one file into another by reference. Org-transclusion is 
an Org Mode version of it. It lets you insert a copy of text content via a file 
link or ID link within an Org file. It is my take on the 
[[#original-idea-by-john-kitchin][idea by John Kitchin]].
-
-When I start writing a long-form material, I want to begin with looking 
through my notes and assemble relevant ones to form a basis of the first draft 
quickly. As I organise my notes in a repository, I also want to avoid having 
multiple copies of notes flying around.
-
-Transclusion helps me do this.
-
-I am dabbling in the Zettelkasten 
[fn:2:https://writingcooperative.com/zettelkasten-how-one-german-scholar-was-so-freakishly-productive-997e4e0ca125]
 method with using Org-roam [fn:3:https://www.orgroam.com/] to feed my ideas 
into the repository. As such, although Org-transclusion is a standalone 
package, I would like to keep workflow seamless between Org-roam and 
Org-transclusion.
+Org-transclusion lets you insert a copy of text content via a file link or ID 
link within an Org file. It lets you have the same content present in different 
buffers at the same time without copy-and-pasting it. Edit the source of the 
content, and you can refresh the transcluded copies to the up-to-date state. 
Org-transclusion keeps your files clear of the transcluded copies, leaving only 
the links to the original content.<>
 
 #+caption: Animation to show creation of a transclusion from an ID link
 [[./resources/2021-09-10-transclusion.gif]]
@@ -69,568 +26,90 @@ I am dabbling in the Zettelkasten 
[fn:2:https://writingcooperative.com/zettelkas
   
   + [[https://youtu.be/idlFzWeygwA][Video demo on v0.1.1 on YouTube]] 
featuring basic syntax and live-sync edit
 
-* Installation
-:PROPERTIES:
-:TOC:  :depth 0
-:END:
-
-This package is available on 
[[https://elpa.gnu.org/packages/org-transclusion.html][GNU ELPA]]. You can do 
=M-x package

[elpa] externals/org-transclusion updated (909099f -> 57d3f7c)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/org-transclusion.

  from  909099f   docs: Make to generate user manual with transclusions 
from README
   new  812510c   intrnl: ELPA to ignore doc directory altogether
   new  aa1bb8c   docs: A new README.org & user manual
   new  1ac5bbb   docs: README add budges
   new  7176a2d   doc: fix link to installation section
   new  d3b15ea   docs:README update
   new  ff98c78   docs:README spelling
   new  57d3f7c   docs:README captions for images and videos


Summary of changes:
 .elpaignore   |  2 +-
 README.org| 38 ++--
 docs/index.html   | 19 +---
 org-transclusion.info | 80 +--
 4 files changed, 57 insertions(+), 82 deletions(-)



[elpa] externals/org-transclusion ff98c78 6/7: docs:README spelling

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit ff98c78c74334316923aca040b75ca4754f2fbc3
Author: Noboru Ota 
Commit: Noboru Ota 

docs:README spelling
---
 README.org | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.org b/README.org
index ed8317a..dd9976c 100644
--- a/README.org
+++ b/README.org
@@ -12,9 +12,9 @@ Org-transclusion lets you insert a copy of text content via a 
file link or ID li
 
 A complete [[https://nobiot.github.io/org-transclusion/][user manual]] is 
available online or Emacs in-system as an Info document (=C-h i= and find the 
=Org-transclusion= node).
 
-For instalaltion and minimum configuration, refer to 
[[#installation][Instalaltion]] below or the corresponding section in the user 
manaul.
+For installation and minimum configuration, refer to 
[[#installation][Installation]] below or the corresponding section in the user 
manual.
 
-[[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manaul will get you started in 5 minutes.
+[[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manual will get you started in 5 minutes.
 
 #+caption: Animation to show creation of a transclusion from an ID link
 [[./resources/2021-09-10-transclusion.gif]]
@@ -62,7 +62,7 @@ Main Features:
 
 - Insert a copy of text content via a file link or ID link into an Org file
 
-- Work with any text file such as program source cod, plain text, Markdown, or 
other Org files
+- Work with any text file such as program source code, plain text, Markdown, 
or other Org files
 
 - Keep the file system clear of the copies of text content -- Org-transclusion 
tries hard to save only the links to the file system
 



[elpa] externals/org-transclusion 812510c 1/7: intrnl: ELPA to ignore doc directory altogether

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 812510c0493597c50556d4491910f05a62306b44
Author: Noboru Ota 
Commit: Noboru Ota 

intrnl: ELPA to ignore doc directory altogether

info and dir are both on the top level.
---
 .elpaignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.elpaignore b/.elpaignore
index 64e8de6..6599e1e 100644
--- a/.elpaignore
+++ b/.elpaignore
@@ -1,5 +1,5 @@
 test
-docs/*.md
+docs
 resources
 Makefile
 .gitignore



[elpa] externals/org-transclusion aa1bb8c 2/7: docs: A new README.org & user manual

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit aa1bb8c58b5d21019481ff9c858330f90724b5c4
Author: Noboru Ota 
Commit: Noboru Ota 

docs: A new README.org & user manual
---
 README.org| 12 
 docs/index.html   | 19 +---
 org-transclusion.info | 80 +--
 3 files changed, 40 insertions(+), 71 deletions(-)

diff --git a/README.org b/README.org
index 348dfe2..b5f47f3 100644
--- a/README.org
+++ b/README.org
@@ -3,10 +3,14 @@
 #+email:  m...@nobiot.com
 #+options: toc:nil
 
-* Introduction
-
 Org-transclusion lets you insert a copy of text content via a file link or ID 
link within an Org file. It lets you have the same content present in different 
buffers at the same time without copy-and-pasting it. Edit the source of the 
content, and you can refresh the transcluded copies to the up-to-date state. 
Org-transclusion keeps your files clear of the transcluded copies, leaving only 
the links to the original content.<>
 
+A complete user manual is available 
[[https://nobiot.github.io/org-transclusion/][online]] or Emacs in-system as an 
Info document (=C-h i= and find the =Org-transclusion= node).
+
+For installation, refer to [[*Installation][Instalaltion]] below or the 
corresponding section in the user manaul.
+
+The [[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manaul will get you started in 5 minutes.
+
 #+caption: Animation to show creation of a transclusion from an ID link
 [[./resources/2021-09-10-transclusion.gif]]
 
@@ -71,7 +75,7 @@ Main Features:
 
 This package is available on 
[[https://elpa.gnu.org/packages/org-transclusion.html][GNU ELPA]]. You can do 
=M-x package-install RET
 org-transclusion= to install it.  After installation, you can start using
-Org-transclusion (refer to the [[#getting-started][Getting Started]] section).
+Org-transclusion.
 
 Below are some example keybindings that can be put into your Emacs 
configuration.
 
@@ -105,8 +109,6 @@ For Doom users, you would need to do something like this 
below to install the pa
 
 - Create issues, discussion, and/or pull requests. All welcome.
 
-** Notes on pull requests and Free Software Foundation (FSF) copy right 
assignment
-
 Org-transclusion is part of GNU ELPA and thus copyrighted by the 
[[http://fsf.org][Free Software Foundation]] (FSF). This means that anyone who 
is making a substantive code contribution will need to "assign the copyright 
for your contributions to the FSF so that they can be included in GNU Emacs" 
([[https://orgmode.org/contribute.html#copyright][Org Mode website]]).
 
 Thank you.
diff --git a/docs/index.html b/docs/index.html
index 588559e..956687f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -165,11 +165,6 @@ Credits
 • Text-Clone  
 
 
-Contributing
-
-• Notes
 on pull requests and Free Software Foundation (FSF) copy right 
assignment  
-
-
 
 
 
@@ -228,7 +223,7 @@ Next: Getting Started, P
 
 This package is available on https://elpa.gnu.org/packages/org-transclusion.html";>GNU ELPA. You 
can do ‘M-x package-install RET
 org-transclusion’ to install it.  After installation, you can 
start using
-Org-transclusion (refer to the Getting Started 
section).
+Org-transclusion.
 
 Below are some example keybindings that can be put into your Emacs 
configuration.
 
@@ -1063,18 +1058,6 @@ Next: Index - Features<
  Create issues, discussion, and/or pull requests. All welcome.
 
 
-
-• Notes on pull requests and Free Software Foundation (FSF) copy 
right assignment  
-
-
-
-
-
-
-Up: Contributing   [Index]
-
-8.1 Notes on pull requests and Free Software Foundation (FSF) 
copy right assignment
-
 Org-transclusion is part of GNU ELPA and thus copyrighted by the http://fsf.org";>Free Software Foundation (FSF). This means that 
anyone who is making a substantive code contribution will need to "assign 
the copyright for your contributions to the FSF so that they can be included in 
GNU Emacs" (https://orgmode.org/contribute.html#copyright";>Org 
Mode website).
 
 Thank you.
diff --git a/org-transclusion.info b/org-transclusion.info
index 186a913..1bf0650 100644
--- a/org-transclusion.info
+++ b/org-transclusion.info
@@ -104,10 +104,6 @@ Credits
 * Original idea by John Kitchin::
 * Text-Clone::
 
-Contributing
-
-* Notes on pull requests and Free Software Foundation (FSF) copy right 
assignment::
-
 
 
 File: org-transclusion.info,  Node: Example Use Cases & Main Features,  Next: 
Installation,  Prev: Top,  Up: Top
@@ -177,8 +173,7 @@ File: org-transclusion.info,  Node: Installation,  Next: 
Getting Started,  Prev:
 This package is available on GNU ELPA
 (https://elpa.gnu.org/packages/org-transclusion.html).  You can do ‘M-x
 package-install RET org-transclusion’ to install it.  After
-installation, you can start using Org-transclusion (refer to the *note
-Getting Started:: section).
+installation, you can start using Org-transclusion.
 
 Below are some example keybindings that can be put int

[elpa] externals/org-transclusion d3b15ea 5/7: docs:README update

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit d3b15ea9e989f2d93b96fbba571572703f64d334
Author: Noboru Ota 
Commit: Noboru Ota 

docs:README update
---
 README.org | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.org b/README.org
index 9ba0a60..ed8317a 100644
--- a/README.org
+++ b/README.org
@@ -10,11 +10,11 @@
 
 Org-transclusion lets you insert a copy of text content via a file link or ID 
link within an Org file. It lets you have the same content present in different 
buffers at the same time without copy-and-pasting it. Edit the source of the 
content, and you can refresh the transcluded copies to the up-to-date state. 
Org-transclusion keeps your files clear of the transcluded copies, leaving only 
the links to the original content.<>
 
-A complete user manual is available 
[[https://nobiot.github.io/org-transclusion/][online]] or Emacs in-system as an 
Info document (=C-h i= and find the =Org-transclusion= node).
+A complete [[https://nobiot.github.io/org-transclusion/][user manual]] is 
available online or Emacs in-system as an Info document (=C-h i= and find the 
=Org-transclusion= node).
 
-For installation, refer to [[#installation][Instalaltion]] below or the 
corresponding section in the user manaul.
+For instalaltion and minimum configuration, refer to 
[[#installation][Instalaltion]] below or the corresponding section in the user 
manaul.
 
-The [[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manaul will get you started in 5 minutes.
+[[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manaul will get you started in 5 minutes.
 
 #+caption: Animation to show creation of a transclusion from an ID link
 [[./resources/2021-09-10-transclusion.gif]]



[elpa] externals/org-transclusion 1ac5bbb 3/7: docs: README add budges

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 1ac5bbb51625e460785de49cdacfe780b945569f
Author: Noboru Ota 
Commit: Noboru Ota 

docs: README add budges
---
 README.org | 5 +
 1 file changed, 5 insertions(+)

diff --git a/README.org b/README.org
index b5f47f3..ac5248b 100644
--- a/README.org
+++ b/README.org
@@ -3,6 +3,11 @@
 #+email:  m...@nobiot.com
 #+options: toc:nil
 
+#+html: https://www.gnu.org/software/emacs/";>https://img.shields.io/static/v1?logo=gnuemacs&logoColor=fafafa&label=Made%20for&message=GNU%20Emacs&color=7F5AB6&style=flat"/>
+#+html: http://elpa.gnu.org/packages/org-transclusion.html";>https://elpa.gnu.org/packages/org-transclusion.svg"/>
+#+html: http://elpa.gnu.org/devel/org-transclusion.html";>https://elpa.gnu.org/devel/org-transclusion.svg"/>
+#+html: https://img.shields.io/badge/License-GPLv3-blue.svg";>
+
 Org-transclusion lets you insert a copy of text content via a file link or ID 
link within an Org file. It lets you have the same content present in different 
buffers at the same time without copy-and-pasting it. Edit the source of the 
content, and you can refresh the transcluded copies to the up-to-date state. 
Org-transclusion keeps your files clear of the transcluded copies, leaving only 
the links to the original content.<>
 
 A complete user manual is available 
[[https://nobiot.github.io/org-transclusion/][online]] or Emacs in-system as an 
Info document (=C-h i= and find the =Org-transclusion= node).



[elpa] externals/org-transclusion 7176a2d 4/7: doc: fix link to installation section

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 7176a2df7e358c8d290fcec19024c8de0e2e71d7
Author: Noboru Ota 
Commit: Noboru Ota 

doc: fix link to installation section
---
 README.org | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index ac5248b..9ba0a60 100644
--- a/README.org
+++ b/README.org
@@ -12,7 +12,7 @@ Org-transclusion lets you insert a copy of text content via a 
file link or ID li
 
 A complete user manual is available 
[[https://nobiot.github.io/org-transclusion/][online]] or Emacs in-system as an 
Info document (=C-h i= and find the =Org-transclusion= node).
 
-For installation, refer to [[*Installation][Instalaltion]] below or the 
corresponding section in the user manaul.
+For installation, refer to [[#installation][Instalaltion]] below or the 
corresponding section in the user manaul.
 
 The [[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manaul will get you started in 5 minutes.
 
@@ -77,6 +77,9 @@ Main Features:
 - Extend Org-transclusion with its extension framework
 
 * Installation
+:PROPERTIES:
+:CUSTOM_ID: installation
+:END:
 
 This package is available on 
[[https://elpa.gnu.org/packages/org-transclusion.html][GNU ELPA]]. You can do 
=M-x package-install RET
 org-transclusion= to install it.  After installation, you can start using



[elpa] externals/org-transclusion 57d3f7c 7/7: docs:README captions for images and videos

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 57d3f7c90abaf177d2d91fca63cfd394d32a524d
Author: Noboru Ota 
Commit: Noboru Ota 

docs:README captions for images and videos
---
 README.org | 18 --
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/README.org b/README.org
index dd9976c..1de764d 100644
--- a/README.org
+++ b/README.org
@@ -16,23 +16,22 @@ For installation and minimum configuration, refer to 
[[#installation][Installati
 
 [[https://nobiot.github.io/org-transclusion/#Getting-Started][Getting 
Started]] in the user manual will get you started in 5 minutes.
 
-#+caption: Animation to show creation of a transclusion from an ID link
+Below are images and videos demonstrating some of the key features of
+Org-transclusion.
+
 [[./resources/2021-09-10-transclusion.gif]]
+*Figure 1*. Animation to show creation of a transclusion from an ID link
 
-#+caption: Animation to show live sync from transclusion to source
 [[./resources/2021-05-01-org-transclusion-0.1.0-live-sync.gif]]
+*Figure 2*. Animation to show live sync from transclusion to source
 
-#+caption: Video demo on v0.2.1 on YouTube demonstrating new features to 
transclude a source file into a src-block and function to specify a range of 
text/source line
 [[./resources/demo9-title.png]]
-
-- Recent videos
+*Figure 3*. [[https://youtu.be/ueaPiA622wA][Video demo on v0.2.1 on YouTube]] 
demonstrating new features to transclude a source file into a src-block and 
function to specify a range of text/source line
   
-  + [[https://youtu.be/ueaPiA622wA][Video demo on v0.2.1 on YouTube]] 
demonstrating new features to transclude a source file into a src-block and 
function to specify a range of text/source lines
-
+- Older videos
+  
   + [[https://youtu.be/idlFzWeygwA][Video demo on v0.2.0 on YouTube]] 
featuring minor breaking changes and new transclusion filters
 
-- Older videos
-  
   + [[https://youtu.be/idlFzWeygwA][Video demo on v0.1.1 on YouTube]] 
featuring basic syntax and live-sync edit
 
 * Example Use Cases & Main Features
@@ -97,7 +96,6 @@ For Doom users, you would need to do something like this 
below to install the pa
 #+BEGIN_SRC elisp
 ;; ~/.doom.d/package.el
 (package! org-transclusion)
-
 #+END_SRC
 
 #+BEGIN_SRC elisp



[elpa] externals/org-transclusion fb2aa40: docs:Manual typo & use :only-contents

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit fb2aa408371a6203ee54893fbc66b81e4bca30e0
Author: Noboru Ota 
Commit: Noboru Ota 

docs:Manual typo & use :only-contents
---
 docs/index.html   |  2 +-
 docs/org-transclusion.org | 14 ---
 org-transclusion.info | 62 +++
 3 files changed, 42 insertions(+), 36 deletions(-)

diff --git a/docs/index.html b/docs/index.html
index 956687f..3d2c2ba 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -199,7 +199,7 @@ Next: Installation, Previou
 
  Insert a copy of text content via a file link or ID link into an Org file
 
- Work with any text file such as program source cod, plain text, 
Markdown, or other Org files
+ Work with any text file such as program source code, plain text, 
Markdown, or other Org files
 
  Keep the file system clear of the copies of text content – 
Org-transclusion tries hard to save only the links to the file system
 
diff --git a/docs/org-transclusion.org b/docs/org-transclusion.org
index 3d9cf0c..60931bc 100644
--- a/docs/org-transclusion.org
+++ b/docs/org-transclusion.org
@@ -1,6 +1,6 @@
 #+title: Org-transclusion User Manual
 #+author: Noboru Ota 
-#+modified: 2021-12-24T144841
+#+modified: 2021-12-24T174740
 #+language: en
 #+export_file_name: org-transclusion.texi
 #+texinfo_dir_category: Emacs
@@ -46,9 +46,13 @@ modify this GNU manual.”
 #+end_quote
 
 
-#+transclude: [[../README.org::#use-cases]] 
+* Example Use Cases & Main Features
 
-#+transclude: [[../README.org::*Installation]] 
+#+transclude: [[../README.org::#use-cases]] :only-contents 
+
+* Installation
+
+#+transclude: [[../README.org::*Installation]] :only-contents 
 
 * Getting Started
 :PROPERTIES:
@@ -629,7 +633,9 @@ It seems like this could work well for headlines, and named 
tables, src blocks,
 ** Text-Clone
 =text-clone.el= is an extension of text-clone functions written as part of GNU 
Emacs in =subr.el=.  The first adaption to extend text-clone functions to work 
across buffers was published in StackExchange by the user named Tobias in March 
2020. It can be found at 
https://emacs.stackexchange.com/questions/56201/is-there-an-emacs-package-which-can-mirror-a-region/56202#56202.
 The text-clone library takes this line of work further.
 
-#+transclude: [[../README.org::*Contributing]] 
+* Contributing
+
+#+transclude: [[../README.org::*Contributing]] :only-contents 
 
 * Index - Features
 :PROPERTIES:
diff --git a/org-transclusion.info b/org-transclusion.info
index 1bf0650..e7dc767 100644
--- a/org-transclusion.info
+++ b/org-transclusion.info
@@ -142,7 +142,7 @@ Main Features:
• Insert a copy of text content via a file link or ID link into an
  Org file
 
-   • Work with any text file such as program source cod, plain text,
+   • Work with any text file such as program source code, plain text,
  Markdown, or other Org files
 
• Keep the file system clear of the copies of text content –
@@ -1656,36 +1656,36 @@ Tag Table:
 Node: Top846
 Ref: whatis1507
 Node: Example Use Cases & Main Features3574
-Node: Installation5894
-Node: Getting Started7030
-Node: Usage10017
-Node: Org-transclusion mode activate and deactivate10487
-Node: Org links supported12522
-Node: Control levels of headlines per transclusion14264
-Node: Filter Org elements per transclusion16056
-Node: Notes on excluding the headline element19723
-Node: Live-sync edit20693
-Node: Transclude source file into src-block23063
-Node: Transclude range of lines for text and source files24148
-Node: lines property to specify a range of lines24700
-Node: end property to specify a search term to dynamically look for the end of 
a range26621
-Node: Extensions28189
-Node: Customizing30047
-Node: Customizable filter to exclude certain Org elements31874
-Node: Include the section before the first headline (Org file only)32899
-Node: Faces & fringe bitmap33574
-Node: Face for the #+transclude keyword33915
-Node: Faces for the fringes next to transcluded region and source region34409
-Node: Keybindings35982
-Node: Known Limitations36988
-Node: Credits39622
-Node: Original idea by John Kitchin39806
-Node: Text-Clone42367
-Node: Contributing42944
-Node: Index - Features43751
-Node: Index - Commands46382
-Node: Index - User Options48201
-Node: GNU Free Documentation License50543
+Node: Installation5895
+Node: Getting Started7031
+Node: Usage10018
+Node: Org-transclusion mode activate and deactivate10488
+Node: Org links supported12523
+Node: Control levels of headlines per transclusion14265
+Node: Filter Org elements per transclusion16057
+Node: Notes on excluding the headline element19724
+Node: Live-sync edit20694
+Node: Transclude source file into src-block23064
+Node: Transclude range of lines for text and source files24149
+Node: lines property to specify a range of lines24701
+Node: end property to specify a search term to dynamically look for the end of 
a range26622
+Node: Extensions28190
+N

[nongnu] elpa/sly 7f7cfec 4/5: Merge commit of pull request #482 with the '-s ours' strategy

2021-12-24 Thread ELPA Syncer
branch: elpa/sly
commit 7f7cfece7c06cf26064d935300cb7afcf8538ad0
Merge: 554e6b0 520be05
Author: João Távora 
Commit: João Távora 

Merge commit of pull request #482 with the '-s ours' strategy

The patch was already installed as:

   19f4046d..: Paul Eggert 2021-12-15 Simplify message timestamp formatting

However, merging this branch like this should help synchronize Sly's
upstream and the NonGNU ELPA source as well.

Per #481.



[nongnu] elpa/sly 520be05 1/5: Simplify message timestamp formatting

2021-12-24 Thread ELPA Syncer
branch: elpa/sly
commit 520be051b226dd49928530bcb83b87a382ac612e
Author: Paul Eggert 
Commit: Paul Eggert 

Simplify message timestamp formatting

* lib/sly-tests.el (sly-wait-condition): Use format-time-string rather
than formatting by hand.  This avoids relying on Emacs timestamp
format, which is slated to change.
---
 lib/sly-tests.el | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/lib/sly-tests.el b/lib/sly-tests.el
index af381e9..44f50a5 100644
--- a/lib/sly-tests.el
+++ b/lib/sly-tests.el
@@ -95,7 +95,7 @@ Exits Emacs when finished. The exit code is the number of 
failed tests."
(string-match "test/sly-\\(.*\\)\.elc?$" file-name))
   (list 'contrib (intern (match-string 1 file-name)))
 '(core)
-  
+
   (defmacro define-sly-ert-test (name &rest args)
 "Like `ert-deftest', but set tags automatically.
 Also don't error if `ert.el' is missing."
@@ -209,9 +209,8 @@ conditions (assertions)."
 (defun sly-wait-condition (name predicate timeout &optional cleanup)
   (let ((end (time-add (current-time) (seconds-to-time timeout
 (while (not (funcall predicate))
-  (let ((now (current-time)))
-(sly-message "waiting for condition: %s [%s.%06d]" name
- (format-time-string "%H:%M:%S" now) (cl-third now)))
+  (sly-message "waiting for condition: %s [%s]" name
+   (format-time-string "%H:%M:%S.%6N"))
   (cond ((time-less-p end (current-time))
  (unwind-protect
  (error "Timeout waiting for condition: %S" name)
@@ -1314,7 +1313,7 @@ Reconnect afterwards."
   (with-current-buffer mrepl-buffer
 ;; FIXME: suboptimal: wait one second for the lisp
 ;; to reply.
-(sit-for 1) 
+(sit-for 1)
 (unless (and (string-match "^; +SLY" (buffer-string))
  (string-match "CL-USER> *$" (buffer-string)))
   (die (format "MREPL prompt: %s" (buffer-string
@@ -1447,7 +1446,7 @@ Reconnect afterwards."
(sly-test--eval-now "(.fn3.)"))
  '("nil" "nil")))
   ;; Recompile now
-  ;; 
+  ;;
   (with-current-buffer xref-buffer
 (sly-recompile-all-xrefs)
 (sly-wait-condition "Compilation finished"



[nongnu] elpa/sly 19f4046 2/5: Simplify message timestamp formatting

2021-12-24 Thread ELPA Syncer
branch: elpa/sly
commit 19f4046decb9715907b8064807b9e97c87a278fa
Author: Paul Eggert 
Commit: João Távora 

Simplify message timestamp formatting

* lib/sly-tests.el (sly-wait-condition): Use format-time-string rather
than formatting by hand.  This avoids relying on Emacs timestamp
format, which is slated to change.
---
 lib/sly-tests.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/sly-tests.el b/lib/sly-tests.el
index af381e9..5167794 100644
--- a/lib/sly-tests.el
+++ b/lib/sly-tests.el
@@ -209,9 +209,8 @@ conditions (assertions)."
 (defun sly-wait-condition (name predicate timeout &optional cleanup)
   (let ((end (time-add (current-time) (seconds-to-time timeout
 (while (not (funcall predicate))
-  (let ((now (current-time)))
-(sly-message "waiting for condition: %s [%s.%06d]" name
- (format-time-string "%H:%M:%S" now) (cl-third now)))
+  (sly-message "waiting for condition: %s [%s]" name
+   (format-time-string "%H:%M:%S.%6N"))
   (cond ((time-less-p end (current-time))
  (unwind-protect
  (error "Timeout waiting for condition: %S" name)



[nongnu] elpa/sly updated (9300e46 -> 2e00c3b)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch elpa/sly.

  from  9300e46   Simplify message timestamp formatting
   new  19f4046   Simplify message timestamp formatting
   new  554e6b0   Fix #484, #479: Use xref-push-marker-stack when available
   new  520be05   Simplify message timestamp formatting
   new  7f7cfec   Merge commit of pull request #482 with the '-s ours' 
strategy
   new  2e00c3b   Merge commit '9300e466cb' into sly


Summary of changes:
 lib/sly-tests.el | 6 +++---
 sly.el   | 5 -
 2 files changed, 7 insertions(+), 4 deletions(-)



[nongnu] elpa/sly 2e00c3b 5/5: Merge commit '9300e466cb' into sly

2021-12-24 Thread ELPA Syncer
branch: elpa/sly
commit 2e00c3bd4bdf6658f258cc78b3254f0ec24591e5
Merge: 7f7cfec 9300e46
Author: Stefan Monnier 
Commit: Stefan Monnier 

Merge commit '9300e466cb' into sly



[nongnu] elpa/sly 554e6b0 3/5: Fix #484, #479: Use xref-push-marker-stack when available

2021-12-24 Thread ELPA Syncer
branch: elpa/sly
commit 554e6b09d9741f6367e144a1165e3c7fa2e3a8c3
Author: Theodor Thornhill 
Commit: GitHub 

Fix #484, #479: Use xref-push-marker-stack when available

* sly.el (sly-push-definition-stack): Inserting directly into
`find-tag-marker-ring` is obsolete since emacs 25.1.  As of emacs 29 sly no
longer is able to jump back and forth between definition and usage with 
`M-.`
and `M-,`.  As a precaution for backwards compatibility, we use
`xref-push-marker-stack` only when it is bound.
---
 sly.el | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sly.el b/sly.el
index 76fe65d..0dbd6bb 100644
--- a/sly.el
+++ b/sly.el
@@ -3910,7 +3910,10 @@ For insertion in the `compilation-mode' buffer"
 
 (defun sly-push-definition-stack ()
   "Add point to find-tag-marker-ring."
-  (ring-insert find-tag-marker-ring (point-marker)))
+  (require 'etags)
+  (if (fboundp 'xref-push-marker-stack)
+  (xref-push-marker-stack)
+(ring-insert find-tag-marker-ring (point-marker
 
 (defun sly-pop-find-definition-stack ()
   "Pop the edit-definition stack and goto the location."



[elpa] externals/org-transclusion 9fdc7f8: add(fix):extension org-transclusion-font-lock to customize

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 9fdc7f84a5005e8fd24a0a5ea2f76b3997401e19
Author: Noboru Ota 
Commit: Noboru Ota 

add(fix):extension org-transclusion-font-lock to customize

It was missing from the customizing variable for some reason
---
 docs/org-transclusion.org | 3 +--
 org-transclusion.el   | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/org-transclusion.org b/docs/org-transclusion.org
index 60931bc..02b65d1 100644
--- a/docs/org-transclusion.org
+++ b/docs/org-transclusion.org
@@ -1,6 +1,6 @@
 #+title: Org-transclusion User Manual
 #+author: Noboru Ota 
-#+modified: 2021-12-24T174740
+#+modified: 2021-12-24T180026
 #+language: en
 #+export_file_name: org-transclusion.texi
 #+texinfo_dir_category: Emacs
@@ -45,7 +45,6 @@ included in the section entitled “GNU Free Documentation 
License.”
 modify this GNU manual.”
 #+end_quote
 
-
 * Example Use Cases & Main Features
 
 #+transclude: [[../README.org::#use-cases]] :only-contents 
diff --git a/org-transclusion.el b/org-transclusion.el
index 3db6104..8c0088c 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -69,6 +69,7 @@ Intended for :set property for `customize'."
   :type
   '(set :greedy t
 (const :tag "src-lines: Add :src and :lines for non-Org files" 
org-transclusion-src-lines)
+(const :tag "font-lock: Add font-lock for Org-transclusion" 
org-transclusion-font-lock)
 
 (const :tag "indent-mode: Support org-indent-mode" 
org-transclusion-indent-mode)
 (repeat :tag "Other packages" :inline t (symbol :tag "Package"



[elpa] externals/org-transclusion af85e5f 2/2: intrnl: add .dir-locals.el to standardize dev environment

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit af85e5f4a96e04a5b5b572e46a6cdda8b395710e
Author: Noboru Ota 
Commit: Noboru Ota 

intrnl: add .dir-locals.el to standardize dev environment
---
 .dir-local.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.dir-local.el b/.dir-local.el
new file mode 100644
index 000..e523a13
--- /dev/null
+++ b/.dir-local.el
@@ -0,0 +1,3 @@
+((emacs-lisp-mode
+  (fill-column . 80)
+  (indent-tabs-mode . nil)))



[elpa] externals/org-transclusion updated (9fdc7f8 -> af85e5f)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/org-transclusion.

  from  9fdc7f8   add(fix):extension org-transclusion-font-lock to customize
   new  252ec67   fix:Remove extra space/line added to Org elements 
transcluded
   new  af85e5f   intrnl: add .dir-locals.el to standardize dev environment


Summary of changes:
 .dir-local.el |  3 +++
 docs/index.html   |  2 --
 docs/org-transclusion.org |  2 +-
 org-transclusion.el   | 19 +++
 4 files changed, 15 insertions(+), 11 deletions(-)
 create mode 100644 .dir-local.el



[elpa] externals/org-transclusion 252ec67 1/2: fix:Remove extra space/line added to Org elements transcluded

2021-12-24 Thread ELPA Syncer
branch: externals/org-transclusion
commit 252ec6752a08fa40941dc9c40d3b48440a5c415a
Author: Noboru Ota 
Commit: Noboru Ota 

fix:Remove extra space/line added to Org elements transcluded
---
 docs/index.html   |  2 --
 docs/org-transclusion.org |  2 +-
 org-transclusion.el   | 19 +++
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/docs/index.html b/docs/index.html
index 3d2c2ba..bca8816 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -65,7 +65,6 @@ Next: 
 Last updated 24 December 2021.
 
 Org-transclusion lets you insert a copy of text content via a file link or 
ID link within an Org file. It lets you have the same content present in 
different buffers at the same time without copy-and-pasting it. Edit the source 
of the content, and you can refresh the transcluded copies to the up-to-date 
state. Org-transclusion keeps your files clear of the transcluded copies, 
leaving only the links to the original content.
-
 Copyright (C) 2021  Free Software Foundation, Inc.
 
 
@@ -936,7 +935,6 @@ o   org-transclusion-open-source
 C-c C-c org-ctrl-c-ctrl-c
 
 
-
 
  ‘org-transclusion-live-sync-map’
 
diff --git a/docs/org-transclusion.org b/docs/org-transclusion.org
index 02b65d1..a3e67e3 100644
--- a/docs/org-transclusion.org
+++ b/docs/org-transclusion.org
@@ -1,6 +1,6 @@
 #+title: Org-transclusion User Manual
 #+author: Noboru Ota 
-#+modified: 2021-12-24T180026
+#+modified: 2021-12-24T193446
 #+language: en
 #+export_file_name: org-transclusion.texi
 #+texinfo_dir_category: Emacs
diff --git a/org-transclusion.el b/org-transclusion.el
index 8c0088c..ec6a850 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -1,4 +1,4 @@
-;;; org-transclusion.el --- transclude text contents of linked target -*- 
lexical-binding: t; -*-
+;;; org-transclusion.el --- Transclude text content via links -*- 
lexical-binding: t; -*-
 
 ;; Copyright (C) 2021  Free Software Foundation, Inc.
 
@@ -17,7 +17,7 @@
 
 ;; Author: Noboru Ota 
 ;; Created: 10 Oct 2020
-;; Last modified: 4 December 2021
+;; Last modified: 24 December 2021
 
 ;; URL: https://github.com/nobiot/org-transclusion
 ;; Keywords: org-mode, transclusion, writing
@@ -760,7 +760,7 @@ turned off (removed)."
   ;; --, check is done for `buffer-file-name' to see if there is a file visited
   ;; by the buffer. If a "temp" buffer, there is no file being visited.
   (when (and (org-transclusion-remove-all)
-(buffer-file-name))
+ (buffer-file-name))
 (set-buffer-modified-p t)
 (save-buffer)))
 
@@ -1165,11 +1165,14 @@ etc.)."
   (setq obj (org-element-map obj org-element-all-elements
   #'org-transclusion-content-filter-org-only-contents
   nil nil '(section) nil)))
-   
-(list :src-content (org-element-interpret-data obj)
+;; For Org content, an extra +1 point seems to be added to the end of
+;; each element in the normalized content. This adds an extra empty
+;; line, which we would like to remove; hence content and src-end gets
+;; -1 here.
+(list :src-content (substring (org-element-interpret-data obj) 0 -1)
   :src-buf (current-buffer)
   :src-beg (point-min)
-  :src-end (point-max))
+  :src-end (1- (point-max)))
 
 (defun org-transclusion-content-filter-org-exclude-elements (data)
   "Exclude specific elements from DATA.
@@ -1196,7 +1199,7 @@ is non-nil."
   nil
 data))
 
--
+---
  Functions to support non-Org-mode link types
 
 (defun org-transclusion-content-others-default (link _plist)
@@ -1305,7 +1308,7 @@ Case 2. #+transclude inside another transclusion"
;; Case 1. Element at point is NOT #+transclude:
((let ((elm (org-element-at-point)))
   (not (and (string= "keyword" (org-element-type elm))
-   (string= "TRANSCLUDE" (org-element-property :key elm)
+(string= "TRANSCLUDE" (org-element-property :key elm)
 (user-error (format "Not at a transclude keyword at point %d, line %d"
 (point) (org-current-line
;; Case 2. #+transclude inside another transclusion



[elpa] externals-release/org fbff082f73: Update to version 9.5.2

2021-12-24 Thread ELPA Syncer
branch: externals-release/org
commit fbff082f733858e547a07ad452b6e3ed61a30099
Author: Bastien 
Commit: Bastien 

Update to version 9.5.2

* lisp/org.el: Update to version 9.5.2.
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 7ceaf3d168..d58f6af550 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9,7 +9,7 @@
 ;; Homepage: https://orgmode.org
 ;; Package-Requires: ((emacs "25.1"))
 
-;; Version: 9.5.1
+;; Version: 9.5.2
 
 ;; This file is part of GNU Emacs.
 ;;



[elpa] externals/org 4eaf088c13: Merge branch 'bugfix'

2021-12-24 Thread ELPA Syncer
branch: externals/org
commit 4eaf088c13414728971f80274e83e1f3d9c4f6a9
Merge: 8f50ea2d69 fbff082f73
Author: Bastien 
Commit: Bastien 

Merge branch 'bugfix'



[elpa] externals/org updated (8f50ea2d69 -> 4eaf088c13)

2021-12-24 Thread ELPA Syncer
elpasync pushed a change to branch externals/org.

  from  8f50ea2d69 org-element--parse-to: Get rid of unnecessary cache 
lookup
  adds  410afd6f37 Revert "org-do-emphasis-faces: Never treat closing 
marker as next opening marker"
   new  fbff082f73 Update to version 9.5.2
   new  4eaf088c13 Merge branch 'bugfix'


Summary of changes:



[elpa] externals/pyim 8786eee026: 简化 test.

2021-12-24 Thread ELPA Syncer
branch: externals/pyim
commit 8786eee026aa40d881cefee534f4931d47249b0f
Author: Feng Shu 
Commit: Feng Shu 

简化 test.

* Makefile (@if [ ! -f deps/pyim-basedict.el ]; then curl -L 
https): download pyim-basedict.el
(test): simplify.

* tests/pyim-tests.el (pyim-basedict): required.
(pyim-tests-add-dict): removed.
(pyim-dicts, pyim-extra-dicts): set to nil.
---
 Makefile|  3 ++-
 tests/pyim-tests.el | 19 ++-
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/Makefile b/Makefile
index 6a2146d3a0..36839498d7 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,8 @@ deps:
@if [ ! -f deps/async.el ]; then curl -L 
https://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/async.el?h=externals/async
 > deps/async.el; fi;
@if [ ! -f deps/popup.el ]; then curl -L 
https://git.savannah.gnu.org/cgit/emacs/nongnu.git/plain/popup.el?h=elpa/popup 
> deps/popup.el; fi;
@if [ ! -f deps/pyim-basedict.pyim ]; then curl -L 
https://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/pyim-basedict.pyim?h=externals/pyim-basedict
 > deps/pyim-basedict.pyim; fi;
+   @if [ ! -f deps/pyim-basedict.el ]; then curl -L 
https://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/pyim-basedict.el?h=externals/pyim-basedict
 > deps/pyim-basedict.el; fi;
 
 .PHONY: test
 test: deps clean
-   @$(EMACS) -batch -Q -L . -l deps/xr.el -l deps/async.el -l 
deps/popup.el -l pyim.el -l tests/pyim-tests.el
+   @$(EMACS) -batch --quick --directory . --directory ./deps --load 
./tests/pyim-tests.el
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index ff47c0521c..6063900b8b 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -31,26 +31,19 @@
 ;; * 代码 :code:
 (require 'ert)
 (require 'pyim)
+(require 'pyim-basedict)
 (require 'pyim-dregcache)
 (require 'pyim-dhashcache)
 
-;; ** 单元测试前的准备工作
-(defun pyim-tests-add-dict (file-name)
-  "搜索文件名称为 FILE-NAME 的词库,并添加到 `pyim-dicts'."
-  (let ((file (expand-file-name (concat default-directory "/deps/" 
file-name
-(if (file-exists-p file)
-(cl-pushnew
- (list :name (file-name-base file) :file file)
- pyim-dicts)
-  (message "pyim-test: fail to find dict file: '%s'." file
-
 (setq default-input-method "pyim")
-(pyim-tests-add-dict "pyim-basedict.pyim")
-(pyim-dcache-init-variables)
-
+(setq pyim-dicts nil)
+(setq pyim-extra-dicts nil)
 ;; 做测试的时候不保存词库,防止因为误操作导致个人词库损坏。
 (defalias 'pyim-kill-emacs-hook-function #'ignore)
 
+(pyim-basedict-enable)
+(pyim-dcache-init-variables)
+
 ;; ** pyim-schemes 相关单元测试
 (ert-deftest pyim-tests-pyim-schemes ()
   (let ((pyim-default-scheme 'wubi))



[elpa] externals/pyim 571de3af18: 再次简化 test

2021-12-24 Thread ELPA Syncer
branch: externals/pyim
commit 571de3af1899d1584c09e7d2fbb350d5418efa04
Author: Feng Shu 
Commit: Feng Shu 

再次简化 test
---
 .github/workflows/test.yml |  2 +-
 .gitignore |  6 ++---
 Makefile => tests/Makefile |  7 +++---
 tests/pyim-tests.el| 63 --
 4 files changed, 40 insertions(+), 38 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 46babbf81e..438f45f20e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -24,4 +24,4 @@ jobs:
   run: emacs --version
 
 - name: Run tests
-  run: make test
+  run: make -C tests test
diff --git a/.gitignore b/.gitignore
index 4149ef55d2..99aa775db0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,11 +4,11 @@
 /*/*.html
 /*/*.*~
 /*.patch
-deps/
 
 # Files generated during `make packages/pyim`.
 *.elc
 /pyim-autoloads.el
 /pyim-pkg.el
-/pyim-dcache-*
-/tests/pyim-dcache-*
\ No newline at end of file
+/tests/pyim-tests-dcache-*
+/tests/deps/
+
diff --git a/Makefile b/tests/Makefile
similarity index 86%
rename from Makefile
rename to tests/Makefile
index 36839498d7..13e7966f81 100644
--- a/Makefile
+++ b/tests/Makefile
@@ -3,9 +3,7 @@ SHELL = /bin/sh
 EMACS ?= emacs
 
 clean:
-   @rm -f *~
-   @rm -f \#*\#
-   @rm -f *.elc
+   @rm -rf pyim-tests-dcache-*
 
 .PHONY: deps
 deps:
@@ -18,4 +16,5 @@ deps:
 
 .PHONY: test
 test: deps clean
-   @$(EMACS) -batch --quick --directory . --directory ./deps --load 
./tests/pyim-tests.el
+   @$(EMACS) --batch --quick --directory .. --directory ./deps --load 
./pyim-tests.el
+   @rm -rf pyim-tests-dcache-*
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 6063900b8b..328752770a 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -38,6 +38,9 @@
 (setq default-input-method "pyim")
 (setq pyim-dicts nil)
 (setq pyim-extra-dicts nil)
+;; 设置 pyim-dcache-directory, 防止用户个人词库不小心被覆盖掉。
+(setq pyim-dcache-directory
+  (file-name-as-directory (make-temp-name "pyim-tests-dcache-")))
 ;; 做测试的时候不保存词库,防止因为误操作导致个人词库损坏。
 (defalias 'pyim-kill-emacs-hook-function #'ignore)
 
@@ -563,39 +566,39 @@
 ;; ** pyim-import 相关单元测试
 (ert-deftest pyim-tests-pyim-import-words-and-counts ()
   ;; 这个测试目前主要用于手工测试,在 github 上这个测试无法通过的。
-  :expected-result :failed
-  (let ((pyim-dcache-directory
- (file-name-as-directory (make-temp-name "pyim-dcache-")))
-(file (make-temp-file "pyim-tests-import")))
-;; 删除测试用词条
-(dolist (x '("测㤅" "测嘊" "测伌"))
-  (pyim-process-delete-word x))
-(dolist (x '("测㤅" "测嘊" "测伌"))
-  (should-not (member x (pyim-dcache-get "ce-ai" '(icode2word)
-(should-not (equal (gethash "测㤅" pyim-dhashcache-iword2count) 76543))
-(should-not (equal (gethash "测嘊" pyim-dhashcache-iword2count) 34567))
-(should-not (equal (gethash "测伌" pyim-dhashcache-iword2count) 0))
-
-;; 导入测试用词条
-(with-temp-buffer
-  (insert
-   ";;; -*- coding: utf-8-unix -*-
+  (when (not noninteractive)
+(let ((pyim-dcache-directory
+   (file-name-as-directory (make-temp-name "pyim-tests-dcache-")))
+  (file (make-temp-file "pyim-tests-import")))
+  ;; 删除测试用词条
+  (dolist (x '("测㤅" "测嘊" "测伌"))
+(pyim-process-delete-word x))
+  (dolist (x '("测㤅" "测嘊" "测伌"))
+(should-not (member x (pyim-dcache-get "ce-ai" '(icode2word)
+  (should-not (equal (gethash "测㤅" pyim-dhashcache-iword2count) 76543))
+  (should-not (equal (gethash "测嘊" pyim-dhashcache-iword2count) 34567))
+  (should-not (equal (gethash "测伌" pyim-dhashcache-iword2count) 0))
+
+  ;; 导入测试用词条
+  (with-temp-buffer
+(insert
+ ";;; -*- coding: utf-8-unix -*-
 测㤅 76543 ce-ai
 测嘊 34567
 测伌")
-  (write-file file))
-(pyim-import-words-and-counts file (lambda (orig-count new-count) 
new-count) t)
+(write-file file))
+  (pyim-import-words-and-counts file (lambda (orig-count new-count) 
new-count) t)
 
-;; 测试词条是否存在
-(dolist (x '("测㤅" "测嘊" "测伌"))
-  (should (member x (pyim-dcache-get "ce-ai" '(icode2word)
-(should (equal (gethash "测㤅" pyim-dhashcache-iword2count) 76543))
-(should (equal (gethash "测嘊" pyim-dhashcache-iword2count) 34567))
-(should (equal (gethash "测伌" pyim-dhashcache-iword2count) 0
+  ;; 测试词条是否存在
+  (dolist (x '("测㤅" "测嘊" "测伌"))
+(should (member x (pyim-dcache-get "ce-ai" '(icode2word)
+  (should (equal (gethash "测㤅" pyim-dhashcache-iword2count) 76543))
+  (should (equal (gethash "测嘊" pyim-dhashcache-iword2count) 34567))
+  (should (equal (gethash "测伌" pyim-dhashcache-iword2count) 0)
 
 ;; ** pyim-dcache 相关单元测试
 (ert-deftest pyim-tests-pyim-dcache-save/read-variable-value ()
-  (let* ((file (make-temp-file "pyim-dcache-"))
+  (let* ((file (make-temp-file "pyim-tests-dcache-"))
  (backup-file (concat file "-backup-" (format-time-string 
"%Y%m%d%H%M%S")))
  (value (make-hash-table :test #'equal)