diff options
| author | Michael Albinus | 2020-05-16 14:04:07 +0200 |
|---|---|---|
| committer | Michael Albinus | 2020-05-16 14:04:07 +0200 |
| commit | bbbab82a7117e08a77433f5ad39b34f5e03a014c (patch) | |
| tree | 52ce224c6f704873ebbb2c50d9203592c2baea5f /etc | |
| parent | dba8f3783b209fef5be2589528ed43a99a8bab6a (diff) | |
| download | emacs-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/NEWS | 97 |
1 files changed, 54 insertions, 43 deletions
| @@ -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'. |
| 107 | The mode provides refined highlighting of built-in functions, types, | 107 | The mode provides refined highlighting of built-in functions, types, |
| 108 | and variables. | 108 | and 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' | ||
| 114 | These 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 | ||
| 118 | displayed 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. | |||
| 158 | This file was a compatibility kludge which is no longer needed. | 162 | This 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'. |
| 162 | To revert to the previous behaviour, | 166 | To 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. |
| 188 | Its value equals the result of evaluating '(format "%s,eshell" emacs-version)'. | 192 | Its 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 -- | |||
| 240 | GDB-Windows'. | 244 | GDB-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. |
| 244 | Now GDB only uses one source window to display source file by default. | 248 | Now GDB only uses one source window to display source file by default. |
| 245 | Customize 'gdb-max-source-window-count' to use more than one window. | 249 | Customize 'gdb-max-source-window-count' to use more than one window. |
| 246 | Control source file display by 'gdb-display-source-buffer-action'. | 250 | Control source file display by 'gdb-display-source-buffer-action'. |
| @@ -259,11 +263,11 @@ case-insensitive matching of messages when the old behaviour is | |||
| 259 | required, but the recommended solution is to use a correctly matching | 263 | required, but the recommended solution is to use a correctly matching |
| 260 | regexp instead. | 264 | regexp 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 |
| 266 | upper case characters and `search-upper-case' is non-nil. | 270 | upper 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' |
| 268 | to substitute spaces in regexp search. | 272 | to 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'. |
| 278 | This is used when invoking 'texi2dvi' from 'texinfo-tex-buffer'. | 282 | This 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'. |
| 284 | Its default value matches localized abbreviations of the "reply" | 288 | Its default value matches localized abbreviations of the "reply" |
| 285 | prefix on the Subject line in various languages. | 289 | prefix on the Subject line in various languages. |
| 286 | 290 | ||
| @@ -290,13 +294,13 @@ prefix on the Subject line in various languages. | |||
| 290 | These new navigation commands are bound to 'n' and 'p' in | 294 | These 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. |
| 296 | ‘doxygen’ is now valid ‘c-doc-comment-style’ which recognises all | 300 | 'doxygen' is now a valid 'c-doc-comment-style' which recognises all |
| 297 | comment styles supported by Doxygen (namely ‘///’, ‘//!’, ‘/** … */’ | 301 | comment styles supported by Doxygen (namely '///', '//!', '/** … */' |
| 298 | and ‘/*! … */’. ‘gtkdoc’ remains the default for C and C++ modes; to | 302 | and '/*! … */'. 'gtkdoc' remains the default for C and C++ modes; to |
| 299 | use ‘doxygen’ by default one might evaluate: | 303 | use '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 | ||
| 307 | or use it in a custom ‘c-style’. | 311 | or 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. |
| 310 | The new ‘c-lineup-ternary-bodies’ function can be used as a lineup | 314 | The new 'c-lineup-ternary-bodies' function can be used as a lineup |
| 311 | function to align question mark and colon which are part of a ternary | 315 | function to align question mark and colon which are part of a ternary |
| 312 | operator (‘?:’). For example: | 316 | operator ('?:'). 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 | ||
| 317 | To enable, add it to appropriate entries in ‘c-offsets-alist’, e.g.: | 321 | To 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 | ||
| 330 | There is a new defvar 'browse-url-default-handlers' and a defcustom | 334 | There is a new variable 'browse-url-default-handlers' and a user |
| 331 | 'browse-url-handlers' being alists with (REGEXP-OR-PREDICATE | 335 | option '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 |
| 333 | depending on the URL to be browsed. The defvar is for default | 337 | depending on the URL to be browsed. The variable is for default |
| 334 | handlers provided by Emacs itself or external packages, the defcustom | 338 | handlers provided by Emacs itself or external packages, the user |
| 335 | is for the user (and allows for overriding the default handlers). | 339 | option is for the user (and allows for overriding the default |
| 340 | handlers). | ||
| 336 | 341 | ||
| 337 | Formerly, one could do the same by setting | 342 | Formerly, 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 |
| 339 | supported but deprecated. | 344 | supported but deprecated. |
| 340 | 345 | ||
| 341 | *** Categorization of browsing functions in internal vs. external | 346 | *** Categorization of browsing functions in internal vs. external. |
| 342 | 347 | ||
| 343 | All standard browsing functions such as 'browse-url-firefox', | 348 | All 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 | |||
| 355 | The new command 'lisp-data-mode' enables a major mode for buffers | 361 | The new command 'lisp-data-mode' enables a major mode for buffers |
| 356 | composed of Lisp symbolic expressions that do not form a computer | 362 | composed of Lisp symbolic expressions that do not form a computer |
| 357 | program. The '.dir-locals.el' file is automatically set to use this | 363 | program. The ".dir-locals.el" file is automatically set to use this |
| 358 | mode, as are other data files produced by Emacs. | 364 | mode, 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. |
| 440 | Previously, passing ":coding nil" to either of these functions would | 446 | Previously, passing ':coding nil' to either of these functions would |
| 441 | override any non-nil binding for 'coding-system-for-read' and | 447 | override 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 |
| 444 | Emacs depended on the previous behavior; if you really want the | 450 | Emacs depended on the previous behavior; if you really want the |
| 445 | process' coding-system to be nil, use 'set-process-coding-system' | 451 | process' coding-system to be nil, use 'set-process-coding-system' |
| 446 | after the process has been created, or pass in ":coding '(nil nil)". | 452 | after 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. |
| 450 | This allows specifying the coding systems used by a network process | 456 | This allows specifying the coding systems used by a network process |
| 451 | for encoding and decoding without having to bind | 457 | for encoding and decoding without having to bind |
| 452 | coding-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'. |
| 465 | It controls, whether 'process-file' returns a string when a remote | ||
| 466 | process 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. |
| 474 | Emacs can now use the MS-Windows GDI+ library to load and display | 485 | Emacs can now use the MS-Windows GDI+ library to load and display |
| 475 | images in JPEG, PNG, GIF and TIFF formats. This support is enabled | 486 | images in JPEG, PNG, GIF and TIFF formats. This support is enabled |
| 476 | unless Emacs was configured --without-native-image-api. | 487 | unless Emacs was configured '--without-native-image-api'. |
| 477 | 488 | ||
| 478 | This feature is experimental, and needs to be turned on to be used. | 489 | This feature is experimental, and needs to be turned on to be used. |
| 479 | To turn this on, set the variable 'w32-use-native-image-API' to a | 490 | To turn this on, set the variable 'w32-use-native-image-API' to a |
| 480 | non-nil value. Please report any bugs you find while using the native | 491 | non-nil value. Please report any bugs you find while using the native |
| 481 | image API via "M-x report-emacs-bug". | 492 | image API via 'M-x report-emacs-bug'. |
| 482 | 493 | ||
| 483 | 494 | ||
| 484 | ---------------------------------------------------------------------- | 495 | ---------------------------------------------------------------------- |