.xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Sylvain Bertrand
Hi, Is this possible to add .xht and .xhtml file extensions for xhtml filetype detection? Sylvain

Re: .xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Christian J. Robinson
On Sun, 25 Feb 2007, Sylvain Bertrand wrote: Hi, Is this possible to add .xht and .xhtml file extensions for xhtml filetype detection? Yes, see :help new-filetype. I think this should be added to the Vim distribution, and often wonder how it got left out of Vim7. - Christian --

Re: .xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Sylvain Bertrand
I did add support for those extensions manually in file in filetype.vim. I wonder the same thing than you. Maybe in the next patchset if we reach the top devs. Sylvain 2007/2/25, Christian J. Robinson [EMAIL PROTECTED]: On Sun, 25 Feb 2007, Sylvain Bertrand wrote: Hi, Is this possible to

BUG: nested syntax regions and tranparent

2007-02-25 Thread Doug Kearns
G'day folks, In the following sample string: {pre{contained}post} the right brace after contained is not highlighted when using these syntax commands. syn region foo1 matchgroup=foo2 start={ end=} contains=foo3 syn region foo3 start={ end=} transparent contained hi def link foo1 Constant hi

Re: Bug? in vimgrep with g flag and long lines.

2007-02-25 Thread Bram Moolenaar
Tony Mechelynck wrote: When cycling through matches using :cnext, if there are several matches in a single long line, the line is only shortened the first time (but _not_ the 2nd, 3rd, etc.,) to avoid a Hit-Enter prompt. Reproducible: every time. Steps to reproduce: 1. :set wrap

RE: Win64-related patches

2007-02-25 Thread Bram Moolenaar
Michael Wookey wrote: Michael Wookey wrote: One bug that I didn't fix. Build gvim.exe with OLE=no, run 'gvim - register', and watch it crash while trying to display an error message. This seems to fix the bug... Index: src/message.c

Re: Regular expression warning E54 when saving arbitrary files (backslash-issue) including FIX

2007-02-25 Thread Bram Moolenaar
Basti Grembowietz wrote: Hi vim-developers! I have a small bug-report with including fix. WHAT: On my home PC the saving of a file always raised two E54 warnings. Yesterday this was annoying to much (having to press some key before working on normally, so I investigated a bit.

Re: gvim, Windows NAS share of a unix file system, hard links

2007-02-25 Thread Bram Moolenaar
Nathan Coulter wrote: bug report == version: VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:23:43) MS-Windows 32 bit GUI version with OLE support problem: Writing to a file on a windows share where the underlying filesystem supports

Re: BUG: nested syntax regions and tranparent

2007-02-25 Thread Bram Moolenaar
Doug Kearns wrote: In the following sample string: {pre{contained}post} the right brace after contained is not highlighted when using these syntax commands. syn region foo1 matchgroup=foo2 start={ end=} contains=foo3 syn region foo3 start={ end=} transparent contained hi def

Re: .xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Bram Moolenaar
Christian J. Robinson wrote: On Sun, 25 Feb 2007, Sylvain Bertrand wrote: Hi, Is this possible to add .xht and .xhtml file extensions for xhtml filetype detection? Yes, see :help new-filetype. I think this should be added to the Vim distribution, and often wonder how it got

Re: .xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Nikolai Weibull
On 2/25/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Christian J. Robinson wrote: On Sun, 25 Feb 2007, Sylvain Bertrand wrote: Hi, Is this possible to add .xht and .xhtml file extensions for xhtml filetype detection? Yes, see :help new-filetype. I think this should be added to the

Re: .xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Sylvain Bertrand
Hi, For infos: If I open file.html (with xhtml content) using firefox 2.0.0.2, the document will have the text/html mime type which is wrong following the guidelines of the following document: http://www.w3.org/TR/xhtml-media-types/ If I open file.xhtml, the document will have the text/xhtml+xml

Re: .xht and .xhtml file extensions for xhtml filetype detection

2007-02-25 Thread Mikolaj Machowski
Dnia poniedziaƂek 26 luty 2007, Bram Moolenaar napisaƂ: Apparently nobody noticed them. Are *.xht and *.xhtml widely used for XHTML? Spotted .xhtml several times, never saw .xht . m.