From f5f7343ac41fc348ec187cf9fb32cdb7f803369c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 29 Jun 2024 14:15:34 +0200 Subject: [PATCH] ; * etc/NEWS: Move an item to "Startup Changes" --- etc/NEWS | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a49dc1e7100..d658c7a5463 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -71,6 +71,16 @@ arranges for Emacs to be the default application for the 'org-protocol' URI scheme. See the Org mode manual, Info node "(org) Protocols" for more details. +--- +** New variable lets Lisp code read emacsclient arguments. +When '--eval' is passed to emacsclient and Emacs is evaluating each +argument, the new variable 'server-eval-args-left' is set to those +arguments not yet evaluated. It can be used by Lisp code to 'pop' +arguments and process them by the function called in the '--eval' +expression, which is useful when those arguments contain arbitrary +characters that otherwise might require elaborate and error-prone +escaping (to protect them from the shell). + * Incompatible Changes in Emacs 30.1 @@ -417,17 +427,6 @@ to enter the file name you want to modify. This user option names directories in which Emacs will treat all directory-local variables as safe. -** Emacs Server and Client - ---- -*** 'server-eval-args-left' can be used to pop and eval subsequent args. -When '--eval' is passed to emacsclient and Emacs is evaluating each -argument, this variable is set to those arguments not yet evaluated. -It can be used to 'pop' arguments and process them by the function -called in the '--eval' expression, which is useful when those -arguments contain arbitrary characters that otherwise might require -elaborate and error-prone escaping (to protect them from the shell). - +++ ** CL Print