Alexander Mueller <Alexander.Mueller@littleblue.de> writes:
> Mark Benedetto King wrote:
> They are removed in subversion, but not necessarily in rapidsvn.
> In fact, I like the enforcement of a identation style on a file
> per file bases.
>
> Subversion uses gnu indentation style. RapidSvn uses bsd indentation
> style. When I am working on code for both projects I wanna get
> indentation right for both.
Right, and you *can*.
You just need something like this in your .emacs.
;;; Begin Subversion development section
(defun my-find-file-hook ()
(if (string-match "svn-work/subversion/" buffer-file-name)
(load "~/svn-work/svn/tools/dev/svn-dev"))
(if (string-match "svn-work/subversion/doc/book" buffer-file-name)
(load "~/svn-work/subversion/doc/book/tools/svnbook")))
(if (string-match "svn-work/rapidsvn" buffer-file-name)
(load "~/svn-work/rapidsvn/path/to/dot-el-file-without-the-dot-el-suffix")))
(add-hook 'find-file-hooks 'my-find-file-hook)
Notice the 3rd if statement.
-Fitz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 15 03:07:39 2002