Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Emacs, I set vc-follow-symlinks to t. It follows symlinks into Git repositories with no problem. However, it fails to follow links into Perforce repositories.

I usually set p4-use-p4config-exclusively to t and p4-do-find-file to nil, since my local Perforce repository is slow as molasses and without these settings, every file open within the repository takes an extra 3 seconds or so. Twiddling these variables doesn't make Emacs follow links. Poking around p4.el, I found the variable p4-follow-symlinks, which looked promising. However, setting it to t had no effect.

Is there any way to get Emacs to follow links into Perforce repositories, or am I going to have to roll my own find-file-hook?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.