Patch 7.0.124

2006-10-10 Thread Bram Moolenaar
Patch 7.0.124 Problem:getwinvar() obtains a dictionary with window-local variables, but it's always for the current window. Solution: Get the variables of the specified window. (Geoff Reedy) Files: src/eval.c *** ../vim-7.0.123/src/eval.c Tue Oct 3 14:43:31 2006 ---

Patch 7.0.125

2006-10-10 Thread Bram Moolenaar
Patch 7.0.125 Problem:When autoselect is in the 'clipboard' option then the ' and ' marks are set while Visual mode is still active. Solution: Don't set the ' and ' marks when yanking the selected area for the clipboard. Files: src/normal.c ***

Re: Convert2HTML Again

2006-10-10 Thread Edd Barrett
On 01/10/06, Edd Barrett [EMAIL PROTECTED] wrote: Hope your enjoying your weekend. As promised i have ammended the patch. Hi Guys, I havent recieved any feedback on this patch yet, did anyone get a chance to look at it? Sorry to be a bore. Best Regards Edd

Patch 7.0.126

2006-10-10 Thread Bram Moolenaar
Patch 7.0.126 Problem:When 'formatexpr' uses setline() and later internal formatting is used undo information is not correct. (Jiri Cerny, Benji Fisher) Solution: Set ins_need_undo after using 'formatexpr'. Files: src/edit.c *** ../vim-7.0.125/src/edit.c Fri Oct 6

Patch 7.0.127

2006-10-10 Thread Bram Moolenaar
Patch 7.0.127 Problem:Crash when swap files has invalid timestamp. Solution: Check return value of ctime() for being NULL. Files: src/memline.c *** ../vim-7.0.126/src/memline.cTue Aug 29 17:28:56 2006 --- src/memline.c Tue Oct 10 16:19:56 2006 *** ***

Problems with configure after patch 123

2006-10-10 Thread A.J.Mechelynck
At patchlevel 125 (123-124-125 newly patched), make reconfig and make distclean both fail as follows (beware of mailer beautification: all lines from GUI_INC_LOC= (included) to --enable-mzschemeinterp (excluded) end in a backslash): Starting make in the src directory. If there are problems,

Patch 7.0.128

2006-10-10 Thread Bram Moolenaar
Patch 7.0.128 Problem:GUI: when closing gvim is cancelled because there is a changed buffer the screen isn't updated to show the changed buffer in the current window. (Krzysztof Kacprzak) Solution: Redraw when closing gvim is cancelled. Files: src/gui.c ***

Re: Problems with configure after patch 123

2006-10-10 Thread A.J.Mechelynck
Bram Moolenaar wrote: Tony Mechelynck wrote: At patchlevel 125 (123-124-125 newly patched), make reconfig and make distclean both fail as follows (beware of mailer beautification: all lines from GUI_INC_LOC= (included) to --enable-mzschemeinterp (excluded) end in a backslash): Starting make

Re: Problems with configure after patch 123

2006-10-10 Thread Bram Moolenaar
Tony Mechelynck wrote: The place of the include should not matter. The Makefile is first read completely before dependencies are followed. distclean does not depend on auto/config.mk. Perhaps your make program implies this dependency when including a file? I would call that a bug

Patch 7.0.131

2006-10-10 Thread Bram Moolenaar
Patch 7.0.131 Problem:Win32: vim -r does not list all the swap files. Solution: Also check for swap files starting with a dot. Files: src/memline.c *** ../vim-7.0.130/src/memline.cTue Oct 10 16:20:51 2006 --- src/memline.c Tue Oct 10 21:54:21 2006 *** ***

Re: Problems with configure after patch 123

2006-10-10 Thread A.J.Mechelynck
Bram Moolenaar wrote: Tony Mechelynck wrote: The place of the include should not matter. The Makefile is first read completely before dependencies are followed. distclean does not depend on auto/config.mk. Perhaps your make program implies this dependency when including a file? I would

Re: Replacing '%' in a text file

2006-10-10 Thread Muhammad Farooq-i-Azam
--- Tim Chase [EMAIL PROTECTED] wrote: I have to replace every occurrence of % in a file with % |. I have been effectively replacing text using the following construct: :%s/\text\/replacement/g However when I try to do the following: :%s/\%\/% |/g I am greeted by an

Re: Bug in :(un)lockvar

