Re: Synchronizing or merging undo across platforms

2011-11-28 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On So, 27 Nov 2011, Bram Moolenaar wrote: > > > > > Christian Brabandt wrote: > > > > > On Wed, November 16, 2011 9:38 pm, Paul wrote: > > > > On Nov 16, 1:42 am, "Christian Brabandt" wrote: > > > > > > > >> Well, first check that > > > >> :echo undofile(@%) points

Re: Synchronizing or merging undo across platforms

2011-11-28 Fir de Conversatie Christian Brabandt
On Mon, November 28, 2011 4:39 pm, Benjamin Fritz wrote: > Wouldn't you just escape the '%' characters? fnameescape() should do > it for you I think. So you should just do: > > :exec "rundo" fnameescape(undofile(@%)) Yes, I think escape(undofile(@%), '%') will work. Sorry for the noise, Christia

Re: Synchronizing or merging undo across platforms

2011-11-28 Fir de Conversatie Benjamin Fritz
On Sun, Nov 27, 2011 at 11:31 PM, Christian Brabandt wrote: > Hi Bram! > > On So, 27 Nov 2011, Bram Moolenaar wrote: > >> >> Christian Brabandt wrote: >> >> > >> > When using a separate 'undodir' directory to store the undofiles, Vim >> > uses the complete path of the file as filename, replacing t

Re: Synchronizing or merging undo across platforms

2011-11-28 Fir de Conversatie Tony Mechelynck
On 28/11/11 06:31, Christian Brabandt wrote: Hi Bram! On So, 27 Nov 2011, Bram Moolenaar wrote: Christian Brabandt wrote: On Wed, November 16, 2011 9:38 pm, Paul wrote: On Nov 16, 1:42 am, "Christian Brabandt" wrote: Well, first check that :echo undofile(@%) points to the same undofile

Re: Synchronizing or merging undo across platforms

2011-11-27 Fir de Conversatie Christian Brabandt
Hi Bram! On So, 27 Nov 2011, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Wed, November 16, 2011 9:38 pm, Paul wrote: > > > On Nov 16, 1:42 am, "Christian Brabandt" wrote: > > > > > >> Well, first check that > > >> :echo undofile(@%) points to the same undofile across each plat

Re: Synchronizing or merging undo across platforms

2011-11-27 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Wed, November 16, 2011 9:38 pm, Paul wrote: > > On Nov 16, 1:42 am, "Christian Brabandt" wrote: > > > >> Well, first check that > >> :echo undofile(@%) points to the same undofile across each platform. > > > > Aha, thanks. That helped me determine that my Vim silen

Re: Synchronizing or merging undo across platforms

2011-11-17 Fir de Conversatie Christian Brabandt
On Wed, November 16, 2011 9:38 pm, Paul wrote: > On Nov 16, 1:42 am, "Christian Brabandt" wrote: > >> Well, first check that >> :echo undofile(@%) points to the same undofile across each platform. > > Aha, thanks. That helped me determine that my Vim silently ignores me > when I try to set relativ