Hi Suresh,
On 9/13/07, Suresh Govindachar [EMAIL PROTECTED] wrote:
Hello,
I have noticed that the buffer-name handling routine
can identify different forms of a file name. For example,
I believe it knows that the following two are the same
when $HOME is /home/the_user
~the_user/the_file
/home/the_user/the_file
However, the name-handler does not collapse \\ -- for example,
it thinks the following files are different:
foo\boo\the_file
foo\boo\\the_tile
Besides the issue of the buffer name handler's capability, there
is also the issue why my usage generates such names: they show up
when I hit return in the taglist index window and taglist displays
the corresponding file.
As you have already determined, Vim creates separate buffers for
these files (on MS-Windows):
:edit foo\boo\the_file
:edit foo\\boo\the_file
:edit foo\boo\\the_file
:edit foo\\boo\\the_file
Even though all the above paths point to the same file. The taglist
plugin relies on Vim to generate the correct buffer number for these
files. If Vim treats them as separate files, then the taglist plugin
also will treat them as separate files.
- Yegappan
--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---