2006-10-10 Thread Bram Moolenaar
Hari Krishna Dara wrote: I need to create a doubly linked list and since this will cause problem with lockvar, I will just comment the lock/unlockvar commands. I am wondering if you have any plans to fix this issue. The lockvar is a great way to prevent accidental changes (and it already

diffoff

2006-10-10 Thread Vigil
The :diffoff command resets the relevant options to their default value. This may be different from what the values were before diff mode was started, the old values are not remembered. Is it on the to-do list to make diffoff restore from previous values rather than default ones, or is there

Re: Setting up netrw

2006-10-10 Thread Charles E Campbell Jr
Suresh Govindachar wrote: Close ... From inside gvim, I tried both of the following: :Nread scp://111.11.11.111/home/suresh/examples/mcf/vmul/manager/manager_vmul.c and :sf scp://111.11.11.111/home/suresh/examples/mcf/vmul/manager/manager_vmul.c But the system

vim | editing pdf files with vim

2006-10-10 Thread Nikolaos A. Patsopoulos
Hi all, is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. Thanks, Nikos

Shading alternating patterns.

2006-10-10 Thread Aaron
I've been swapping my subscribed addresses, so I apologize if this got posted more than once. My question is casual, but I wasn't able to find anything on the FAQs or Google, so I hope someone here can tell me if I'm nuts or not. In my ideal world (which, so far, Vim has done an excellent job

Re: Shading alternating patterns.

2006-10-10 Thread Tim Chase
Is there some way, perhaps through a syntax rule, or rules, to have Vim shade the background of *alternating* CSS definitions, assuming this file format? While I'm not sure the below will solve it, I've pasted in some dialog from Benji Fisher and Tony Mechelynck (from back in February of this

Re: Shading alternating patterns.

2006-10-10 Thread A.J.Mechelynck
Aaron wrote: I've been swapping my subscribed addresses, so I apologize if this got posted more than once. My question is casual, but I wasn't able to find anything on the FAQs or Google, so I hope someone here can tell me if I'm nuts or not. In my ideal world (which, so far, Vim has done an

Re: Shading alternating patterns.

2006-10-10 Thread Aaron
Tim Chase wrote: Is there some way, perhaps through a syntax rule, or rules, to have Vim shade the background of *alternating* CSS definitions, assuming this file format? While I'm not sure the below will solve it, I've pasted in some dialog from Benji Fisher and Tony Mechelynck (from

Re: Setting up netrw

2006-10-10 Thread Charles E Campbell Jr
Suresh Govindachar wrote: The version of netrw in the vim sources, on vim.org and on your web-site all differ. Since netrw is part of the vim runtime- sources, could you please coordinate your releases with Bram? They are already quite coordinated. Development version appears at my

Re: vim | editing pdf files with vim

2006-10-10 Thread Mike Williams
Nikolaos A. Patsopoulos did utter on 10/10/2006 14:58: Hi all, is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. In general trying to edit PDF or PostScript files is a

Re: vim | editing pdf files with vim

2006-10-10 Thread Nikolaos A. Patsopoulos
Mike Williams wrote: Nikolaos A. Patsopoulos did utter on 10/10/2006 14:58: Hi all, is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. In general trying to edit PDF or

RE: vim | editing pdf files with vim

2006-10-10 Thread Max Dyckhoff
PDF files need to be edited with a specific editor, because they contain non-human readable structure and encodings. Your request is similar to asking if you could edit a JPEG with vim. If it is just a PDF of a text file then you should simply be able to copy/paste the text into your favourite

Re: vim | editing pdf files with vim

2006-10-10 Thread A.J.Mechelynck
Nikolaos A. Patsopoulos wrote: Hi all, is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. Thanks, Nikos Vim is a text editor. PDF files contain both text data and

Re: vim | editing pdf files with vim

2006-10-10 Thread Alan Young
Nikolaos A. Patsopoulos wrote: is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. Not really. But you can use a program called pdftk that will help you along those lines.

Re: vim | editing pdf files with vim

2006-10-10 Thread Alan Young
Nikolaos A. Patsopoulos wrote: is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. Woops ... just found this by accident: http://www.pdfhacks.com/pdftk/#vim_plugin From the

Re: vim | editing pdf files with vim

2006-10-10 Thread Charles E Campbell Jr
Nikolaos A. Patsopoulos wrote:, is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. For purposes of visualization, using netrw's browser and, with the cursor on the pdf file,

Re: Folding between #ifdef _DEBUG and #endif

2006-10-10 Thread Hari Krishna Dara
On Tue, 10 Oct 2006 at 12:14pm, Kamil Kisiel wrote: I've got some C++ source code that I'd like to fold away. Basically I want vim to have folds only between #ifdef _DEBUG and the corresponding #endif statement, and nowhere else. My vimfu is a bit weak in this respect so I'm not quite sure

Re: bugs in vim scripting highlighting

2006-10-10 Thread Charles E Campbell Jr
Mikolaj Machowski wrote: Noticed two bugs in vim script highlighting: 1. xnoremap and snoremap are not fully recognized. Compare highlighting of those three lines: inoremap buffer silent expr C-C SIDCtrlC() xnoremap buffer silent expr C-C SIDCtrlC() snoremap buffer silent

Re: vim | editing pdf files with vim

2006-10-10 Thread Yakov Lerner
On 10/10/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote: is there a way to edit pdf files with vim? If not pdf as is, then eps or postscript? I tried with either format but the text kept been converted to sthl ike ASCII code. Try to find pdf-to-word conversion tool (openoffice can edit

Re: bugs in vim scripting highlighting

2006-10-10 Thread Hari Krishna Dara
On Tue, 10 Oct 2006 at 3:29pm, Charles E Campbell Jr wrote: Problem 1 has been addressed in the latest syntax/vim.vim -- please try it out. I think problem 2 was addressed previously. syntax/vim.vim is now up to v7.0-55, and you can get it from

Re: Shading alternating patterns.

2006-10-10 Thread A.J.Mechelynck
Peter Hodge wrote: Hello Aaron, You could do something like this: syn match Sel1 /^\.selector/ nextgroup=Items1 skipwhite syn region Items1 start=/{/ end=/}/ contained keepend \ nextgroup=Sel2 skipwhite skipempty hi Sel1 guibg=#44 hi Items1 guibg=#44 syn match Sel2

Problem in dos runtime on Vim FTP

2006-10-10 Thread Bill McCarthy
Hello Vim List, Since yesterday, 4 files in the dos/autoload directory cannot be downloaded - it doesn't appear to matter which FTP client is used. The four problem files are: netrw.vim tar.vim vimball.vim zip.vim The URL for the directory of these files is:

Re: Problem in dos runtime on Vim FTP

2006-10-10 Thread A.J.Mechelynck
Bill McCarthy wrote: Hello Vim List, Since yesterday, 4 files in the dos/autoload directory cannot be downloaded - it doesn't appear to matter which FTP client is used. The four problem files are: netrw.vim tar.vim vimball.vim zip.vim The URL for the directory of these files

vim7: uninstalling vimball installed scripts

2006-10-10 Thread David Thompson
How does one uninstall the various pieces installed via a vimball? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: vim7: uninstalling vimball installed scripts

2006-10-10 Thread A.J.Mechelynck
David Thompson wrote: How does one uninstall the various pieces installed via a vimball? see :help vimball-rmvimball Best regards, Tony.

Re: Folding between #ifdef _DEBUG and #endif

2006-10-10 Thread Kamil Kisiel
On 10/11/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: On Tue, 10 Oct 2006 at 12:14pm, Kamil Kisiel wrote: I've got some C++ source code that I'd like to fold away. Basically I want vim to have folds only between #ifdef _DEBUG and the corresponding #endif statement, and nowhere else. My

Re: Problem in dos runtime on Vim FTP

2006-10-10 Thread Bill McCarthy
On Tue 10-Oct-06 9:26pm -0600, A.J.Mechelynck wrote: Bill McCarthy wrote: Hello Vim List, Since yesterday, 4 files in the dos/autoload directory cannot be downloaded - it doesn't appear to matter which FTP client is used. The four problem files are: netrw.vim tar.vim

Re: Problem in dos runtime on Vim FTP

2006-10-10 Thread A.J.Mechelynck
Bill McCarthy wrote: On Tue 10-Oct-06 9:26pm -0600, A.J.Mechelynck wrote: Bill McCarthy wrote: Hello Vim List, Since yesterday, 4 files in the dos/autoload directory cannot be downloaded - it doesn't appear to matter which FTP client is used. The four problem files are: netrw.vim

Re: Folding between #ifdef _DEBUG and #endif

2006-10-10 Thread panshizhu
[EMAIL PROTECTED] 写于 2006-10-11 12:27:33: :FoldMatching #ifdef\ _DEBUG #endif 0 The last parameter is a context, so you might like 1 better than 0 (allows you to see what you are folding). Alternatively, you can also configure the foldtext (see plugin page or the header in the file for