Re: New features to vote on and sponsoring

2008-01-20 Fir de Conversatie Nico Weber
Is this close enough? :command BDP bp | bd # :command BDN bn | bd # Yes. Thanks :-) Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php

spend vs. spent

2008-01-20 Fir de Conversatie Adri Verhoef
I saw the word spend being used and wondered why it wasn't being spelled as spent. I decided to grep both words in all '.c' files I could find. Here is a sample of the result: $ find|grep \\.c$|xargs grep [^u]spend ./src/eval.c:proftime_T uf_tm_total;/* time spend in function +

Re: Patch 7.1.235

2008-01-20 Fir de Conversatie Bram Moolenaar
Alexei Alexandrov wrote: Bram Moolenaar wrote: Patch 7.1.235 Problem:Pattern matching is slow when using a lot of simple patterns. Solution: Avoid allocating memory by not freeing it when it's not so much. (Alexei Alexandrov) Files: src/regexp.c Thanks a

Re: spend vs. spent

2008-01-20 Fir de Conversatie Bram Moolenaar
Adri Verhoef wrote: I saw the word spend being used and wondered why it wasn't being spelled as spent. I decided to grep both words in all '.c' files I could find. Here is a sample of the result: $ find|grep \\.c$|xargs grep [^u]spend ./src/eval.c:proftime_T uf_tm_total;

Re: How to save a UTF-8 file on Windows using a non-ASCII name

2008-01-20 Fir de Conversatie Linxiao
This is vim-dev maillist, better sending your question to [EMAIL PROTECTED] . PS. If you wanna save a UTF-8 content file, just :set fenc=utf-8 but not enc=utf-8. Good Luck! On 1/20/08, Fan Decheng [EMAIL PROTECTED] wrote: Here I mean on the Windows platform, using Vim 6.4 or 7.1. I've

Re: How to save a UTF-8 file on Windows using a non-ASCII name

2008-01-20 Fir de Conversatie Edward L. Fox
Hi Fan, On Jan 20, 2008 3:03 PM, Fan Decheng [EMAIL PROTECTED] wrote: Here I mean on the Windows platform, using Vim 6.4 or 7.1. I've encountered this problem several times, but don't know whether there is a solution: 1. Use gvim to open a file with Chinese characters in its name. For

Re: How to save a UTF-8 file on Windows using a non-ASCII name

2008-01-20 Fir de Conversatie Tony Mechelynck
Linxiao wrote: This is vim-dev maillist, better sending your question to [EMAIL PROTECTED] . PS. If you wanna save a UTF-8 content file, just :set fenc=utf-8 but not enc=utf-8. Good Luck! Tt, tt, tt... If 'encoding' is other than UTF-8 (or GB18030), Vim cannot represent all Unicode

Re: How to save a UTF-8 file on Windows using a non-ASCII name

2008-01-20 Fir de Conversatie Edward L. Fox
Hi Tony, On Jan 21, 2008 11:41 AM, Tony Mechelynck [EMAIL PROTECTED] wrote: Linxiao wrote: [...] Tt, tt, tt... If 'encoding' is other than UTF-8 (or GB18030), Vim cannot represent all Unicode codepoints in memory; therefore, if you try to edit a UTF-8 file you run the risk of losing part

Re: How to save a UTF-8 file on Windows using a non-ASCII name

2008-01-20 Fir de Conversatie Fan Decheng
On Jan 21, 11:41 am, Tony Mechelynck [EMAIL PROTECTED] wrote: Linxiao wrote: This is vim-dev maillist, better sending your question to [EMAIL PROTECTED] . PS. If you wanna save a UTF-8 content file, just :set fenc=utf-8 but not enc=utf-8. Good Luck! Tt, tt, tt... If 'encoding' is

Re: How to save a UTF-8 file on Windows using a non-ASCII name

2008-01-20 Fir de Conversatie Fan Decheng
On Jan 21, 11:43 am, Edward L. Fox [EMAIL PROTECTED] wrote: Hi Fan, On Jan 20, 2008 3:03 PM, Fan Decheng [EMAIL PROTECTED] wrote: Here I mean on the Windows platform, using Vim 6.4 or 7.1. I've encountered this problem several times, but don't know whether there is a solution: