From 37a4f523eca1170d7430a3915a4ad9bf362e8780 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sun, 26 Nov 2023 16:32:43 +0100 Subject: [PATCH] update with-editor Signed-off-by: Andreas Gerler --- elpa/with-editor-20230711.1217/dir | 18 +++++++++++++ .../with-editor-autoloads.el | 0 .../with-editor-pkg.el | 6 ++--- .../with-editor.el | 10 +++---- .../with-editor.info | 26 +++++++++---------- 5 files changed, 39 insertions(+), 21 deletions(-) create mode 100644 elpa/with-editor-20230711.1217/dir rename elpa/{with-editor-20230212.2214 => with-editor-20230711.1217}/with-editor-autoloads.el (100%) rename elpa/{with-editor-20230212.2214 => with-editor-20230711.1217}/with-editor-pkg.el (69%) rename elpa/{with-editor-20230212.2214 => with-editor-20230711.1217}/with-editor.el (99%) rename elpa/{with-editor-20230212.2214 => with-editor-20230711.1217}/with-editor.info (96%) diff --git a/elpa/with-editor-20230711.1217/dir b/elpa/with-editor-20230711.1217/dir new file mode 100644 index 00000000..c5810e07 --- /dev/null +++ b/elpa/with-editor-20230711.1217/dir @@ -0,0 +1,18 @@ +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 +* With-Editor: (with-editor). Using the Emacsclient as $EDITOR. diff --git a/elpa/with-editor-20230212.2214/with-editor-autoloads.el b/elpa/with-editor-20230711.1217/with-editor-autoloads.el similarity index 100% rename from elpa/with-editor-20230212.2214/with-editor-autoloads.el rename to elpa/with-editor-20230711.1217/with-editor-autoloads.el diff --git a/elpa/with-editor-20230212.2214/with-editor-pkg.el b/elpa/with-editor-20230711.1217/with-editor-pkg.el similarity index 69% rename from elpa/with-editor-20230212.2214/with-editor-pkg.el rename to elpa/with-editor-20230711.1217/with-editor-pkg.el index a6b3110d..fbb5d589 100644 --- a/elpa/with-editor-20230212.2214/with-editor-pkg.el +++ b/elpa/with-editor-20230711.1217/with-editor-pkg.el @@ -1,7 +1,7 @@ -(define-package "with-editor" "20230212.2214" "Use the Emacsclient as $EDITOR" +(define-package "with-editor" "20230711.1217" "Use the Emacsclient as $EDITOR" '((emacs "25.1") - (compat "29.1.3.4")) - :commit "59867aebe16454be4d8c0c858f3b00b8a34f3f61" :authors + (compat "29.1.4.1")) + :commit "a4853781835346aabf083d2d9cb87f656d01ccac" :authors '(("Jonas Bernoulli" . "jonas@bernoul.li")) :maintainers '(("Jonas Bernoulli" . "jonas@bernoul.li")) diff --git a/elpa/with-editor-20230212.2214/with-editor.el b/elpa/with-editor-20230711.1217/with-editor.el similarity index 99% rename from elpa/with-editor-20230212.2214/with-editor.el rename to elpa/with-editor-20230711.1217/with-editor.el index 66d603a0..c1c52602 100644 --- a/elpa/with-editor-20230212.2214/with-editor.el +++ b/elpa/with-editor-20230711.1217/with-editor.el @@ -6,8 +6,8 @@ ;; Homepage: https://github.com/magit/with-editor ;; Keywords: processes terminals -;; Package-Version: 3.2.0.50-git -;; Package-Requires: ((emacs "25.1") (compat "29.1.3.4")) +;; Package-Version: 3.3.0 +;; Package-Requires: ((emacs "25.1") (compat "29.1.4.1")) ;; SPDX-License-Identifier: GPL-3.0-or-later @@ -178,7 +178,7 @@ wait $sleep'" This fallback is used for asynchronous processes started inside the macro `with-editor', when the process runs on a remote machine or for local processes when `with-editor-emacsclient-executable' -is nil (i.e. when no suitable Emacsclient was found, or the user +is nil (i.e., when no suitable Emacsclient was found, or the user decided not to use it). Where the latter uses a socket to communicate with Emacs' server, @@ -191,7 +191,7 @@ Some shells do not execute traps immediately when waiting for a 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: @@ -961,7 +961,7 @@ See info node `(with-editor)Debugging' for instructions." (format " funcall: %s (%s)\n" fun (and fun (with-editor-emacsclient-version fun))))) (insert "path:\n" - (format " $PATH: %S\n" (getenv "PATH")) + (format " $PATH: %s\n" (split-string (getenv "PATH") ":")) (format " exec-path: %s\n" exec-path)) (insert (format " with-editor-emacsclient-path:\n")) (dolist (dir (with-editor-emacsclient-path)) diff --git a/elpa/with-editor-20230212.2214/with-editor.info b/elpa/with-editor-20230711.1217/with-editor.info similarity index 96% rename from elpa/with-editor-20230212.2214/with-editor.info rename to elpa/with-editor-20230711.1217/with-editor.info index 0481227d..ae33d674 100644 --- a/elpa/with-editor-20230212.2214/with-editor.info +++ b/elpa/with-editor-20230711.1217/with-editor.info @@ -39,7 +39,7 @@ 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.0. Copyright (C) 2015-2023 Jonas Bernoulli @@ -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'" @@ -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 and provide information about your Emacs installation. Most importantly how did you install @@ -366,13 +366,13 @@ Appendix B Variable Index  Tag Table: Node: Top773 -Node: Using the With-Editor package2570 -Node: Configuring With-Editor3156 -Node: Using With-Editor commands7702 -Node: Using With-Editor as a library10987 -Node: Debugging13012 -Node: Function and Command Index13904 -Node: Variable Index15402 +Node: Using the With-Editor package2563 +Node: Configuring With-Editor3149 +Node: Using With-Editor commands7698 +Node: Using With-Editor as a library10983 +Node: Debugging13008 +Node: Function and Command Index13900 +Node: Variable Index15398  End Tag Table -- 2.47.3