[PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
[2] == '/' || fname[2] == '\\')) + || (fname[0] == '\\' fname[1] == '\\')); +# else return (*fname == '/' || *fname == '~'); +# endif # endif #endif } -- Corinna Vinschen Cygwin Project Co-Leader Red Hat

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 21:16, Bram Moolenaar wrote: Corinna Vinschen wrote: I got a report on the Cygwin mailing list that the following message appears when trying to open /etc/hosts in vim: E303: Unable to open swap file for /etc/hosts, recovery impossible What happens is this: /etc

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 21:33, Corinna Vinschen wrote: On Oct 13 21:16, Bram Moolenaar wrote: Corinna Vinschen wrote: [...] Below is a patch which works for me, though I'm not sure if it's complete enough to catch all cases. There's code for OS2 in os_unix.c which I reused, plus a new definition

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 21:53, Yakov Lerner wrote: On 10/13/06, Corinna Vinschen [EMAIL PROTECTED] wrote: Hi, I got a report on the Cygwin mailing list that the following message appears when trying to open /etc/hosts in vim: E303: Unable to open swap file for /etc/hosts, recovery impossible What

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 22:02, A.J.Mechelynck wrote: Corinna Vinschen wrote: Interesting enough it works in 6.4 without doing anything similar to my patch does to os_unix.c. What's different in swap file handling between 6.4 and 7.0 so that it works in the former but doesn;t in the latter? Is your 6.4

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread Corinna Vinschen
On Oct 13 16:06, James Vega wrote: On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote: Interesting enough it works in 6.4 without doing anything similar to my patch does to os_unix.c. What's different in swap file handling between 6.4 and 7.0 so that it works in the former

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-16 Thread Corinna Vinschen
to support DOS and POSIX paths simultaneously would be ok. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat

Jump to tag in a file opened in another session

2007-03-06 Thread Corinna Vinschen
-- Corinna Vinschen Cygwin Project Co-Leader Red Hat

Re: Jump to tag in a file opened in another session

2007-03-06 Thread Corinna Vinschen
a file already open in another session I never want to open it for editing in another session. I'm aware that I'd have to use the -r option to recover, should that be necessary. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat

Re: Jump to tag in a file opened in another session

2007-03-07 Thread Corinna Vinschen
On Mar 6 12:42, Yegappan Lakshmanan wrote: On 3/6/07, Corinna Vinschen [EMAIL PROTECTED] wrote: So, the bottom line is, I'm looking for is a way to open a file automatically in r/o mode if I'm going to jump to a tag in that file and the file is opened in another session. You can use