diff options
| author | Michael Albinus | 2019-10-11 13:50:34 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-10-11 13:50:34 +0200 |
| commit | b259bf63c77a01f3035813b3485fbd9ad7ae02a0 (patch) | |
| tree | 3db31d97dd4043464f73dcda7d1e65848fe10f1e | |
| parent | 552c20ce39cd513cd6d0c847a1d291554143ba9a (diff) | |
| download | emacs-b259bf63c77a01f3035813b3485fbd9ad7ae02a0.tar.gz emacs-b259bf63c77a01f3035813b3485fbd9ad7ae02a0.zip | |
Cleanup Tramp
* lisp/net/tramp-archive.el (tramp-archive-gvfs-host): Fix docstring.
* lisp/net/tramp.el: Remove :group from all defcustoms.
(tramp-encoding-shell): Fix docstring.
(tramp-error): Remove text properties from error message.
| -rw-r--r-- | lisp/net/tramp-archive.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 6 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 44 |
3 files changed, 7 insertions, 45 deletions
diff --git a/lisp/net/tramp-archive.el b/lisp/net/tramp-archive.el index 82fd327770b..84dba32cb62 100644 --- a/lisp/net/tramp-archive.el +++ b/lisp/net/tramp-archive.el | |||
| @@ -409,7 +409,7 @@ used `tramp-file-name' structure for tramp-gvfs, and the file | |||
| 409 | name of a local copy, if any.") | 409 | name of a local copy, if any.") |
| 410 | 410 | ||
| 411 | (defsubst tramp-archive-gvfs-host (archive) | 411 | (defsubst tramp-archive-gvfs-host (archive) |
| 412 | "Return host name of ARCHIVE as used in GVFS for mounting" | 412 | "Return host name of ARCHIVE as used in GVFS for mounting." |
| 413 | (url-hexify-string (tramp-gvfs-url-file-name archive))) | 413 | (url-hexify-string (tramp-gvfs-url-file-name archive))) |
| 414 | 414 | ||
| 415 | (defun tramp-archive-dissect-file-name (name) | 415 | (defun tramp-archive-dissect-file-name (name) |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 2e57f7e1c71..be6d29e768c 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -4662,13 +4662,11 @@ Goes through the list `tramp-inline-compress-commands'." | |||
| 4662 | ;; Host. | 4662 | ;; Host. |
| 4663 | (string-match-p | 4663 | (string-match-p |
| 4664 | (or (eval (nth 0 item)) "") | 4664 | (or (eval (nth 0 item)) "") |
| 4665 | (or (tramp-file-name-host-port (car target-alist)) | 4665 | (or (tramp-file-name-host-port (car target-alist)) "")) |
| 4666 | "")) | ||
| 4667 | ;; User. | 4666 | ;; User. |
| 4668 | (string-match-p | 4667 | (string-match-p |
| 4669 | (or (eval (nth 1 item)) "") | 4668 | (or (eval (nth 1 item)) "") |
| 4670 | (or (tramp-file-name-user-domain (car target-alist)) | 4669 | (or (tramp-file-name-user-domain (car target-alist)) ""))) |
| 4671 | ""))) | ||
| 4672 | (if (null proxy) | 4670 | (if (null proxy) |
| 4673 | ;; No more hops needed. | 4671 | ;; No more hops needed. |
| 4674 | (setq choices nil) | 4672 | (setq choices nil) |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index b17e4a787cc..d0d8f276ca2 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -90,7 +90,6 @@ | |||
| 90 | (defcustom tramp-mode t | 90 | (defcustom tramp-mode t |
| 91 | "Whether Tramp is enabled. | 91 | "Whether Tramp is enabled. |
| 92 | If it is set to nil, all remote file names are used literally." | 92 | If it is set to nil, all remote file names are used literally." |
| 93 | :group 'tramp | ||
| 94 | :type 'boolean) | 93 | :type 'boolean) |
| 95 | 94 | ||
| 96 | (defcustom tramp-verbose 3 | 95 | (defcustom tramp-verbose 3 |
| @@ -108,7 +107,6 @@ Any level x includes messages for all levels 1 .. x-1. The levels are | |||
| 108 | 8 connection properties | 107 | 8 connection properties |
| 109 | 9 test commands | 108 | 9 test commands |
| 110 | 10 traces (huge)." | 109 | 10 traces (huge)." |
| 111 | :group 'tramp | ||
| 112 | :type 'integer) | 110 | :type 'integer) |
| 113 | 111 | ||
| 114 | (defcustom tramp-backup-directory-alist nil | 112 | (defcustom tramp-backup-directory-alist nil |
| @@ -122,7 +120,6 @@ name prefix \(method, user, host) of file. | |||
| 122 | 120 | ||
| 123 | gives the same backup policy for Tramp files on their hosts like the | 121 | gives the same backup policy for Tramp files on their hosts like the |
| 124 | policy for local files." | 122 | policy for local files." |
| 125 | :group 'tramp | ||
| 126 | :type '(repeat (cons (regexp :tag "Regexp matching filename") | 123 | :type '(repeat (cons (regexp :tag "Regexp matching filename") |
| 127 | (directory :tag "Backup directory name")))) | 124 | (directory :tag "Backup directory name")))) |
| 128 | 125 | ||
| @@ -130,7 +127,6 @@ policy for local files." | |||
| 130 | "Put auto-save files in this directory, if set. | 127 | "Put auto-save files in this directory, if set. |
| 131 | The idea is to use a local directory so that auto-saving is faster. | 128 | The idea is to use a local directory so that auto-saving is faster. |
| 132 | This setting has precedence over `auto-save-file-name-transforms'." | 129 | This setting has precedence over `auto-save-file-name-transforms'." |
| 133 | :group 'tramp | ||
| 134 | :type '(choice (const :tag "Use default" nil) | 130 | :type '(choice (const :tag "Use default" nil) |
| 135 | (directory :tag "Auto save directory name"))) | 131 | (directory :tag "Auto save directory name"))) |
| 136 | 132 | ||
| @@ -140,8 +136,8 @@ This setting has precedence over `auto-save-file-name-transforms'." | |||
| 140 | (or (tramp-compat-funcall 'w32-shell-name) "/bin/sh")) | 136 | (or (tramp-compat-funcall 'w32-shell-name) "/bin/sh")) |
| 141 | "Use this program for encoding and decoding commands on the local host. | 137 | "Use this program for encoding and decoding commands on the local host. |
| 142 | This shell is used to execute the encoding and decoding command on the | 138 | This shell is used to execute the encoding and decoding command on the |
| 143 | local host, so if you want to use `~' in those commands, you should | 139 | local host, so if you want to use \"~\" in those commands, you should |
| 144 | choose a shell here which groks tilde expansion. `/bin/sh' normally | 140 | choose a shell here which groks tilde expansion. \"/bin/sh\" normally |
| 145 | does not understand tilde expansion. | 141 | does not understand tilde expansion. |
| 146 | 142 | ||
| 147 | For encoding and decoding, commands like the following are executed: | 143 | For encoding and decoding, commands like the following are executed: |
| @@ -157,7 +153,6 @@ If the shell must be forced to be interactive, see | |||
| 157 | Note that this variable is not used for remote commands. There are | 153 | Note that this variable is not used for remote commands. There are |
| 158 | mechanisms in tramp.el which automatically determine the right shell to | 154 | mechanisms in tramp.el which automatically determine the right shell to |
| 159 | use for the remote host." | 155 | use for the remote host." |
| 160 | :group 'tramp | ||
| 161 | :type '(file :must-match t)) | 156 | :type '(file :must-match t)) |
| 162 | 157 | ||
| 163 | ;; Suppress `shell-file-name' for w32 systems. | 158 | ;; Suppress `shell-file-name' for w32 systems. |
| @@ -166,7 +161,6 @@ use for the remote host." | |||
| 166 | (if (tramp-compat-funcall 'w32-shell-dos-semantics) "/c" "-c")) | 161 | (if (tramp-compat-funcall 'w32-shell-dos-semantics) "/c" "-c")) |
| 167 | "Use this switch together with `tramp-encoding-shell' for local commands. | 162 | "Use this switch together with `tramp-encoding-shell' for local commands. |
| 168 | See the variable `tramp-encoding-shell' for more information." | 163 | See the variable `tramp-encoding-shell' for more information." |
| 169 | :group 'tramp | ||
| 170 | :type 'string) | 164 | :type 'string) |
| 171 | 165 | ||
| 172 | ;; Suppress `shell-file-name' for w32 systems. | 166 | ;; Suppress `shell-file-name' for w32 systems. |
| @@ -176,7 +170,6 @@ See the variable `tramp-encoding-shell' for more information." | |||
| 176 | "Use this switch together with `tramp-encoding-shell' for interactive shells. | 170 | "Use this switch together with `tramp-encoding-shell' for interactive shells. |
| 177 | See the variable `tramp-encoding-shell' for more information." | 171 | See the variable `tramp-encoding-shell' for more information." |
| 178 | :version "24.1" | 172 | :version "24.1" |
| 179 | :group 'tramp | ||
| 180 | :type '(choice (const nil) string)) | 173 | :type '(choice (const nil) string)) |
| 181 | 174 | ||
| 182 | (defvar tramp-methods nil | 175 | (defvar tramp-methods nil |
| @@ -377,7 +370,6 @@ useful only in combination with `tramp-default-proxies-alist'.") | |||
| 377 | "Default method to use for transferring files. | 370 | "Default method to use for transferring files. |
| 378 | See `tramp-methods' for possibilities. | 371 | See `tramp-methods' for possibilities. |
| 379 | Also see `tramp-default-method-alist'." | 372 | Also see `tramp-default-method-alist'." |
| 380 | :group 'tramp | ||
| 381 | :type 'string) | 373 | :type 'string) |
| 382 | 374 | ||
| 383 | (defcustom tramp-default-method-alist nil | 375 | (defcustom tramp-default-method-alist nil |
| @@ -392,7 +384,6 @@ If the file name does not specify the user, lookup is done using the | |||
| 392 | empty string for the user name. | 384 | empty string for the user name. |
| 393 | 385 | ||
| 394 | See `tramp-methods' for a list of possibilities for METHOD." | 386 | See `tramp-methods' for a list of possibilities for METHOD." |
| 395 | :group 'tramp | ||
| 396 | :type '(repeat (list (choice :tag "Host regexp" regexp sexp) | 387 | :type '(repeat (list (choice :tag "Host regexp" regexp sexp) |
| 397 | (choice :tag "User regexp" regexp sexp) | 388 | (choice :tag "User regexp" regexp sexp) |
| 398 | (choice :tag "Method name" string (const nil))))) | 389 | (choice :tag "Method name" string (const nil))))) |
| @@ -406,7 +397,6 @@ It is nil by default; otherwise settings in configuration files like | |||
| 406 | \"~/.ssh/config\" would be overwritten. Also see `tramp-default-user-alist'. | 397 | \"~/.ssh/config\" would be overwritten. Also see `tramp-default-user-alist'. |
| 407 | 398 | ||
| 408 | This variable is regarded as obsolete, and will be removed soon." | 399 | This variable is regarded as obsolete, and will be removed soon." |
| 409 | :group 'tramp | ||
| 410 | :type '(choice (const nil) string)) | 400 | :type '(choice (const nil) string)) |
| 411 | 401 | ||
| 412 | (defcustom tramp-default-user-alist nil | 402 | (defcustom tramp-default-user-alist nil |
| @@ -419,7 +409,6 @@ matches, the variable `tramp-default-user' takes effect. | |||
| 419 | 409 | ||
| 420 | If the file name does not specify the method, lookup is done using the | 410 | If the file name does not specify the method, lookup is done using the |
| 421 | empty string for the method name." | 411 | empty string for the method name." |
| 422 | :group 'tramp | ||
| 423 | :type '(repeat (list (choice :tag "Method regexp" regexp sexp) | 412 | :type '(repeat (list (choice :tag "Method regexp" regexp sexp) |
| 424 | (choice :tag " Host regexp" regexp sexp) | 413 | (choice :tag " Host regexp" regexp sexp) |
| 425 | (choice :tag " User name" string (const nil))))) | 414 | (choice :tag " User name" string (const nil))))) |
| @@ -427,7 +416,6 @@ empty string for the method name." | |||
| 427 | (defcustom tramp-default-host (system-name) | 416 | (defcustom tramp-default-host (system-name) |
| 428 | "Default host to use for transferring files. | 417 | "Default host to use for transferring files. |
| 429 | Useful for su and sudo methods mostly." | 418 | Useful for su and sudo methods mostly." |
| 430 | :group 'tramp | ||
| 431 | :type 'string) | 419 | :type 'string) |
| 432 | 420 | ||
| 433 | (defcustom tramp-default-host-alist nil | 421 | (defcustom tramp-default-host-alist nil |
| @@ -440,7 +428,6 @@ matches, the variable `tramp-default-host' takes effect. | |||
| 440 | 428 | ||
| 441 | If the file name does not specify the method, lookup is done using the | 429 | If the file name does not specify the method, lookup is done using the |
| 442 | empty string for the method name." | 430 | empty string for the method name." |
| 443 | :group 'tramp | ||
| 444 | :version "24.4" | 431 | :version "24.4" |
| 445 | :type '(repeat (list (choice :tag "Method regexp" regexp sexp) | 432 | :type '(repeat (list (choice :tag "Method regexp" regexp sexp) |
| 446 | (choice :tag " User regexp" regexp sexp) | 433 | (choice :tag " User regexp" regexp sexp) |
| @@ -466,14 +453,12 @@ carries the non-nil text property `tramp-ad-hoc'. | |||
| 466 | HOST, USER or PROXY could also be Lisp forms, which will be | 453 | HOST, USER or PROXY could also be Lisp forms, which will be |
| 467 | evaluated. The result must be a string or nil, which is | 454 | evaluated. The result must be a string or nil, which is |
| 468 | interpreted as a regular expression which always matches." | 455 | interpreted as a regular expression which always matches." |
| 469 | :group 'tramp | ||
| 470 | :type '(repeat (list (choice :tag "Host regexp" regexp sexp) | 456 | :type '(repeat (list (choice :tag "Host regexp" regexp sexp) |
| 471 | (choice :tag "User regexp" regexp sexp) | 457 | (choice :tag "User regexp" regexp sexp) |
| 472 | (choice :tag " Proxy name" string (const nil))))) | 458 | (choice :tag " Proxy name" string (const nil))))) |
| 473 | 459 | ||
| 474 | (defcustom tramp-save-ad-hoc-proxies nil | 460 | (defcustom tramp-save-ad-hoc-proxies nil |
| 475 | "Whether to save ad-hoc proxies persistently." | 461 | "Whether to save ad-hoc proxies persistently." |
| 476 | :group 'tramp | ||
| 477 | :version "24.3" | 462 | :version "24.3" |
| 478 | :type 'boolean) | 463 | :type 'boolean) |
| 479 | 464 | ||
| @@ -486,7 +471,6 @@ a registered shell like \"rbash\". Those hosts can be used as | |||
| 486 | proxies only, see `tramp-default-proxies-alist'. If the local | 471 | proxies only, see `tramp-default-proxies-alist'. If the local |
| 487 | host runs a registered shell, it shall be added to this list, too." | 472 | host runs a registered shell, it shall be added to this list, too." |
| 488 | :version "24.3" | 473 | :version "24.3" |
| 489 | :group 'tramp | ||
| 490 | :type '(repeat (regexp :tag "Host regexp"))) | 474 | :type '(repeat (regexp :tag "Host regexp"))) |
| 491 | 475 | ||
| 492 | (defcustom tramp-local-host-regexp | 476 | (defcustom tramp-local-host-regexp |
| @@ -498,7 +482,6 @@ host runs a registered shell, it shall be added to this list, too." | |||
| 498 | "Host names which are regarded as local host. | 482 | "Host names which are regarded as local host. |
| 499 | If the local host runs a chrooted environment, set this to nil." | 483 | If the local host runs a chrooted environment, set this to nil." |
| 500 | :version "27.1" | 484 | :version "27.1" |
| 501 | :group 'tramp | ||
| 502 | :type '(choice (const :tag "Chrooted environment" nil) | 485 | :type '(choice (const :tag "Chrooted environment" nil) |
| 503 | (regexp :tag "Host regexp"))) | 486 | (regexp :tag "Host regexp"))) |
| 504 | 487 | ||
| @@ -551,14 +534,12 @@ the remote shell.") | |||
| 551 | (if (memq system-type '(windows-nt)) "\r\n" "\n") | 534 | (if (memq system-type '(windows-nt)) "\r\n" "\n") |
| 552 | "String used for end of line in local processes." | 535 | "String used for end of line in local processes." |
| 553 | :version "24.1" | 536 | :version "24.1" |
| 554 | :group 'tramp | ||
| 555 | :type 'string) | 537 | :type 'string) |
| 556 | 538 | ||
| 557 | (defcustom tramp-rsh-end-of-line "\n" | 539 | (defcustom tramp-rsh-end-of-line "\n" |
| 558 | "String used for end of line in rsh connections. | 540 | "String used for end of line in rsh connections. |
| 559 | I don't think this ever needs to be changed, so please tell me about it | 541 | I don't think this ever needs to be changed, so please tell me about it |
| 560 | if you need to change this." | 542 | if you need to change this." |
| 561 | :group 'tramp | ||
| 562 | :type 'string) | 543 | :type 'string) |
| 563 | 544 | ||
| 564 | (defcustom tramp-login-prompt-regexp | 545 | (defcustom tramp-login-prompt-regexp |
| @@ -567,7 +548,6 @@ if you need to change this." | |||
| 567 | The regexp should match at end of buffer. | 548 | The regexp should match at end of buffer. |
| 568 | 549 | ||
| 569 | Sometimes the prompt is reported to look like \"login as:\"." | 550 | Sometimes the prompt is reported to look like \"login as:\"." |
| 570 | :group 'tramp | ||
| 571 | :type 'regexp) | 551 | :type 'regexp) |
| 572 | 552 | ||
| 573 | (defcustom tramp-shell-prompt-pattern | 553 | (defcustom tramp-shell-prompt-pattern |
| @@ -589,7 +569,6 @@ which should work well in many cases. | |||
| 589 | 569 | ||
| 590 | This regexp must match both `tramp-initial-end-of-output' and | 570 | This regexp must match both `tramp-initial-end-of-output' and |
| 591 | `tramp-end-of-output'." | 571 | `tramp-end-of-output'." |
| 592 | :group 'tramp | ||
| 593 | :type 'regexp) | 572 | :type 'regexp) |
| 594 | 573 | ||
| 595 | (defcustom tramp-password-prompt-regexp | 574 | (defcustom tramp-password-prompt-regexp |
| @@ -599,7 +578,6 @@ The regexp should match at end of buffer. | |||
| 599 | 578 | ||
| 600 | The `sudo' program appears to insert a `^@' character into the prompt." | 579 | The `sudo' program appears to insert a `^@' character into the prompt." |
| 601 | :version "24.4" | 580 | :version "24.4" |
| 602 | :group 'tramp | ||
| 603 | :type 'regexp) | 581 | :type 'regexp) |
| 604 | 582 | ||
| 605 | (defcustom tramp-wrong-passwd-regexp | 583 | (defcustom tramp-wrong-passwd-regexp |
| @@ -624,7 +602,6 @@ The `sudo' program appears to insert a `^@' character into the prompt." | |||
| 624 | "\\).*") | 602 | "\\).*") |
| 625 | "Regexp matching a `login failed' message. | 603 | "Regexp matching a `login failed' message. |
| 626 | The regexp should match at end of buffer." | 604 | The regexp should match at end of buffer." |
| 627 | :group 'tramp | ||
| 628 | :type 'regexp) | 605 | :type 'regexp) |
| 629 | 606 | ||
| 630 | (defcustom tramp-yesno-prompt-regexp | 607 | (defcustom tramp-yesno-prompt-regexp |
| @@ -638,7 +615,6 @@ The regexp should match at end of buffer." | |||
| 638 | The confirmation should be done with yes or no. | 615 | The confirmation should be done with yes or no. |
| 639 | The regexp should match at end of buffer. | 616 | The regexp should match at end of buffer. |
| 640 | See also `tramp-yn-prompt-regexp'." | 617 | See also `tramp-yn-prompt-regexp'." |
| 641 | :group 'tramp | ||
| 642 | :type 'regexp) | 618 | :type 'regexp) |
| 643 | 619 | ||
| 644 | (defcustom tramp-yn-prompt-regexp | 620 | (defcustom tramp-yn-prompt-regexp |
| @@ -651,7 +627,6 @@ See also `tramp-yn-prompt-regexp'." | |||
| 651 | The confirmation should be done with y or n. | 627 | The confirmation should be done with y or n. |
| 652 | The regexp should match at end of buffer. | 628 | The regexp should match at end of buffer. |
| 653 | See also `tramp-yesno-prompt-regexp'." | 629 | See also `tramp-yesno-prompt-regexp'." |
| 654 | :group 'tramp | ||
| 655 | :type 'regexp) | 630 | :type 'regexp) |
| 656 | 631 | ||
| 657 | (defcustom tramp-terminal-prompt-regexp | 632 | (defcustom tramp-terminal-prompt-regexp |
| @@ -663,7 +638,6 @@ See also `tramp-yesno-prompt-regexp'." | |||
| 663 | "Regular expression matching all terminal setting prompts. | 638 | "Regular expression matching all terminal setting prompts. |
| 664 | The regexp should match at end of buffer. | 639 | The regexp should match at end of buffer. |
| 665 | The answer will be provided by `tramp-action-terminal', which see." | 640 | The answer will be provided by `tramp-action-terminal', which see." |
| 666 | :group 'tramp | ||
| 667 | :type 'regexp) | 641 | :type 'regexp) |
| 668 | 642 | ||
| 669 | (defcustom tramp-operation-not-permitted-regexp | 643 | (defcustom tramp-operation-not-permitted-regexp |
| @@ -672,7 +646,6 @@ The answer will be provided by `tramp-action-terminal', which see." | |||
| 672 | "Regular expression matching keep-date problems in (s)cp operations. | 646 | "Regular expression matching keep-date problems in (s)cp operations. |
| 673 | Copying has been performed successfully already, so this message can | 647 | Copying has been performed successfully already, so this message can |
| 674 | be ignored safely." | 648 | be ignored safely." |
| 675 | :group 'tramp | ||
| 676 | :type 'regexp) | 649 | :type 'regexp) |
| 677 | 650 | ||
| 678 | (defcustom tramp-copy-failed-regexp | 651 | (defcustom tramp-copy-failed-regexp |
| @@ -684,7 +657,6 @@ be ignored safely." | |||
| 684 | t) | 657 | t) |
| 685 | "\\)\\s-*") | 658 | "\\)\\s-*") |
| 686 | "Regular expression matching copy problems in (s)cp operations." | 659 | "Regular expression matching copy problems in (s)cp operations." |
| 687 | :group 'tramp | ||
| 688 | :type 'regexp) | 660 | :type 'regexp) |
| 689 | 661 | ||
| 690 | (defcustom tramp-process-alive-regexp | 662 | (defcustom tramp-process-alive-regexp |
| @@ -694,7 +666,6 @@ In fact this expression is empty by intention, it will be used only to | |||
| 694 | check regularly the status of the associated process. | 666 | check regularly the status of the associated process. |
| 695 | The answer will be provided by `tramp-action-process-alive', | 667 | The answer will be provided by `tramp-action-process-alive', |
| 696 | `tramp-action-out-of-band', which see." | 668 | `tramp-action-out-of-band', which see." |
| 697 | :group 'tramp | ||
| 698 | :type 'regexp) | 669 | :type 'regexp) |
| 699 | 670 | ||
| 700 | (defconst tramp-temp-name-prefix "tramp." | 671 | (defconst tramp-temp-name-prefix "tramp." |
| @@ -726,7 +697,6 @@ It can have the following values: | |||
| 726 | 697 | ||
| 727 | Do not change the value by `setq', it must be changed only via | 698 | Do not change the value by `setq', it must be changed only via |
| 728 | Customize. See also `tramp-change-syntax'." | 699 | Customize. See also `tramp-change-syntax'." |
| 729 | :group 'tramp | ||
| 730 | :version "26.1" | 700 | :version "26.1" |
| 731 | :package-version '(Tramp . "2.3.3") | 701 | :package-version '(Tramp . "2.3.3") |
| 732 | :type '(choice (const :tag "Default" default) | 702 | :type '(choice (const :tag "Default" default) |
| @@ -1041,7 +1011,6 @@ initial value is overwritten by the car of `tramp-file-name-structure'.") | |||
| 1041 | (defcustom tramp-ignored-file-name-regexp nil | 1011 | (defcustom tramp-ignored-file-name-regexp nil |
| 1042 | "Regular expression matching file names that are not under Tramp’s control." | 1012 | "Regular expression matching file names that are not under Tramp’s control." |
| 1043 | :version "27.1" | 1013 | :version "27.1" |
| 1044 | :group 'tramp | ||
| 1045 | :type '(choice (const nil) regexp)) | 1014 | :type '(choice (const nil) regexp)) |
| 1046 | 1015 | ||
| 1047 | (defconst tramp-completion-file-name-regexp-default | 1016 | (defconst tramp-completion-file-name-regexp-default |
| @@ -1186,7 +1155,6 @@ in the third line of the code. | |||
| 1186 | 1155 | ||
| 1187 | Please raise a bug report via \"M-x tramp-bug\" if your system needs | 1156 | Please raise a bug report via \"M-x tramp-bug\" if your system needs |
| 1188 | this variable to be set as well." | 1157 | this variable to be set as well." |
| 1189 | :group 'tramp | ||
| 1190 | :type '(choice (const nil) integer)) | 1158 | :type '(choice (const nil) integer)) |
| 1191 | 1159 | ||
| 1192 | ;; Logging in to a remote host normally requires obtaining a pty. But | 1160 | ;; Logging in to a remote host normally requires obtaining a pty. But |
| @@ -1197,7 +1165,6 @@ this variable to be set as well." | |||
| 1197 | "Overrides `process-connection-type' for connections from Tramp. | 1165 | "Overrides `process-connection-type' for connections from Tramp. |
| 1198 | Tramp binds `process-connection-type' to the value given here before | 1166 | Tramp binds `process-connection-type' to the value given here before |
| 1199 | opening a connection to a remote host." | 1167 | opening a connection to a remote host." |
| 1200 | :group 'tramp | ||
| 1201 | :type '(choice (const nil) (const t) (const pty))) | 1168 | :type '(choice (const nil) (const t) (const pty))) |
| 1202 | 1169 | ||
| 1203 | (defcustom tramp-connection-timeout 60 | 1170 | (defcustom tramp-connection-timeout 60 |
| @@ -1205,7 +1172,6 @@ opening a connection to a remote host." | |||
| 1205 | This can be overwritten for different connection types in `tramp-methods'. | 1172 | This can be overwritten for different connection types in `tramp-methods'. |
| 1206 | 1173 | ||
| 1207 | The timeout does not include the time reading a password." | 1174 | The timeout does not include the time reading a password." |
| 1208 | :group 'tramp | ||
| 1209 | :version "24.4" | 1175 | :version "24.4" |
| 1210 | :type 'integer) | 1176 | :type 'integer) |
| 1211 | 1177 | ||
| @@ -1219,7 +1185,6 @@ necessary, when several out-of-order copy operations are | |||
| 1219 | performed, or when several asynchronous processes will be started | 1185 | performed, or when several asynchronous processes will be started |
| 1220 | in a short time frame. In those cases it is recommended to | 1186 | in a short time frame. In those cases it is recommended to |
| 1221 | let-bind this variable." | 1187 | let-bind this variable." |
| 1222 | :group 'tramp | ||
| 1223 | :version "24.4" | 1188 | :version "24.4" |
| 1224 | :type '(choice (const nil) integer)) | 1189 | :type '(choice (const nil) integer)) |
| 1225 | 1190 | ||
| @@ -1232,7 +1197,6 @@ more than `tramp-completion-reread-directory-timeout' seconds | |||
| 1232 | have been gone since last remote command execution. A value of t | 1197 | have been gone since last remote command execution. A value of t |
| 1233 | would require an immediate reread during filename completion, nil | 1198 | would require an immediate reread during filename completion, nil |
| 1234 | means to use always cached values for the directory contents." | 1199 | means to use always cached values for the directory contents." |
| 1235 | :group 'tramp | ||
| 1236 | :type '(choice (const nil) (const t) integer)) | 1200 | :type '(choice (const nil) (const t) integer)) |
| 1237 | 1201 | ||
| 1238 | ;;; Internal Variables: | 1202 | ;;; Internal Variables: |
| @@ -1842,7 +1806,8 @@ signal identifier to be raised, remaining arguments passed to | |||
| 1842 | (list signal | 1806 | (list signal |
| 1843 | (get signal 'error-message) | 1807 | (get signal 'error-message) |
| 1844 | (apply #'format-message fmt-string arguments))))) | 1808 | (apply #'format-message fmt-string arguments))))) |
| 1845 | (signal signal (list (apply #'format-message fmt-string arguments))))) | 1809 | (signal signal (list (substring-no-properties |
| 1810 | (apply #'format-message fmt-string arguments)))))) | ||
| 1846 | 1811 | ||
| 1847 | (defsubst tramp-error-with-buffer | 1812 | (defsubst tramp-error-with-buffer |
| 1848 | (buf vec-or-proc signal fmt-string &rest arguments) | 1813 | (buf vec-or-proc signal fmt-string &rest arguments) |
| @@ -2798,7 +2763,6 @@ for all methods. Resulting data are derived from default settings." | |||
| 2798 | "Whether to use `auth-source-search' for completion of user and host names. | 2763 | "Whether to use `auth-source-search' for completion of user and host names. |
| 2799 | This could be disturbing, if it requires a password / passphrase, | 2764 | This could be disturbing, if it requires a password / passphrase, |
| 2800 | as for \"~/.authinfo.gpg\"." | 2765 | as for \"~/.authinfo.gpg\"." |
| 2801 | :group 'tramp | ||
| 2802 | :version "27.1" | 2766 | :version "27.1" |
| 2803 | :type 'boolean) | 2767 | :type 'boolean) |
| 2804 | 2768 | ||