[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor 3ad940c 086/140: Update documentation
From: |
Jonas Bernoulli |
Subject: |
[nongnu] elpa/with-editor 3ad940c 086/140: Update documentation |
Date: |
Fri, 6 Aug 2021 12:51:25 -0400 (EDT) |
branch: elpa/with-editor
commit 3ad940ce42f5ad5ffdca72a9f47c28d40191a76b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Update documentation
---
with-editor.org | 20 ++++++++++++++------
with-editor.texi | 27 +++++++++++++++++++++------
2 files changed, 35 insertions(+), 12 deletions(-)
diff --git a/with-editor.org b/with-editor.org
index 66406a5..00610cd 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 (v2.7.4-2-g48e1b2d+1)
+#+SUBTITLE: for version 2.7.4 (v2.7.4-5-gac6b2e3+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 (v2.7.4-2-g48e1b2d+1).
+This manual is for With-Editor version 2.7.4 (v2.7.4-5-gac6b2e3+1).
#+BEGIN_QUOTE
Copyright (C) 2015-2018 Jonas Bernoulli <jonas@bernoul.li>
@@ -248,10 +248,18 @@ package]].
call home to the current Emacs instance when they require that the
user edits a file.
- This is essentially done by establishing a local binding for
- ~process-environment~ and changing the value of the ~$EDITOR~
- environment variable in that scope. This affects all asynchronous
- processes started by forms (dynamically) inside BODY.
+ This is done by establishing a local binding for ~process-environment~
+ and changing the value of the ~EDITOR~ environment variable in that
+ scope. This affects all (asynchronous) processes started by forms
+ (dynamically) inside BODY.
+
+ If BODY begins with a literal string, then that variable is set
+ instead of ~EDITOR~.
+
+- Macro: with-editor envvar &rest body
+
+ This macro is like ~with-editor~ instead that the ENVVAR argument is
+ required and that it is evaluated at run-time.
- Function: with-editor-set-process-filter process filter
diff --git a/with-editor.texi b/with-editor.texi
index 4ebb1c7..436e0db 100644
--- a/with-editor.texi
+++ b/with-editor.texi
@@ -19,6 +19,7 @@ This document is distributed in the hope that it will be
useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@. See the GNU
General Public License for more details.
+
@end quotation
@end copying
@@ -30,7 +31,7 @@ General Public License for more details.
@finalout
@titlepage
@title With-Editor User Manual
-@subtitle for version 2.7.4 (v2.7.4-2-g48e1b2d+1)
+@subtitle for version 2.7.4 (v2.7.4-5-gac6b2e3+1)
@author Jonas Bernoulli
@page
@vskip 0pt plus 1filll
@@ -59,7 +60,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 (v2.7.4-2-g48e1b2d+1).
+This manual is for With-Editor version 2.7.4 (v2.7.4-5-gac6b2e3+1).
@quotation
Copyright (C) 2015-2018 Jonas Bernoulli <jonas@@bernoul.li>
@@ -73,6 +74,7 @@ This document is distributed in the hope that it will be
useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@. See the GNU
General Public License for more details.
+
@end quotation
@end ifnottex
@@ -80,6 +82,7 @@ General Public License for more details.
* Using the With-Editor package::
* Using With-Editor as a library::
* Debugging::
+* _::
@detailmenu
--- The Detailed Node Listing ---
@@ -316,10 +319,19 @@ used as the editor of child processes, effectively
teaching them to
call home to the current Emacs instance when they require that the
user edits a file.
-This is essentially done by establishing a local binding for
-@code{process-environment} and changing the value of the @code{$EDITOR}
-environment variable in that scope. This affects all asynchronous
-processes started by forms (dynamically) inside BODY@.
+This is done by establishing a local binding for @code{process-environment}
+and changing the value of the @code{EDITOR} environment variable in that
+scope. This affects all (asynchronous) processes started by forms
+(dynamically) inside BODY@.
+
+If BODY begins with a literal string, then that variable is set
+instead of @code{EDITOR}.
+@end defmac
+
+@defmac with-editor envvar &rest body
+
+This macro is like @code{with-editor} instead that the ENVVAR argument is
+required and that it is evaluated at run-time.
@end defmac
@defun with-editor-set-process-filter process filter
@@ -347,4 +359,7 @@ in Magit, then please open a new issue at
about your Emacs installation. Most importantly how did you install
Emacs and what is the output of @code{M-x with-editor-debug RET}.
+@node _
+@chapter _ :ignore:
+
@bye
- [nongnu] elpa/with-editor 6147262 064/140: make: remove clean-texi and clean-all targets, (continued)
- [nongnu] elpa/with-editor 6147262 064/140: make: remove clean-texi and clean-all targets, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f733034 067/140: Ignore additional generated files, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 93876b6 068/140: manual: use @noindent before version sentence, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor f401e12 071/140: Add some autoload, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor fcbccec 072/140: Use process-live-p to check whether process is alive, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 3e64247 080/140: Release version 2.7.4, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor cacb41d 062/140: make: use same export settings as for manual Org exports, Jonas Bernoulli, 2021/08/06
- [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 <=
- [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, 2021/08/06
- [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