Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2301

TRAMP is ‘Transparent Remote (file) Access, Multiple Protocol’ for editing remote files from Emacs.

2 votes
1 answer
509 views

How to prevent tramp from blocking when entering password?

The problem is if I use TRAMP to try to open say C-x C-f /sudo::/tmp/foo, emacs completely blocks on waiting for me to enter my password. … Is there a way to have tramp mode not completely block? Maybe a custom command prompting for the password that sticks it in tramp's password cache so that tramp's command to ask doesn't fire? …
Joseph Garvin's user avatar
1 vote
Accepted

How to prevent tramp from blocking when entering password?

Turns out this is an issue with projectile mode in emacs 24+. See here. Quick fix is to eval the following: (setq projectile-mode-line " Projectile")
Joseph Garvin's user avatar
8 votes
2 answers
786 views

eshell-visual-commands with tramp

But I'd like them to work when using eshell's tramp integration too. …
Joseph Garvin's user avatar
0 votes
0 answers
75 views

reopen-with-sudo command that works through tramp?

I have tried to define this command: (defun etc-reopen-with-sudo () (interactive) (let* ((vec (tramp-dissect-file-name (buffer-file-name (current-buffer)))) (method (tramp-file-name-method vec … )) (user (tramp-file-name-user vec)) (host (tramp-file-name-host vec)) (localname (tramp-file-name-localname vec))) (message "localname=%s" localname) (find-alternate-file …
Joseph Garvin's user avatar