On 2009-08-16, Hari Krishna Dara wrote:

> Thanksa lot Gary, for all the issue reports. To summarize what you
> have already observed:
> - 'fileformat' needs to be changed to "unix".
> - g:notesRoot should accept any path that is recognized by Vim.
> - On a unix like system, paths with spaces are not handled correctly.
> 
> On the last issue, I am surprised that spaces cause problems. The
> :edit, :split and :write commands expect only one file and so
> shouldn't treat spaces specially, and that is how it works in windows.
> I just looked up help on these commands and there is no mention of
> such a need. I will anyway try fnameescape() to see if it fixes the
> issue. I don't currently have a linux install handy, but I can
> probably reproduce the same issue on mac os x that I just started
> using (or may be I can try a livecd).
> 
> On the subject of using underscores instead of spaces, I think spaces
> will make the name a lot more readable. But if this would be something
> of a preference, then one option is to provide a setting (such as
> g:notesWordSeparator that can be set to useful strings such as "_",
> ".", "-" or even "" (empty string)).

You're welcome.  I think it will be a really handy package.

I really dislike spaces in file names because I do most of my file
manipulation from a Unix command line where spaces are separators
and using file names that have spaces requires a lot of extra typing
and thinking.  I realize, though, that GUI users don't have those
issues and find spaces aesthetically pleasing, so having an option
such as you propose would be a good solution.

Regards,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui