Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-12-16 Thread Darren Dale
On Wednesday 28 November 2007 1:12:00 pm John Hunter wrote: > On Nov 28, 2007 11:46 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > > I assume there is also some sort of C and/or C++ mode, and similar hook > > additions are needed for them--correct? Or is there a hierarchy of > > modes, in which case

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread Darren Dale
On Wednesday 28 November 2007 01:12:00 pm John Hunter wrote: > On Nov 28, 2007 11:46 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > > I assume there is also some sort of C and/or C++ mode, and similar hook > > additions are needed for them--correct? Or is there a hierarchy of > > modes, in which cas

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread John Hunter
On Nov 28, 2007 12:22 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > So, I think perhaps this description in CODING_GUIDE is backward, but > wanted to double check before I fix it. Yep, good catch. I updated the doc. I think I have it this time... Please do not commit lines with trailing

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread Michael Droettboom
I think the emacs version dependency in the CODING_GUIDE may be backward. AFAIK, "write-file-functions" is the current one to use for emacs 22 (the latest released version) and beyond. "local-write-file-hooks" is the old deprecated way. The docstring for local-write-file-hooks is: "This variabl

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread John Hunter
On Nov 28, 2007 11:46 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > I assume there is also some sort of C and/or C++ mode, and similar hook > additions are needed for them--correct? Or is there a hierarchy of > modes, in which case a single hook could go at a higher level? I don't know about a hi

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread Eric Firing
John Hunter wrote: > On Nov 21, 2007 1:52 PM, Andrew Straw <[EMAIL PROTECTED]> wrote: >> Thanks, that works, but unforunately only on emacs21 but not xemacs 21. >> Looks like I'll now have to find a way to do the one thing in emacs that >> keeps me using xemacs: goto-line bound to M-g. (Any quick t

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread Michael Droettboom
For those using emacs-22.1 (apparently local-write-file-hooks is deprecated and didn't work for me) ---> (setq python-mode-hook '(lambda () (add-hook 'write-file-functions 'delete-trailing-whitespace) )) Maybe we should do a big trailing whitespace removal en masse once we move

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-28 Thread John Hunter
On Nov 21, 2007 1:52 PM, Andrew Straw <[EMAIL PROTECTED]> wrote: > Thanks, that works, but unforunately only on emacs21 but not xemacs 21. > Looks like I'll now have to find a way to do the one thing in emacs that > keeps me using xemacs: goto-line bound to M-g. (Any quick tips appreciated.) I thi

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-26 Thread Christopher Barker
Eric Firing wrote: > Christopher Barker wrote: >> Not that I've used one myself, but wouldn't this be most easily >> accomplished with a SVN commit hook > That would be ideal, but it looks like sourceforge doesn't allow this, > so we would have to move the project to another host. > > http://s

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-26 Thread Eric Firing
Christopher Barker wrote: > Not that I've used one myself, but wouldn't this be most easily > accomplished with a SVN commit hook -- i.e. whitespace would be stripped > on every commit, rather than trying to enforce all developers setting up > their editors correctly? > > -Chris > > > That

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-26 Thread Christopher Barker
Not that I've used one myself, but wouldn't this be most easily accomplished with a SVN commit hook -- i.e. whitespace would be stripped on every commit, rather than trying to enforce all developers setting up their editors correctly? -Chris -- Christopher Barker, Ph.D. Oceanographer Emerg

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-22 Thread Eric Firing
Andrew Straw wrote: > Eric Firing wrote: >> Yes, I understand, and I am sorry--but I hope it is one-time pain to >> avoid continuing pin-pricks. If svn ignored trailing whitespace, then >> there would be no problem; I could continue to use an editor that >> removes it, and you could continue to

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Andrew Straw
Eric Firing wrote: > Yes, I understand, and I am sorry--but I hope it is one-time pain to > avoid continuing pin-pricks. If svn ignored trailing whitespace, then > there would be no problem; I could continue to use an editor that > removes it, and you could continue to use editors that gratuito

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Fernando Perez
[oops, meant on-list ] On Nov 21, 2007 12:52 PM, Andrew Straw <[EMAIL PROTECTED]> wrote: > Thanks, that works, but unforunately only on emacs21 but not xemacs 21. > Looks like I'll now have to find a way to do the one thing in emacs that > keeps me using xemacs: goto-line bound to M-g. (Any quick

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Andrew Straw
Thanks, that works, but unforunately only on emacs21 but not xemacs 21. Looks like I'll now have to find a way to do the one thing in emacs that keeps me using xemacs: goto-line bound to M-g. (Any quick tips appreciated.) -Andrew John Hunter wrote: > On Nov 21, 2007 1:37 PM, Andrew Straw <[EMAIL

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread John Hunter
On Nov 21, 2007 1:37 PM, Andrew Straw <[EMAIL PROTECTED]> wrote: > Can you give me a pointer about what exactly you did? Just now, I just > discovered a whitespace-cleanup and a whitespace-visual-mode. It'd be > nice if there was something that automatically showed just tabs and > end-of-line whit

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-21 Thread Andrew Straw
John Hunter wrote: > ( I configured my emacs to detect > whitespace) and suspect I may have been a trailing whitespace > contributer, Can you give me a pointer about what exactly you did? Just now, I just discovered a whitespace-cleanup and a whitespace-visual-mode. It'd be nice if there was somet

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-20 Thread Eric Firing
Michael Droettboom wrote: > It made my merge from trunk to branch a little harder than it had to be, > too. > > I understand the drive for this, but there is that downside as well. John, Mike, Yes, I understand, and I am sorry--but I hope it is one-time pain to avoid continuing pin-pricks. If

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-20 Thread Michael Droettboom
It made my merge from trunk to branch a little harder than it had to be, too. I understand the drive for this, but there is that downside as well. Cheers, Mike John Hunter wrote: > On Nov 18, 2007 10:10 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: >> On Nov 18, 2007 11:33 AM, Eric Firing <[EMA

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-20 Thread John Hunter
On Nov 18, 2007 10:10 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > > On Nov 18, 2007 11:33 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > > Trailing whitespace introduces noise--sometimes a *lot* of noise--into > > svn changesets. I would very much appreciate it if everyone would try > > to elimi

Re: [matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-18 Thread Jarrod Millman
On Nov 18, 2007 11:33 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Trailing whitespace introduces noise--sometimes a *lot* of noise--into > svn changesets. I would very much appreciate it if everyone would try > to eliminate trailing whitespace before committing any changes to svn. > (And also eli

[matplotlib-devel] [Fwd: Nabble - War on trailing whitespace]

2007-11-18 Thread Eric Firing
All, Trailing whitespace introduces noise--sometimes a *lot* of noise--into svn changesets. I would very much appreciate it if everyone would try to eliminate trailing whitespace before committing any changes to svn. (And also eliminate hard tabs--I haven't seen many new ones creeping in, bu