diff options
| author | Michael Albinus | 2025-10-15 10:30:29 +0200 |
|---|---|---|
| committer | Michael Albinus | 2025-10-15 10:30:29 +0200 |
| commit | 53fa2b72183e110cc6da3ce172c48e40d3fea3c7 (patch) | |
| tree | 7168f7b85363aca07ef77b917a160d9f2637a2e4 /etc | |
| parent | 7845936cbbf8c56a4d57700fbd10246b7288aa01 (diff) | |
| download | emacs-53fa2b72183e110cc6da3ce172c48e40d3fea3c7.tar.gz emacs-53fa2b72183e110cc6da3ce172c48e40d3fea3c7.zip | |
Add support for su-rs and sudo-rs programs
* doc/misc/tramp.texi (Inline methods): Add "surs" and "sudors" methods.
* etc/NEWS: Add optional "surs" and "sudors" Tramp methods.
Presentational fixes and improvements.
* lisp/net/tramp-cmds.el (tramp-file-name-with-method): Add "surs"
and "sudors" to :type. Adapt :version.
* lisp/net/tramp-sh.el (tramp-enable-surs-method)
(tramp-enable-sudors-method): New defuns
(tramp-sh-handle-expand-file-name): Add "surs" and "sudors" in check.
* lisp/net/tramp.el (tramp-methods): Adapt docstring.
* lisp/comint.el (comint-password-prompt-regexp):
* test/lisp/comint-tests.el (comint-testsuite-password-strings):
Add su-rs and sudo-rs password prompts.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 17 |
1 files changed, 11 insertions, 6 deletions
| @@ -327,13 +327,13 @@ deleted implicitly by functions like 'kill-buffer', 'bury-buffer' and | |||
| 327 | +++ | 327 | +++ |
| 328 | *** Buffer-local window change functions run in their buffers now. | 328 | *** Buffer-local window change functions run in their buffers now. |
| 329 | Running the buffer-local version of each of the abnormal hooks | 329 | Running the buffer-local version of each of the abnormal hooks |
| 330 | 'window-buffer-change-functions', 'window-size-change-functions' | 330 | 'window-buffer-change-functions', 'window-size-change-functions', |
| 331 | 'window-selection-change-functions' and 'window-state-change-functions' | 331 | 'window-selection-change-functions' and 'window-state-change-functions' |
| 332 | will make the respective buffer temporarily current for running the | 332 | will make the respective buffer temporarily current for running the |
| 333 | hook.' | 333 | hook. |
| 334 | 334 | ||
| 335 | +++ | 335 | +++ |
| 336 | *** 'window-buffer-change-functions' is run for removed buffer too. | 336 | *** 'window-buffer-change-functions' is run for removed buffers too. |
| 337 | The buffer-local version of 'window-buffer-change-functions' may be run | 337 | The buffer-local version of 'window-buffer-change-functions' may be run |
| 338 | twice now: Once for the buffer removed from the respective window and | 338 | twice now: Once for the buffer removed from the respective window and |
| 339 | once for the buffer now shown in that window. | 339 | once for the buffer now shown in that window. |
| @@ -1883,6 +1883,11 @@ default, "sudo". | |||
| 1883 | *** 'tramp-file-name-with-method' can now be set as connection-local variable. | 1883 | *** 'tramp-file-name-with-method' can now be set as connection-local variable. |
| 1884 | 1884 | ||
| 1885 | +++ | 1885 | +++ |
| 1886 | *** New optional connection methods "surs" and "sudors". | ||
| 1887 | These connection methods are similar to "su" and "sudo", but they use | ||
| 1888 | the modern 'su-rs' and 'sudo-rs' commands. | ||
| 1889 | |||
| 1890 | +++ | ||
| 1886 | *** Connection method "kubernetes" supports now optional namespace. | 1891 | *** Connection method "kubernetes" supports now optional namespace. |
| 1887 | The host name for Kubernetes connections can be of kind | 1892 | The host name for Kubernetes connections can be of kind |
| 1888 | [CONTAINER.]POD[%NAMESPACE], in order to specify the namespace to be | 1893 | [CONTAINER.]POD[%NAMESPACE], in order to specify the namespace to be |
| @@ -3320,10 +3325,10 @@ The column number is no longer available; the line number will be | |||
| 3320 | removed in next Emacs release. | 3325 | removed in next Emacs release. |
| 3321 | 3326 | ||
| 3322 | +++ | 3327 | +++ |
| 3323 | ** defvar-keymap can now take a ':prefix t' option. | 3328 | ** 'defvar-keymap' can now take a ':prefix t' option. |
| 3324 | This is an abbreviation for using the name of the keymap as the prefix | 3329 | This is an abbreviation for using the name of the keymap as the prefix |
| 3325 | command name. E.g. (defvar-keymap foo-map :prefix t) is equivalent to | 3330 | command name. E.g., '(defvar-keymap foo-map :prefix t)' is equivalent |
| 3326 | (defvar-keymap foo-map :prefix 'foo-map). | 3331 | to '(defvar-keymap foo-map :prefix 'foo-map)'. |
| 3327 | 3332 | ||
| 3328 | 3333 | ||
| 3329 | * Changes in Emacs 31.1 on Non-Free Operating Systems | 3334 | * Changes in Emacs 31.1 on Non-Free Operating Systems |