aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus2025-10-15 10:30:29 +0200
committerMichael Albinus2025-10-15 10:30:29 +0200
commit53fa2b72183e110cc6da3ce172c48e40d3fea3c7 (patch)
tree7168f7b85363aca07ef77b917a160d9f2637a2e4 /etc
parent7845936cbbf8c56a4d57700fbd10246b7288aa01 (diff)
downloademacs-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/NEWS17
1 files changed, 11 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4e27d6fc44e..0b8d624d923 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
329Running the buffer-local version of each of the abnormal hooks 329Running 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'
332will make the respective buffer temporarily current for running the 332will make the respective buffer temporarily current for running the
333hook.' 333hook.
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.
337The buffer-local version of 'window-buffer-change-functions' may be run 337The buffer-local version of 'window-buffer-change-functions' may be run
338twice now: Once for the buffer removed from the respective window and 338twice now: Once for the buffer removed from the respective window and
339once for the buffer now shown in that window. 339once 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".
1887These connection methods are similar to "su" and "sudo", but they use
1888the 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.
1887The host name for Kubernetes connections can be of kind 1892The 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
3320removed in next Emacs release. 3325removed 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.
3324This is an abbreviation for using the name of the keymap as the prefix 3329This is an abbreviation for using the name of the keymap as the prefix
3325command name. E.g. (defvar-keymap foo-map :prefix t) is equivalent to 3330command name. E.g., '(defvar-keymap foo-map :prefix t)' is equivalent
3326(defvar-keymap foo-map :prefix 'foo-map). 3331to '(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