How to let :hardcopy support conceal?

2011-05-22 Thread Yue Wu
Hi, list, I'm using :hardcopy on windows, find that the conceal feature will disappear when printing, how to configure vim to support it, or is it a missing feature? -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutica

Re: what's a "conversion error" and how do I correct it?

2011-05-22 Thread Christian Brabandt
Hi Ben! On So, 22 Mai 2011, Ben Fritz wrote: > > You should fix your 'fencs' setting to something like > > ucs-bom,utf-8,default,latin1 > > The 'fileencodings' option is what Vim uses to detect file encoding > when *reading* a file. When writing, Vim uses the current setting of > 'fileencoding'

Re: what are the differences among undofile, swap file, and session file?

2011-05-22 Thread yanzhisheng
>Reply to message «Re: what are the differences among undofile, swap file, and >session file?», >sent 04:00:13 23 May 2011, Monday >by yanzhisheng: > >> but after you created a session file, quit Vim, and restart vim and >> reload session file, you can undo the changes if necessary. so I think >>

Re: what are the differences among undofile, swap file, and session file?

2011-05-22 Thread ZyX
Reply to message «Re: what are the differences among undofile, swap file, and session file?», sent 04:00:13 23 May 2011, Monday by yanzhisheng: > but after you created a session file, quit Vim, and restart vim and > reload session file, you can undo the changes if necessary. so I think > the fun

Re: what are the differences among undofile, swap file, and session file?

2011-05-22 Thread yanzhisheng
>On May 22, 7:46燼m, yanzhisheng wrote: >> >> Can somebody can tell me what undofile differs from swap file? and >> >> session file. I think session file is very strong! behaves like MATLAB >> >> more or less! thanks. >> >> >I think the help explains it all. See >> >> >:h swap-file >> >:h undo-pers

Re: question about string expression evaluation / bug?

2011-05-22 Thread hsitz
On May 22, 3:59 pm, Tim Chase wrote: > > My first questions would be: > > 1) what *is* in your vimrc? > > 2) what's the output of ":version"?  This might also be checkable > with ":echo 'xxx'>''" to see what it evals as.  Depending your > version, you might be running with -eval set.  According to

Re: question about string expression evaluation / bug?

2011-05-22 Thread Tim Chase
On 05/22/2011 05:48 PM, hsitz wrote: In this Vim installation the expression 'xxx'> '' evaluates to 0 (false) while in all other Vims I've seen the expression evaluates (as it should) to 1 (true). I confirm that it should eval to 1. Is there some Vim setting (encoding?) that might have chang

question about string expression evaluation / bug?

2011-05-22 Thread hsitz
I was debugging a problem with a plugin running in Vim73 on Arch Linux and it seems to stem from an error in string expression evaluation. In this Vim installation the expression 'xxx' > '' evaluates to 0 (false) while in all other Vims I've seen the expression evaluates (as it should) to 1 (true)

Re: what's a "conversion error" and how do I correct it?

2011-05-22 Thread Ben Fritz
On May 22, 6:00 am, Christian Brabandt wrote: > Hi eNG1Ne! > > On So, 22 Mai 2011, eNG1Ne wrote: > > > Working on a Linux box (Ubuntu 10.4), I've successfully copy/pasted a > > block of text from a Planmaker spreadsheet into a vim file. The text > > includes U+2012 dashes, which are correctly di

Re: Hide comments without remove?

2011-05-22 Thread Ben Fritz
On May 21, 8:22 pm, Antonio Recio wrote: > Well I obtain all folded because there are > { > ... > > } > > But the question is how I can fold only the // comments including the empty > lines and the /*...*/, but not the {}. Use a :g command to close the folds. Starting with all folds open, do:

Re: what are the differences among undofile, swap file, and session file?

2011-05-22 Thread Ben Fritz
On May 22, 7:46 am, yanzhisheng wrote: > >> Can somebody can tell me what undofile differs from swap file? and > >> session file. I think session file is very strong! behaves like MATLAB > >> more or less! thanks. > > >I think the help explains it all. See > > >:h swap-file > >:h undo-persistenc

Re: quick fix doesn't process info and warning messages correctly

2011-05-22 Thread cyboman
On May 22, 10:38 am, Ben Schmidt wrote: > On 22/05/11 12:44 PM, cyboman wrote: > > > > > the lint we are using outputs warnings and info messages. they are all > > in the same format: > > "file_path",line_number message_type message_type_number: message > > > where message_type is either warning

