From e6f78485aa66ff762376702fc97a14a4dfe9b258 Mon Sep 17 00:00:00 2001 From: john muhl Date: Wed, 10 Jul 2024 17:13:58 -0500 Subject: [PATCH 1/3] ; Fix typos in 'which-key-mode' (bug#72093) * lisp/which-key.el (which-key-preserve-window-configuration): Correct spelling of "taken". (which-key--create-pages): Correct spelling of "widths". (which-key--start-paging-timer): Correct spelling of "secondary". --- lisp/which-key.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/which-key.el b/lisp/which-key.el index 677a84b328d..37b42a009f7 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -444,7 +444,7 @@ Note that `which-key-idle-delay' should be set before turning on If non-nil, save window configuration before which-key buffer is shown and restore it after which-key buffer is hidden. It prevents which-key from changing window position of visible -buffers. Only takken into account when popup type is +buffers. Only taken into account when popup type is side-window." :type 'boolean :package-version "1.0" :version "30.1") @@ -2113,7 +2113,7 @@ should be minimized." (defun which-key--create-pages (keys &optional prefix-keys prefix-title) "Create page strings using `which-key--list-to-pages'. Will try to find the best number of rows and columns using the -given dimensions and the length and wdiths of KEYS. SEL-WIN-WIDTH +given dimensions and the length and widths of KEYS. SEL-WIN-WIDTH is the width of the live window." (let* ((max-dims (which-key--popup-max-dimensions)) (max-lines (car max-dims)) @@ -2825,7 +2825,7 @@ Finally, show the buffer." (funcall which-key-this-command-keys-function))))) (cancel-timer which-key--paging-timer) (if which-key-idle-secondary-delay - ;; we haven't executed a command yet so the secandary + ;; we haven't executed a command yet so the secondary ;; timer is more relevant here (which-key--start-timer which-key-idle-secondary-delay t) (which-key--start-timer))))))) From 04bf3172f03497eef6985311c90fd6557ace42b2 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sat, 13 Jul 2024 21:59:20 +0200 Subject: [PATCH 2/3] ; Set Transient's version --- doc/misc/transient.texi | 4 ++-- lisp/transient.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/misc/transient.texi b/doc/misc/transient.texi index 22db4e82143..9245a76e66b 100644 --- a/doc/misc/transient.texi +++ b/doc/misc/transient.texi @@ -31,7 +31,7 @@ General Public License for more details. @finalout @titlepage @title Transient User and Developer Manual -@subtitle for version 0.7.2 +@subtitle for version 0.7.2.1 @author Jonas Bernoulli @page @vskip 0pt plus 1filll @@ -53,7 +53,7 @@ resource to get over that hurdle is Psionic K's interactive tutorial, available at @uref{https://github.com/positron-solutions/transient-showcase}. @noindent -This manual is for Transient version 0.7.2. +This manual is for Transient version 0.7.2.1. @insertcopying @end ifnottex diff --git a/lisp/transient.el b/lisp/transient.el index 312ed540f73..05ad0ed8a0b 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -5,7 +5,7 @@ ;; Author: Jonas Bernoulli ;; URL: https://github.com/magit/transient ;; Keywords: extensions -;; Version: 0.7.2 +;; Version: 0.7.2.1 ;; SPDX-License-Identifier: GPL-3.0-or-later From b00fc31dd1d4543f8b017e8d7fef7686cd430bcc Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 14 Jul 2024 12:46:23 +0800 Subject: [PATCH 3/3] Do not set LD_LIBRARY_PATH during Android initialization * doc/emacs/android.texi (Android Environment): Adjust documentation to match. * java/org/gnu/emacs/EmacsNoninteractive.java (main1): New function. Remove initialization of EmacsNative hither. (main): Acquire an ApplicationInfo or LoadedApk, as the case may be on the host system, derive a ClassLoader from the result, and load and call `main1' from within this class loader. * src/android-emacs.c (main): * src/android.c (setEmacsParams): Do not override LD_LIBRARY_PATH or set EMACS_LD_LIBRARY_PATH. This enables Emacs to execute subprocesses in certain "fortified" Android systems, amongst other things. --- doc/emacs/android.texi | 22 +- java/org/gnu/emacs/EmacsNoninteractive.java | 250 +++++++++++--------- src/android-emacs.c | 11 +- src/android.c | 11 +- 4 files changed, 147 insertions(+), 147 deletions(-) diff --git a/doc/emacs/android.texi b/doc/emacs/android.texi index 2d95f5c8fef..edcbb971b98 100644 --- a/doc/emacs/android.texi +++ b/doc/emacs/android.texi @@ -378,20 +378,18 @@ definition documents, so your mileage may vary. @cindex EMACS_CLASS_PATH environment variable, Android Even when the location of the @command{libandroid-emacs.so} command is -known in advance, special configuration is required to run Emacs from +known in advance, special preparation is required to run Emacs from elsewhere than a subprocess of an existing Emacs session, as it must be made to understand the location of resources and shared libraries in or extracted from the installed application package. The OS command @command{pm path org.gnu.emacs} will print the location of the -application package, and the adjacent @file{lib} directory will hold -shared libraries extracted from the same, though the said command must -be invoked in a peculiar manner to satisfy system restrictions on -communication between pseudoterminal devices created by user -applications and system services such as the package manager, which is -to say, with the standard IO streams redirected to a real file or a -pipe. Such values, once established, must be specified in the -environment variables @code{EMACS_CLASS_PATH} and -@code{EMACS_LD_LIBRARY_PATH}, so that this sample shell script may be +application package, though the said command must be invoked in a +peculiar manner to satisfy system restrictions on communication between +pseudoterminal devices created by user applications and system services +such as the package manager, which is to say, with the standard IO +streams redirected to a real file or a pipe. This value, once +established, must be specified in the environment variables +@code{EMACS_CLASS_PATH}, so that this sample shell script may be installed as @code{emacs} in any location that is accessible: @example @@ -400,7 +398,6 @@ installed as @code{emacs} in any location that is accessible: package_name=`pm path org.gnu.emacs 2>/dev/null