@@ -2420,24 +2420,26 @@ You could define your own search directories like this:
2420
2420
2421
2421
@lisp
2422
2422
@group
2423
- (connection-local-set-profile-variables 'remote-path-with-bin
2424
- '((tramp-remote-path . ("~/bin" tramp-default-remote-path))))
2423
+ (connection-local-set-profile-variables
2424
+ 'remote-path-with-bin
2425
+ '((tramp-remote-path . ("~/bin" tramp-default-remote-path))))
2425
2426
@end group
2426
2427
2427
2428
@group
2428
- (connection-local-set-profile-variables 'remote-path-with-apply-pub-bin
2429
- '((tramp-remote-path . ("/appli/pub/bin" tramp-default-remote-path))))
2429
+ (connection-local-set-profile-variables
2430
+ 'remote-path-with-apply-pub-bin
2431
+ '((tramp-remote-path . ("/appli/pub/bin" tramp-default-remote-path))))
2430
2432
@end group
2431
2433
2432
2434
@group
2433
2435
(connection-local-set-profiles
2434
- '(:application tramp :machine "randomhost") 'remote-path-with-bin)
2436
+ '(:application tramp :machine "randomhost") 'remote-path-with-bin)
2435
2437
@end group
2436
2438
2437
2439
@group
2438
2440
(connection-local-set-profiles
2439
- '(:application tramp :user "anotheruser" :machine "anotherhost")
2440
- 'remote-path-with-apply-pub-bin)
2441
+ '(:application tramp :user "anotheruser" :machine "anotherhost")
2442
+ 'remote-path-with-apply-pub-bin)
2441
2443
@end group
2442
2444
@end lisp
2443
2445
@@ -2554,18 +2556,18 @@ example below:
2554
2556
@group
2555
2557
(customize-set-variable
2556
2558
'tramp-password-prompt-regexp
2557
- (concat
2558
- "^.*"
2559
- (regexp-opt
2560
- '("passphrase" "Passphrase"
2561
- ;; English
2562
- "password" "Password"
2563
- ;; Deutsch
2564
- "passwort" "Passwort"
2565
- ;; Français
2566
- "mot de passe" "Mot de passe")
2567
- t)
2568
- ".*:\0? *"))
2559
+ (concat
2560
+ "^.*"
2561
+ (regexp-opt
2562
+ '("passphrase" "Passphrase"
2563
+ ;; English
2564
+ "password" "Password"
2565
+ ;; Deutsch
2566
+ "passwort" "Passwort"
2567
+ ;; Français
2568
+ "mot de passe" "Mot de passe")
2569
+ t)
2570
+ ".*:\0? *"))
2569
2571
@end group
2570
2572
@end lisp
2571
2573
@@ -2872,8 +2874,8 @@ allows you to set the @option{ControlPath} provided the variable
2872
2874
(customize-set-variable
2873
2875
'tramp-ssh-controlmaster-options
2874
2876
(concat
2875
- "-o ControlPath=/tmp/ssh-ControlPath-%%r@@ %%h:%%p "
2876
- "-o ControlMaster=auto -o ControlPersist=yes"))
2877
+ "-o ControlPath=/tmp/ssh-ControlPath-%%r@@ %%h:%%p "
2878
+ "-o ControlMaster=auto -o ControlPersist=yes"))
2877
2879
@end group
2878
2880
@end lisp
2879
2881
@@ -4155,29 +4157,29 @@ of @code{explicit-shell-file-name} for different remote hosts.
4155
4157
@lisp
4156
4158
@group
4157
4159
(connection-local-set-profile-variables
4158
- 'remote-bash
4159
- '((explicit-shell-file-name . "/bin/bash")
4160
- (explicit-bash-args . ("-i"))))
4160
+ 'remote-bash
4161
+ '((explicit-shell-file-name . "/bin/bash")
4162
+ (explicit-bash-args . ("-i"))))
4161
4163
@end group
4162
4164
4163
4165
@group
4164
4166
(connection-local-set-profile-variables
4165
- 'remote-ksh
4166
- '((explicit-shell-file-name . "/bin/ksh")
4167
- (explicit-ksh-args . ("-i"))))
4167
+ 'remote-ksh
4168
+ '((explicit-shell-file-name . "/bin/ksh")
4169
+ (explicit-ksh-args . ("-i"))))
4168
4170
@end group
4169
4171
4170
4172
@group
4171
4173
(connection-local-set-profiles
4172
- '(:application tramp :protocol "ssh" :machine "localhost")
4173
- 'remote-bash)
4174
+ '(:application tramp :protocol "ssh" :machine "localhost")
4175
+ 'remote-bash)
4174
4176
@end group
4175
4177
4176
4178
@group
4177
4179
(connection-local-set-profiles
4178
- `(:application tramp :protocol "sudo"
4179
- :user "root" :machine ,(system-name))
4180
- 'remote-ksh)
4180
+ `(:application tramp :protocol "sudo"
4181
+ :user "root" :machine ,(system-name))
4182
+ 'remote-ksh)
4181
4183
@end group
4182
4184
@end lisp
4183
4185
@@ -4536,8 +4538,8 @@ which must be set to a non-@code{nil} value. Example:
4536
4538
@lisp
4537
4539
@group
4538
4540
(connection-local-set-profile-variables
4539
- 'remote-direct-async-process
4540
- '((tramp-direct-async-process . t)))
4541
+ 'remote-direct-async-process
4542
+ '((tramp-direct-async-process . t)))
4541
4543
@end group
4542
4544
4543
4545
@group
@@ -5047,6 +5049,9 @@ To subscribe to the mailing list, visit:
5047
5049
@uref {https://lists.gnu.org/mailman/listinfo/tramp-devel/ , the
5048
5050
@value {tramp } Mail Subscription Page }.
5049
5051
5052
+ There is also a @acronym {Gmane } group, mirroring the mailing list.
5053
+ Its name is @samp {gmane.emacs.tramp }.
5054
+
5050
5055
@ifset installchapter
5051
5056
Before sending a bug report, run the test suite first @ref {Testing }.
5052
5057
@end ifset
@@ -5222,8 +5227,8 @@ connections, apply the following code.
5222
5227
@lisp
5223
5228
@group
5224
5229
(connection-local-set-profile-variables
5225
- 'my-auto-save-profile
5226
- '((buffer-auto-save-file-name . nil)))
5230
+ 'my-auto-save-profile
5231
+ '((buffer-auto-save-file-name . nil)))
5227
5232
@end group
5228
5233
5229
5234
@group
@@ -5519,8 +5524,8 @@ Since @w{Emacs 30}, these options can be set connection-local.
5519
5524
@lisp
5520
5525
@group
5521
5526
(connection-local-set-profile-variables
5522
- 'my-dired-profile
5523
- '((dired-listing-switches . "-ahl")))
5527
+ 'my-dired-profile
5528
+ '((dired-listing-switches . "-ahl")))
5524
5529
@end group
5525
5530
5526
5531
@group
@@ -5552,10 +5557,26 @@ readable
5552
5557
5553
5558
@vindex tramp-use-file-attributes
5554
5559
Internally, @value {tramp } uses commands like @command {ls } or
5555
- @command {stat } in order to determine file permissions. On some file
5556
- systems, like @acronym {GPFS }, they don't report proper information.
5557
- Set the user option @code {tramp-use-file-attributes } to @code {nil } in
5558
- such a case.
5560
+ @command {stat } in order to determine file permissions. When
5561
+ @acronym {NFS4_ACL } is enabled on the remote host, more fine-grained
5562
+ information is used which cannot be reflected by the permission string
5563
+ returned from those commands. Set the user option
5564
+ @code {tramp-use-file-attributes } to @code {nil } in such a case. This
5565
+ can also be set host-wise, like in:
5566
+
5567
+ @lisp
5568
+ @group
5569
+ (connection-local-set-profile-variables
5570
+ 'my-file-attributes-profile
5571
+ '((tramp-use-file-attributes . nil)))
5572
+ @end group
5573
+
5574
+ @group
5575
+ (connection-local-set-profiles
5576
+ '(:application tramp :machine "remotehost")
5577
+ 'my-file-attributes-profile)
5578
+ @end group
5579
+ @end lisp
5559
5580
5560
5581
5561
5582
@item
0 commit comments