Re: Vim errorformat for phpunit

2011-05-22 Thread Ben Schmidt
On 11/03/11 4:34 AM, Ben Godfrey wrote: I'm working on a Vim compiler plugin for PHPUnit. I've written the following errorformat. The error message is correctly extracted, but file and line numbers are not. CompilerSet errorformat=%E%n)\ %.%#, \%C%m,

Re: quick fix doesn't process info and warning messages correctly

2011-05-22 Thread Ben Schmidt
On 22/05/11 12:44 PM, cyboman wrote: the lint we are using outputs warnings and info messages. they are all in the same format: "file_path",line_number message_type message_type_number: message where message_type is either warning or info however for some reason when a warning message is follow

Re: what are the differences among undofile, swap file, and session file?

2011-05-22 Thread yanzhisheng
>Hi yanzhisheng! > >On Sa, 21 Mai 2011, yanzhisheng wrote: > >> Can somebody can tell me what undofile differs from swap file? and >> session file. I think session file is very strong! behaves like MATLAB >> more or less! thanks. > >I think the help explains it all. See > >:h swap-file >:h undo-per

Re: what are the differences among undofile, swap file, and session file?

2011-05-22 Thread Christian Brabandt
Hi yanzhisheng! On Sa, 21 Mai 2011, yanzhisheng wrote: > Can somebody can tell me what undofile differs from swap file? and > session file. I think session file is very strong! behaves like MATLAB > more or less! thanks. I think the help explains it all. See :h swap-file :h undo-persistence :h

Re: bash script using vim commands?

2011-05-22 Thread Christian Brabandt
Hi Marcin! On Sa, 21 Mai 2011, Marcin Szamotulski wrote: > On 02:26 Sat 21 May , shawn wilson wrote: > > On May 21, 2011 12:30 AM, "Antonio Recio" wrote: > > > > > > The two commands to delete the comments of C++ files are: > > > :%s!\s*//.*\|/\*\_.\{-}\*/ > > > :g/^\s*$/d > > > > > > How I

Re: Hide comments without remove?

2011-05-22 Thread Christian Brabandt
Hi Antonio! On Sa, 21 Mai 2011, Antonio Recio wrote: > Well I obtain all folded because there are > { > ... > } > > But the question is how I can fold only the // comments including the empty > lines and the /*...*/, but not the {}. Seems, there is no easy way available. So I'd suggest, copyin

Re: what's a "conversion error" and how do I correct it?

2011-05-22 Thread Christian Brabandt
Hi eNG1Ne! On So, 22 Mai 2011, eNG1Ne wrote: > Working on a Linux box (Ubuntu 10.4), I've successfully copy/pasted a > block of text from a Planmaker spreadsheet into a vim file. The text > includes U+2012 dashes, which are correctly displayed in vim … but > when I try to save the vim file, I get

what's a "conversion error" and how do I correct it?

2011-05-22 Thread eNG1Ne
Working on a Linux box (Ubuntu 10.4), I've successfully copy/pasted a block of text from a Planmaker spreadsheet into a vim file. The text includes U+2012 dashes, which are correctly displayed in vim … but when I try to save the vim file, I get the message "conversion error". Probably related, but

Re: add items to a syntax file as a vertical list?

2011-05-22 Thread Thilo Six
Thilo Six wrote the following on 22.05.2011 12:11 -- -- sorry hit send to early. >> Is line continuation acceptable? >> >> syn keyword ITK >> \ a >> \ b >> \ c >> \ d >> \ e >> >> Ben. > > I have learned when one uses line continuation in there one has to make sure > 'cpo' is set correct. That

Re: add items to a syntax file as a vertical list?

2011-05-22 Thread Thilo Six
Ben Schmidt wrote the following on 19.05.2011 20:26 > On 20/05/11 4:16 AM, AMDx64BT wrote: >> I would like to edit the file syntax cpp.vim and include some new extensions >> to >> highlight. I would like to add these news extension as a vertical list, and >> not in >> the same line. >> >> The no

what are the differences among undofile, swap file, and session file?

2011-05-22 Thread yanzhisheng
Hi, everyone, Can somebody can tell me what undofile differs from swap file? and session file. I think session file is very strong! behaves like MATLAB more or less! thanks. ---yakex -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are