aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus2020-05-16 14:04:07 +0200
committerMichael Albinus2020-05-16 14:04:07 +0200
commitbbbab82a7117e08a77433f5ad39b34f5e03a014c (patch)
tree52ce224c6f704873ebbb2c50d9203592c2baea5f /etc
parentdba8f3783b209fef5be2589528ed43a99a8bab6a (diff)
downloademacs-bbbab82a7117e08a77433f5ad39b34f5e03a014c.tar.gz
emacs-bbbab82a7117e08a77433f5ad39b34f5e03a014c.zip
Introduce process-file-return-signal-string
* doc/lispref/processes.texi (Synchronous Processes): Describe `process-file-return-signal-string'. * doc/misc/tramp.texi: Adapt Tramp and Emacs version numbers. (Remote processes): Describe `process-file-return-signal-string' and $INSIDE_EMACS. * etc/NEWS: Describe `process-file-return-signal-string'. Fix typos. * lisp/simple.el (process-file-return-signal-string): New user option. * lisp/net/tramp-adb.el (tramp-adb-handle-process-file): * lisp/net/tramp-sh.el (tramp-sh-handle-process-file): Use it. * lisp/net/tramp.el (tramp-get-signal-strings): New defun. * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Adapt test.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS97
1 files changed, 54 insertions, 43 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b93199f362f..303036ece34 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -101,19 +101,23 @@ horizontal movements now stop at the edge of the board.
101 101
102* Changes in Specialized Modes and Packages in Emacs 28.1 102* Changes in Specialized Modes and Packages in Emacs 28.1
103 103
104** EIEIO: 'oset' and 'oset-default' are declared obsolete 104** EIEIO: 'oset' and 'oset-default' are declared obsolete.
105 105
106** New minor mode 'cl-font-lock-built-in-mode' for `lisp-mode' 106** New minor mode 'cl-font-lock-built-in-mode' for `lisp-mode'.
107The mode provides refined highlighting of built-in functions, types, 107The mode provides refined highlighting of built-in functions, types,
108and variables. 108and variables.
109 109
110** archive-mode 110** Archive mode
111
111*** Can now modify members of 'ar' archives. 112*** Can now modify members of 'ar' archives.
112*** Display of summaries unified between backends
113*** New var 'archive-hidden-columns' and cmd 'archive-hideshow-column'
114These let you control which columns are displayed and which are kept hidden
115 113
116** Emacs-Lisp mode 114*** Display of summaries unified between backends.
115
116*** New user option 'archive-hidden-columns' and command
117'archive-hideshow-column'. These let you control which columns are
118displayed and which are kept hidden.
119
120** Emacs Lisp mode
117 121
118*** The mode-line now indicates whether we're using lexical or dynamic scoping. 122*** The mode-line now indicates whether we're using lexical or dynamic scoping.
119 123
@@ -158,7 +162,7 @@ this user option.
158This file was a compatibility kludge which is no longer needed. 162This file was a compatibility kludge which is no longer needed.
159 163
160--- 164---
161** 'lisp-mode' now uses 'common-lisp-indent-function'. 165** Lisp mode now uses 'common-lisp-indent-function'.
162To revert to the previous behaviour, 166To revert to the previous behaviour,
163'(setq lisp-indent-function 'lisp-indent-function)' from 'lisp-mode-hook'. 167'(setq lisp-indent-function 'lisp-indent-function)' from 'lisp-mode-hook'.
164 168
@@ -184,7 +188,7 @@ their backends.
184** Eshell 188** Eshell
185 189
186--- 190---
187*** Environment variable INSIDE_EMACS is now copied to subprocesses. 191*** Environment variable 'INSIDE_EMACS' is now copied to subprocesses.
188Its value equals the result of evaluating '(format "%s,eshell" emacs-version)'. 192Its value equals the result of evaluating '(format "%s,eshell" emacs-version)'.
189 193
190** Tramp 194** Tramp
@@ -240,7 +244,7 @@ it after GDB quits. A toggle button is also provided under 'Gud --
240GDB-Windows'. 244GDB-Windows'.
241 245
242+++ 246+++
243*** gdb-mi now has a better logic for displaying source buffers 247*** gdb-mi now has a better logic for displaying source buffers.
244Now GDB only uses one source window to display source file by default. 248Now GDB only uses one source window to display source file by default.
245Customize 'gdb-max-source-window-count' to use more than one window. 249Customize 'gdb-max-source-window-count' to use more than one window.
246Control source file display by 'gdb-display-source-buffer-action'. 250Control source file display by 'gdb-display-source-buffer-action'.
@@ -259,11 +263,11 @@ case-insensitive matching of messages when the old behaviour is
259required, but the recommended solution is to use a correctly matching 263required, but the recommended solution is to use a correctly matching
260regexp instead. 264regexp instead.
261 265
262** Hi-Lock 266** Hi Lock mode
263 267
264--- 268---
265*** Matching in 'hi-lock-mode' is case-sensitive when regexp contains 269*** Matching in 'hi-lock-mode' is case-sensitive when regexp contains
266upper case characters and `search-upper-case' is non-nil. 270upper case characters and 'search-upper-case' is non-nil.
267'highlight-phrase' also uses 'search-whitespace-regexp' 271'highlight-phrase' also uses 'search-whitespace-regexp'
268to substitute spaces in regexp search. 272to substitute spaces in regexp search.
269 273
@@ -274,13 +278,13 @@ The new default value is 2000000 (2 megabytes).
274** Texinfo 278** Texinfo
275 279
276--- 280---
277*** New customizable option 'texinfo-texi2dvi-options'. 281*** New user option 'texinfo-texi2dvi-options'.
278This is used when invoking 'texi2dvi' from 'texinfo-tex-buffer'. 282This is used when invoking 'texi2dvi' from 'texinfo-tex-buffer'.
279 283
280** Rmail 284** Rmail
281 285
282--- 286---
283*** New customizable option 'rmail-re-abbrevs'. 287*** New user option 'rmail-re-abbrevs'.
284Its default value matches localized abbreviations of the "reply" 288Its default value matches localized abbreviations of the "reply"
285prefix on the Subject line in various languages. 289prefix on the Subject line in various languages.
286 290
@@ -290,13 +294,13 @@ prefix on the Subject line in various languages.
290These new navigation commands are bound to 'n' and 'p' in 294These new navigation commands are bound to 'n' and 'p' in
291'apropos-mode'. 295'apropos-mode'.
292 296
293** cc-mode 297** CC mode
294 298
295*** Added support for Doxygen documentation style. 299*** Added support for Doxygen documentation style.
296doxygen is now valid c-doc-comment-style which recognises all 300'doxygen' is now a valid 'c-doc-comment-style' which recognises all
297comment styles supported by Doxygen (namely ///, //!, /** … */ 301comment styles supported by Doxygen (namely '///', '//!', '/** … */'
298and /*! … */. gtkdoc remains the default for C and C++ modes; to 302and '/*! … */'. 'gtkdoc' remains the default for C and C++ modes; to
299use doxygen by default one might evaluate: 303use 'doxygen' by default one might evaluate:
300 304
301 (setq-default c-doc-comment-style 305 (setq-default c-doc-comment-style
302 '((java-mode . javadoc) 306 '((java-mode . javadoc)
@@ -304,17 +308,17 @@ use ‘doxygen’ by default one might evaluate:
304 (c-mode . doxygen) 308 (c-mode . doxygen)
305 (c++-mode . doxygen))) 309 (c++-mode . doxygen)))
306 310
307or use it in a custom c-style. 311or use it in a custom 'c-style'.
308 312
309*** Added support to line up ? and : of a ternary operator. 313*** Added support to line up '?' and ':' of a ternary operator.
310The new c-lineup-ternary-bodies function can be used as a lineup 314The new 'c-lineup-ternary-bodies' function can be used as a lineup
311function to align question mark and colon which are part of a ternary 315function to align question mark and colon which are part of a ternary
312operator (?:). For example: 316operator ('?:'). For example:
313 317
314 return arg % 2 == 0 ? arg / 2 318 return arg % 2 == 0 ? arg / 2
315 : (3 * arg + 1); 319 : (3 * arg + 1);
316 320
317To enable, add it to appropriate entries in c-offsets-alist, e.g.: 321To enable, add it to appropriate entries in 'c-offsets-alist', e.g.:
318 322
319 (c-set-offset 'arglist-cont '(c-lineup-ternary-bodies 323 (c-set-offset 'arglist-cont '(c-lineup-ternary-bodies
320 c-lineup-gcc-asm-reg)) 324 c-lineup-gcc-asm-reg))
@@ -325,20 +329,21 @@ To enable, add it to appropriate entries in ‘c-offsets-alist’, e.g.:
325 329
326** browse-url 330** browse-url
327 331
328*** Added support for custom URL handlers 332*** Added support for custom URL handlers.
329 333
330There is a new defvar 'browse-url-default-handlers' and a defcustom 334There is a new variable 'browse-url-default-handlers' and a user
331'browse-url-handlers' being alists with (REGEXP-OR-PREDICATE 335option 'browse-url-handlers' being alists with '(REGEXP-OR-PREDICATE
332. FUNCTION) entries allowing to define different browsing FUNCTIONs 336. FUNCTION)' entries allowing to define different browsing FUNCTIONs
333depending on the URL to be browsed. The defvar is for default 337depending on the URL to be browsed. The variable is for default
334handlers provided by Emacs itself or external packages, the defcustom 338handlers provided by Emacs itself or external packages, the user
335is for the user (and allows for overriding the default handlers). 339option is for the user (and allows for overriding the default
340handlers).
336 341
337Formerly, one could do the same by setting 342Formerly, one could do the same by setting
338'browse-url-browser-function' to such an alist. This usage is still 343'browse-url-browser-function' to such an alist. This usage is still
339supported but deprecated. 344supported but deprecated.
340 345
341*** Categorization of browsing functions in internal vs. external 346*** Categorization of browsing functions in internal vs. external.
342 347
343All standard browsing functions such as 'browse-url-firefox', 348All standard browsing functions such as 'browse-url-firefox',
344'browse-url-mail', or 'eww' have been categorized into internal (URL 349'browse-url-mail', or 'eww' have been categorized into internal (URL
@@ -351,10 +356,11 @@ either an internal or external browser.
351 356
352* New Modes and Packages in Emacs 28.1 357* New Modes and Packages in Emacs 28.1
353 358
354*** Lisp Data mode 359** Lisp Data mode
360
355The new command 'lisp-data-mode' enables a major mode for buffers 361The new command 'lisp-data-mode' enables a major mode for buffers
356composed of Lisp symbolic expressions that do not form a computer 362composed of Lisp symbolic expressions that do not form a computer
357program. The '.dir-locals.el' file is automatically set to use this 363program. The ".dir-locals.el" file is automatically set to use this
358mode, as are other data files produced by Emacs. 364mode, as are other data files produced by Emacs.
359 365
360 366
@@ -436,23 +442,28 @@ such as "2020-01-15T16:12:21-08:00".
436** The new function 'dom-remove-attribute' has been added. 442** The new function 'dom-remove-attribute' has been added.
437 443
438--- 444---
439** 'make-network-process', 'make-serial-process' :coding behavior change. 445** 'make-network-process', 'make-serial-process' ':coding' behavior change.
440Previously, passing ":coding nil" to either of these functions would 446Previously, passing ':coding nil' to either of these functions would
441override any non-nil binding for 'coding-system-for-read' and 447override any non-nil binding for 'coding-system-for-read' and
442'coding-system-for-write'. For consistency with 'make-process' and 448'coding-system-for-write'. For consistency with 'make-process' and
443'make-pipe-process', passing ":coding nil" is now ignored. No code in 449'make-pipe-process', passing ':coding nil' is now ignored. No code in
444Emacs depended on the previous behavior; if you really want the 450Emacs depended on the previous behavior; if you really want the
445process' coding-system to be nil, use 'set-process-coding-system' 451process' coding-system to be nil, use 'set-process-coding-system'
446after the process has been created, or pass in ":coding '(nil nil)". 452after the process has been created, or pass in ':coding '(nil nil)'.
447 453
448+++ 454+++
449** 'open-network-stream' now accepts a :coding argument. 455** 'open-network-stream' now accepts a ':coding' argument.
450This allows specifying the coding systems used by a network process 456This allows specifying the coding systems used by a network process
451for encoding and decoding without having to bind 457for encoding and decoding without having to bind
452coding-system-for-{read,write} or call 'set-process-coding-system'. 458'coding-system-for-{read,write}' or call 'set-process-coding-system'.
459
460+++
461** 'open-gnutls-stream' now also accepts a ':coding' argument.
453 462
454+++ 463+++
455** 'open-gnutls-stream' now also accepts a :coding argument. 464** New user option 'process-file-return-signal-string'.
465It controls, whether 'process-file' returns a string when a remote
466process is interrupted by a signal.
456 467
457 468
458* Changes in Emacs 28.1 on Non-Free Operating Systems 469* Changes in Emacs 28.1 on Non-Free Operating Systems
@@ -473,12 +484,12 @@ current IME activation status.
473** On MS-Windows, Emacs can now use the native image API to display images. 484** On MS-Windows, Emacs can now use the native image API to display images.
474Emacs can now use the MS-Windows GDI+ library to load and display 485Emacs can now use the MS-Windows GDI+ library to load and display
475images in JPEG, PNG, GIF and TIFF formats. This support is enabled 486images in JPEG, PNG, GIF and TIFF formats. This support is enabled
476unless Emacs was configured --without-native-image-api. 487unless Emacs was configured '--without-native-image-api'.
477 488
478This feature is experimental, and needs to be turned on to be used. 489This feature is experimental, and needs to be turned on to be used.
479To turn this on, set the variable 'w32-use-native-image-API' to a 490To turn this on, set the variable 'w32-use-native-image-API' to a
480non-nil value. Please report any bugs you find while using the native 491non-nil value. Please report any bugs you find while using the native
481image API via "M-x report-emacs-bug". 492image API via 'M-x report-emacs-bug'.
482 493
483 494
484---------------------------------------------------------------------- 495----------------------------------------------------------------------