You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christopher Ness <ch...@nesser.org> on 2005/07/25 18:30:57 UTC
Subversion Developer Environments
Hi *,
After reading the tail of the "[PATCH] Issue 1628" thread I have some
questions.
I am wondering what other developers on the list use for their
development environment.
I currently use good ol' `vim`, but the documentation suggests Emacs and
the svn-dev.el file. Does vim have a equivalent style file?
I have been poking around in subversion/libsvn-subr/date.c lately and am
wondering if many people actually use `indent` to clean up their white
space style? How do you do this to only a subset of the file?
After running indent it seems to change a lot of other lines - as shown
below - which I haven't touched. Obviously this is bad and makes me
think that there are not many people using `indent`.
[nesscg@summer libsvn_subr]$ svn diff date.c | cat -n | tail -n 1
57 || expt.tm_sec > 60)
[nesscg@summer libsvn_subr]$ indent date.c && svn diff date.c | cat -n |
tail -n 1
319 apr_err = apr_time_exp_gmt_get (result, &expt);
What do you code with, without deteriorating this thread into an editor
war. ;)
Care to share any hints, tips, quirks, etc?
Cheers,
Chris
--
Wireless Group
McMaster University
summer
14:04:48 up 3 days, 23:58, 3 users, load average: 0.20, 0.15, 0.17
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Subversion Developer Environments
Posted by Julian Foad <ju...@btopenworld.com>.
Christopher Ness wrote:
>
> I currently use good ol' `vim`, but the documentation suggests Emacs and
> the svn-dev.el file. Does vim have a equivalent style file?
I use vim and have this in my ~/.vimrc to help with indentation:
"For Subversion, always expand tabs, and use One True Brace Style(?)
:au BufReadPost */src/subversion/* set expandtab
:au BufReadPost */src/subversion/*.[ch] set cindent cinoptions=>2s,{1s,n-1s,t0,(0
:au BufReadPost Makefile* set noexpandtab softtabstop=0 shiftwidth=8
Vim's "=" function can be used to reindent a selected range of lines.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Subversion Developer Environments
Posted by John Peacock <jp...@rowman.com>.
Christopher Ness wrote:
> I currently use good ol' `vim`, but the documentation suggests Emacs and
> the svn-dev.el file. Does vim have a equivalent style file?
Yup, right next door at svn-dev.vim...
John
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org