update of packages
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
This is with-editor.info, produced by makeinfo version 7.0.1 from
|
||||
This is with-editor.info, produced by makeinfo version 6.8 from
|
||||
with-editor.texi.
|
||||
|
||||
Copyright (C) 2015-2022 Jonas Bernoulli <jonas@bernoul.li>
|
||||
Copyright (C) 2015-2023 Jonas Bernoulli <jonas@bernoul.li>
|
||||
|
||||
You can redistribute this document and/or modify it under the terms
|
||||
of the GNU General Public License as published by the Free Software
|
||||
@@ -39,9 +39,9 @@ library is made available as a separate package. It also defines some
|
||||
additional functionality which makes it useful even for end-users, who
|
||||
don’t use Magit or another package which uses it internally.
|
||||
|
||||
This manual is for With-Editor version 3.2.0.50-git.
|
||||
This manual is for With-Editor version 3.3.2.
|
||||
|
||||
Copyright (C) 2015-2022 Jonas Bernoulli <jonas@bernoul.li>
|
||||
Copyright (C) 2015-2023 Jonas Bernoulli <jonas@bernoul.li>
|
||||
|
||||
You can redistribute this document and/or modify it under the terms
|
||||
of the GNU General Public License as published by the Free Software
|
||||
@@ -126,7 +126,7 @@ and we have to add another kludge to find it anyway.
|
||||
Note that there also is a nuclear option; setting this variable to
|
||||
‘nil’ causes the "sleeping editor" described below to be used even
|
||||
for local child processes. Obviously we don’t recommend that you
|
||||
use this except in "emergencies", i.e. before we had a change to
|
||||
use this except in "emergencies", i.e., before we had a change to
|
||||
add a kludge appropriate for you setup.
|
||||
|
||||
-- Function: with-editor-locate-emacsclient
|
||||
@@ -164,13 +164,13 @@ it receives a signal.
|
||||
child process, but by default we do use such a blocking child
|
||||
process.
|
||||
|
||||
If you use such a shell (e.g. ‘csh’ on FreeBSD, but not Debian),
|
||||
If you use such a shell (e.g., ‘csh’ on FreeBSD, but not Debian),
|
||||
then you have to edit this option. You can either replace ‘sh’
|
||||
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$1 IN $(pwd)\"; \
|
||||
trap \"exit 0\" USR1; \
|
||||
trap \"exit 1\" USR2; \
|
||||
while true; do sleep 1; done'"
|
||||
@@ -211,10 +211,10 @@ for an alternative environment variable such as ‘$GIT_EDITOR’.
|
||||
|
||||
To always use these variants add this to you init file:
|
||||
|
||||
(define-key (current-global-map)
|
||||
[remap async-shell-command] 'with-editor-async-shell-command)
|
||||
(define-key (current-global-map)
|
||||
[remap shell-command] 'with-editor-shell-command)
|
||||
(keymap-global-set "<remap> <async-shell-command>"
|
||||
#'with-editor-async-shell-command)
|
||||
(keymap-global-set "<remap> <shell-command>"
|
||||
#'with-editor-shell-command)
|
||||
|
||||
Alternatively use the global ‘shell-command-with-editor-mode’.
|
||||
|
||||
@@ -234,7 +234,7 @@ appropriate mode hooks:
|
||||
(add-hook 'shell-mode-hook 'with-editor-export-editor)
|
||||
(add-hook 'eshell-mode-hook 'with-editor-export-editor)
|
||||
(add-hook 'term-exec-hook 'with-editor-export-editor)
|
||||
(add-hook 'vterm-exec-hook 'with-editor-export-editor)
|
||||
(add-hook 'vterm-mode-hook 'with-editor-export-editor)
|
||||
|
||||
Some variants of this function exist; these two forms are equivalent:
|
||||
|
||||
@@ -312,7 +312,7 @@ the most likely reason is that someone found yet another way to package
|
||||
Emacs (most likely on macOS) without putting the executable on ‘$PATH’,
|
||||
and we have to add another kludge to find it anyway.
|
||||
|
||||
If you are having problems using ‘with-editor’, e.g. you cannot
|
||||
If you are having problems using ‘with-editor’, e.g., you cannot
|
||||
commit in Magit, then please open a new issue at
|
||||
<https://github.com/magit/with-editor/issues> and provide information
|
||||
about your Emacs installation. Most importantly how did you install
|
||||
@@ -365,14 +365,14 @@ Appendix B Variable Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top775
|
||||
Node: Using the With-Editor package2572
|
||||
Node: Configuring With-Editor3158
|
||||
Node: Using With-Editor commands7704
|
||||
Node: Using With-Editor as a library10989
|
||||
Node: Debugging13014
|
||||
Node: Function and Command Index13906
|
||||
Node: Variable Index15404
|
||||
Node: Top773
|
||||
Node: Using the With-Editor package2563
|
||||
Node: Configuring With-Editor3149
|
||||
Node: Using With-Editor commands7698
|
||||
Node: Using With-Editor as a library10999
|
||||
Node: Debugging13024
|
||||
Node: Function and Command Index13916
|
||||
Node: Variable Index15414
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user