Quantcast
Channel: Active questions tagged tramp - Super User
Viewing all articles
Browse latest Browse all 21

Emacs tramp, version control and toggle-read-only

$
0
0

When using emacs 24 w/tramp on remotely RCS-controlled files, the toggle-read-only function (^X^Q) does not issue the usual "This file is under version control, blah, blah".

Instead it flips the read-only permissions without checking out the file. This is catastrophic, as the next checkout will overwrite changes etc.

How do I get the standard behavour?

I tried

(global-set-key "\C-x\C-q"'vc-toggle-read-only)

which does not really address the issue.

To clarify: I want to have the version control warning when editing remote files - I currently get nothing.

Cheers, alf


Viewing all articles
Browse latest Browse all 21

Trending Articles