[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 3742 - in clients/rapidsvn/trunk/src: . tests/svncpp svncpp

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2002-11-15 03:06:46 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.