Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-28 Fir de Conversatie Xavier de Gaye
On Fri, May 28, 2010 at 2:59 AM, Tony Mechelynck wrote: ... I would add not only .*.swp but even .*.sw? (to ignore .swo .swn etc.), src/auto/config.mk (which is regenerated by configure from the config.mk.dist and a couple of others) and runtime/doc/tags (which is regenerated by make

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-28 Fir de Conversatie Markus Heidelberg
Tony Mechelynck, 2010-05-28 02:59: On 28/05/10 01:54, Markus Heidelberg wrote: You can still add something like .*.swp to .hgignore for the swap files. I would add not only .*.swp but even .*.sw? (to ignore .swo .swn etc.), Yes, that would make sense. src/auto/config.mk (which is

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-27 Fir de Conversatie Ben Fritz
On May 25, 3:37 pm, Bram Moolenaar b...@moolenaar.net wrote: This is moot though, a file edited by several people is very unusual, and if it does happen an undo file won't be very useful.  Better not enable the undofile option for this kind of file. I haven't had time to try out the Vim 7.3

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-27 Fir de Conversatie Christian J. Robinson
On Thu, 27 May 2010, Ben Fritz wrote: Is persistent undo a buffer-local option? It sounds like perhaps it should be, so that users can easily turn it on and off on a per-file basis. I agree that this is an option that should be possible to set locally. Setting it with :set should default to

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-27 Fir de Conversatie James Vega
On Thu, May 27, 2010 at 11:02 AM, Ben Fritz fritzophre...@gmail.com wrote: On May 25, 3:37 pm, Bram Moolenaar b...@moolenaar.net wrote: This is moot though, a file edited by several people is very unusual, and if it does happen an undo file won't be very useful.  Better not enable the undofile

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-27 Fir de Conversatie Markus Heidelberg
Bram Moolenaar, 2010-05-26 22:59: Tony Mechelynck wrote: On 25/05/10 22:37, Bram Moolenaar wrote: [...] The undo files are hidden, all version control systems I know will ignore them. E.g. swap files are normally not a problem. [...] For a counterexample, Mercurial tracks

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-27 Fir de Conversatie Tony Mechelynck
On 28/05/10 01:54, Markus Heidelberg wrote: Bram Moolenaar, 2010-05-26 22:59: Tony Mechelynck wrote: On 25/05/10 22:37, Bram Moolenaar wrote: [...] The undo files are hidden, all version control systems I know will ignore them. E.g. swap files are normally not a problem. [...] For a

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-26 Fir de Conversatie Tony Mechelynck
On 25/05/10 22:37, Bram Moolenaar wrote: [...] The undo files are hidden, all version control systems I know will ignore them. E.g. swap files are normally not a problem. [...] For a counterexample, Mercurial tracks files regardless of an initial dot: .hgignore is specifically mentioned as

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-26 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: On 25/05/10 22:37, Bram Moolenaar wrote: [...] The undo files are hidden, all version control systems I know will ignore them. E.g. swap files are normally not a problem. [...] For a counterexample, Mercurial tracks files regardless of an initial dot:

undo file location was: Re: Update on Vim 7.3 status

2010-05-25 Fir de Conversatie Milan Vancura
When editing a file over a network or a removable media (USB stick) it's very easy to misplace the undo file. Also, when a file is edited by several people, or the same person with different login names or from different systems, the undo file would go in the wrong place. Also problems with

Re: undo file location was: Re: Update on Vim 7.3 status

2010-05-25 Fir de Conversatie Mikolaj Machowski
On Tuesday 25 May 2010 13:11:34 Milan Vancura wrote: When editing a file over a network or a removable media (USB stick) it's very easy to misplace the undo file. Also, when a file is edited by several people, or the same person with different login names or from different systems, the

undo file location was: Re: Update on Vim 7.3 status

2010-05-25 Fir de Conversatie Bram Moolenaar
Milan Vancura wrote: When editing a file over a network or a removable media (USB stick) it's very easy to misplace the undo file. Also, when a file is edited by several people, or the same person with different login names or from different systems, the undo file would go in the wrong