help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Following symlinks into a Perforce sandbox


From: Sean McAfee
Subject: Following symlinks into a Perforce sandbox
Date: Wed, 08 Dec 2010 15:35:02 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

I recently started keeping various Emacs Lisp source files (including my
.emacs file) in a git repository.  I symlink from their original
locations into the repo, set vc-follow-symlinks to t, and whenever I
edit those files, I end up editing the "real" file in the repository.
Very convenient.

I have another Elisp source file that contains code relevant only to my
job.  My employer provides a Perforce repository, so I figured it made
the most sense to use that.  However, when I edit the symlink that now
points to the repository file, Emacs doesn't follow the link.

Setting p4-follow-symlinks to t didn't help.  Neither did adding

;; -*- find-file-visit-truename: t; -*-

to the top of the file.  Is there any way to do what I want?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]