From: Stefan Kangas Date: Sat, 29 Jun 2024 12:15:34 +0000 (+0200) Subject: ; * etc/NEWS: Move an item to "Startup Changes" X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~830 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f5f7343ac41fc348ec187cf9fb32cdb7f803369c;p=emacs.git ; * etc/NEWS: Move an item to "Startup Changes" --- 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