[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor d3b0bc7 083/140: Update documentation
From: |
Jonas Bernoulli |
Subject: |
[nongnu] elpa/with-editor d3b0bc7 083/140: Update documentation |
Date: |
Fri, 6 Aug 2021 12:51:24 -0400 (EDT) |
branch: elpa/with-editor
commit d3b0bc766371fa6dc2f413a619f2e9717f3d1f24
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Update documentation
---
with-editor.el | 13 ++++++++-----
with-editor.org | 19 ++++++++++++-------
with-editor.texi | 16 ++++++++++------
3 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/with-editor.el b/with-editor.el
index 59cddbb..ba01946 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -202,15 +202,18 @@ with \"bash\" (and install that), or you can use the
older, less
performant implementation:
\"sh -c '\\
- echo \\\"WITH-EDITOR: $$ OPEN $0 in $(pwd)\\\"; \\
+ echo \\\"WITH-EDITOR: $$ OPEN $0 IN $(pwd)\\\"; \\
trap \\\"exit 0\\\" USR1; \\
trap \\\"exit 1\" USR2; \\
while true; do sleep 1; done'\"
-Note that this leads to a delay of up to a second. The delay can
-be shortened by replacing \"sleep 1\" with \"sleep 0.01\", or if your
-implementation does not support floats, then by using `nanosleep'
-instead."
+Note that the unit seperator character () right after the file
+name ($0) is required.
+
+Also note that using this alternative implementation leads to a
+delay of up to a second. The delay can be shortened by replacing
+\"sleep 1\" with \"sleep 0.01\", or if your implementation does
+not support floats, then by using \"nanosleep\" instead."
:package-version '(with-editor . "2.8.0")
:group 'with-editor
:type 'string)
diff --git a/with-editor.org b/with-editor.org
index 329b83e..66406a5 100644
--- a/with-editor.org
+++ b/with-editor.org
@@ -8,7 +8,7 @@
#+TEXINFO_DIR_CATEGORY: Emacs
#+TEXINFO_DIR_TITLE: With-Editor: (with-editor).
#+TEXINFO_DIR_DESC: Using the Emacsclient as $EDITOR
-#+SUBTITLE: for version 2.7.4
+#+SUBTITLE: for version 2.7.4 (v2.7.4-2-g48e1b2d+1)
#+BIND: ox-texinfo+-before-export-hook ox-texinfo+-update-version-strings
#+TEXINFO_DEFFN: t
@@ -30,7 +30,7 @@ additional functionality which makes it useful even for
end-users, who
don't use Magit or another package which uses it internally.
#+TEXINFO: @noindent
-This manual is for With-Editor version 2.7.4.
+This manual is for With-Editor version 2.7.4 (v2.7.4-2-g48e1b2d+1).
#+BEGIN_QUOTE
Copyright (C) 2015-2018 Jonas Bernoulli <jonas@bernoul.li>
@@ -135,15 +135,19 @@ it receives a signal.
#+BEGIN_SRC emacs-lisp
"sh -c '\
- echo \"WITH-EDITOR: $$ OPEN $0\"; \
+ echo \"WITH-EDITOR: $$ OPEN $0 IN $(pwd)\"; \
trap \"exit 0\" USR1; \
trap \"exit 1\" USR2; \
while true; do sleep 1; done'"
#+END_SRC
- This leads to a delay of up to a second. The delay can be shortened
- by replacing ~sleep 1~ with ~sleep 0.01~, or if your implementation does
- not support floats, then by using ~nanosleep 0.01~ instead.
+ Note that the unit seperator character () right after the file
+ name ($0) is required.
+
+ Also note that using this alternative implementation leads to a
+ delay of up to a second. The delay can be shortened by replacing
+ ~sleep 1~ with ~sleep 0.01~, or if your implementation does not support
+ floats, then by using ~nanosleep~ instead.
** Using With-Editor commands
@@ -302,7 +306,8 @@ General Public License for more details.
# IMPORTANT: Also update ORG_ARGS and ORG_EVAL in the Makefile.
# Local Variables:
-# eval: (require 'ox-extra nil t)
+# eval: (require 'magit-utils nil t)
+# eval: (require 'ox-extra nil t)
# eval: (require 'ox-texinfo+ nil t)
# eval: (and (featurep 'ox-extra) (ox-extras-activate '(ignore-headlines)))
# indent-tabs-mode: nil
diff --git a/with-editor.texi b/with-editor.texi
index 0cb5685..4ebb1c7 100644
--- a/with-editor.texi
+++ b/with-editor.texi
@@ -30,7 +30,7 @@ General Public License for more details.
@finalout
@titlepage
@title With-Editor User Manual
-@subtitle for version 2.7.4
+@subtitle for version 2.7.4 (v2.7.4-2-g48e1b2d+1)
@author Jonas Bernoulli
@page
@vskip 0pt plus 1filll
@@ -59,7 +59,7 @@ additional functionality which makes it useful even for
end-users, who
don't use Magit or another package which uses it internally.
@noindent
-This manual is for With-Editor version 2.7.4.
+This manual is for With-Editor version 2.7.4 (v2.7.4-2-g48e1b2d+1).
@quotation
Copyright (C) 2015-2018 Jonas Bernoulli <jonas@@bernoul.li>
@@ -190,15 +190,19 @@ implementation:
@lisp
"sh -c '\
-echo \"WITH-EDITOR: $$ OPEN $0\"; \
+echo \"WITH-EDITOR: $$ OPEN $0 IN $(pwd)\"; \
trap \"exit 0\" USR1; \
trap \"exit 1\" USR2; \
while true; do sleep 1; done'"
@end lisp
-This leads to a delay of up to a second. The delay can be shortened
-by replacing @code{sleep 1} with @code{sleep 0.01}, or if your implementation
does
-not support floats, then by using @code{nanosleep 0.01} instead.
+Note that the unit seperator character () right after the file
+name ($0) is required.
+
+Also note that using this alternative implementation leads to a
+delay of up to a second. The delay can be shortened by replacing
+@code{sleep 1} with @code{sleep 0.01}, or if your implementation does not
support
+floats, then by using @code{nanosleep} instead.
@end defopt
@node Using With-Editor commands
- [nongnu] elpa/with-editor ee39f23 065/140: make: generate CDN invalidation after upload, (continued)
- [nongnu] elpa/with-editor ee39f23 065/140: make: generate CDN invalidation after upload, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 73d3d1a 066/140: Use the emacsclient again when running shell commands, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ff3e969 077/140: make: Refactor manual publishing, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 3ad940c 086/140: Update documentation, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor db11c10 089/140: Release version 2.8.0, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 46a7b51 090/140: with-editor-{finish, cancel}-hook: No longer ignore global value, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 66bec91 098/140: Release version 2.8.3, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor bc184cf 075/140: Changing heading of library footer section, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 22a581d 076/140: make: Remove deleted pages when publishing manual, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 71e61b9 081/140: with-editor-sleeping-editor: Also print the working directory, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor d3b0bc7 083/140: Update documentation,
Jonas Bernoulli <=
- [nongnu] elpa/with-editor 87c96b3 091/140: with-editor-finish: Preserve local git-commit-post-finish-hook, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ef0ef43 093/140: manual: Call ox-texinfo+-update-copyright-years while exporting, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 513e13f 097/140: Fix previous commit, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ff23166 099/140: Add .github/FUNDING.yml, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f5a8d96 100/140: with-editor-usage-message: Delay message a little longer, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ba4ca8a 108/140: with-editor-finish: Fix bug concerning git-commit-post-finish-hook, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 324285f 109/140: Add htmlxref.cnf, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 9097321 112/140: with-editor-export-editor: Fix for term-mode, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor d8f2e99 116/140: Fix typo, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f2a9b02 121/140: manual: Add indices, Jonas Bernoulli, 2021/08/06