no winclose event

2006-09-25 Thread Charles E Campbell Jr
Hello! Just a suggestion -- I'd appreciate a WinClose event. BufWinLeave would almost do, but if two or more windows are open on the same buffer, then no event. WinLeave fires whenever one changes windows, which isn't what I want, either. Unless I'm misunderstanding the help for these two

Re: Convert2HTML Again

2006-09-25 Thread Charles E Campbell Jr
Edward L. Fox wrote: But we should change one thing before we include this patch into the official version. In the patch file, line 97: +execute normal! A\npre { font-family: courier; color: . s:fgc . ; background-color: . s:bgc . ; }\e Should be: +execute normal! A\npre {

Re: no winclose event

2006-09-25 Thread Yakov Lerner
On 9/25/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Just a suggestion -- I'd appreciate a WinClose event. BufWinLeave would almost do, but if two or more windows are open on the same buffer, then no event. WinLeave fires whenever one changes windows, which isn't what I want, either.

Re: [macvim] modifiers should be applied to special keys too (patch)

2006-09-25 Thread Nicolas Weber
Hi, this updated patch should fix these warnings: Well, I get these errors: gui_mac.c:2018: warning: return type defaults to 'int' gui_mac.c: In function 'gui_mac_doKeyEventCarbon': gui_mac.c:2097: warning: suggest parentheses around within || gui_mac.c: In function 'gui_mch_init':

Re: no winclose event

2006-09-25 Thread Charles E Campbell Jr
Charles E Campbell Jr wrote: Just a suggestion -- I'd appreciate a WinClose event. BufWinLeave would almost do, but if two or more windows are open on the same buffer, then no event. WinLeave fires whenever one changes windows, which isn't what I want, either. Unless I'm

Re: vim bof audio available anyone ?

2006-09-25 Thread Bram Moolenaar
Christian Michon wrote: I remember there was some audio recording of vim BOF/sane 2004. Has anyone attended yesterday's BOF session with an audio recording device ? It would be nice to hear it for those/us who could not attend. I have recorded the BOF, but have not had time to hear it

vim is scrambling my files

2006-09-25 Thread jinxjinx
when i do a save and then a make, for somereason my file gets scrambled. vim adds a colum of letters. and i get all these compile errors. so i quit without saving, and the extra letters go away! what could be going on here? here is my vimrc syn region myFold start={ end=} transparent fold syn

Re: vim is scrambling my files

2006-09-25 Thread A.J.Mechelynck
jinxjinx wrote: when i do a save and then a make, for somereason my file gets scrambled. vim adds a colum of letters. and i get all these compile errors. so i quit without saving, and the extra letters go away! what could be going on here? here is my vimrc syn region myFold start={ end=}

Re: vim is scrambling my files

2006-09-25 Thread A.J.Mechelynck
Georg Dahn wrote: Hi! To copy the whole :version output to the clipboard, use: :set nomore :redir @* :version :redir END :set more :let @+ = @* [the last line above is not necessary on Windows]. You can trim the result after pasting it into an email.) Many thanks

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread Yakov Lerner
On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese text. I failed to do that. The problem is that if the spell-check turned on,

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread Yakov Lerner
On 9/25/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese text. I failed to do

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese text. I failed to do that. The problem is that if the

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/25/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread Yakov Lerner
On 9/25/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese

Re: Single-File Vim?

2006-09-25 Thread Christian MICHON
I created a 7-zip self-extractable executable for Windows. When it executes, it extract runtime files in %temp%, it gives you the full power of gvim, and when you close it, the 7z.tmp directory is removed. This is the most portable solution I found/created for Windows. I'll send you the

Re: Plain TeX support ?

2006-09-25 Thread Christian Ebert
* Meino Christian Cramer on Saturday, September 23, 2006 at 06:54:29 +0200: Looking into :help \TeX\ does not that much information about the support of generating nice and find documents via plain TeX. Where can I get informations about what I can

Changing buffer behaviour

2006-09-25 Thread Fabien Meghazi
Hi all, Remember this thread ? http://tech.groups.yahoo.com/group/vim/message/71395 I had very usefull information from this list about my question. The solution offered was to force the use of the command :e to open a new tab. But I wonder if there's another solution because the following

Re: Changing buffer behaviour

2006-09-25 Thread Yakov Lerner
On 9/25/06, Fabien Meghazi [EMAIL PROTECTED] wrote: Hi all, Remember this thread ? http://tech.groups.yahoo.com/group/vim/message/71395 I had very usefull information from this list about my question. The solution offered was to force the use of the command :e to open a new tab. But I wonder

Re: [vim] fixing the f-args bug wrt '\\ '

2006-09-25 Thread Yakov Lerner
On 8/9/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I'm going to fix the f-args bug mentioned in the todo (because I got bitten by it). I made a testcase (it's below), here is the table: Testcase Current Expected

make some commands local

2006-09-25 Thread Daniel Nogradi
Hi vimmers, I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? I sometimes have several files open each in its own splitted

Re: Changing buffer behaviour

2006-09-25 Thread Fabien Meghazi
Does this do what you wanted ? Well actually it's not the solution I'm searching for as it won't work when I type vim *.py from a terminal

Re: make some commands local

2006-09-25 Thread Yakov Lerner
On 9/25/06, Daniel Nogradi [EMAIL PROTECTED] wrote: Hi vimmers, I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? 1.

Re: Changing buffer behaviour

2006-09-25 Thread Yakov Lerner
On 9/25/06, Fabien Meghazi [EMAIL PROTECTED] wrote: Does this do what you wanted ? Well actually it's not the solution I'm searching for as it won't work when I type vim *.py from a terminal Try 'vim -p *.py', or alias vim='vim -p' (depending on your shell) Yakov

Re: Changing buffer behaviour

2006-09-25 Thread Fabien Meghazi
Try 'vim -p *.py', or alias vim='vim -p' Thanks ! I didn't knew about this switch

Re: make some commands local

2006-09-25 Thread Daniel Nogradi
I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? 1. Frist, 'set foldmethod=' is already local to window, so there's

Turning abbreviations on and off

2006-09-25 Thread Marius Roets
Hi everybody, I have a in my plsql.vim filetype plugin a lot of abbreviations to the effect of : iabbrev buffer then THEN iabbrev buffer else ELSE ... etc. The idea is that some companies' coding standards expect me to use capitalized keywords. Personally I hate capitalized keywords (it reminds

Re: make some commands local

2006-09-25 Thread Yakov Lerner
On 9/25/06, Daniel Nogradi [EMAIL PROTECTED] wrote: I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? 1.

Re: make some commands local

2006-09-25 Thread Yakov Lerner
On 9/25/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/25/06, Daniel Nogradi [EMAIL PROTECTED] wrote: I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should

Re: Turning abbreviations on and off

2006-09-25 Thread Yakov Lerner
On 9/25/06, Marius Roets [EMAIL PROTECTED] wrote: I have a in my plsql.vim filetype plugin a lot of abbreviations to the effect of : iabbrev buffer then THEN iabbrev buffer else ELSE ... So I was wondering if there was a way where I could turn a set of abbreviations on and off, on the fly,

Re: make some commands local

2006-09-25 Thread Daniel Nogradi
I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? 1. Frist, 'set foldmethod=' is already

Re: Single-File Vim?

2006-09-25 Thread Christian MICHON
I created a new gvim7 sfx for windows. It's ready for mass testing. Feedback is welcome. (I've no other hosting capability for this file yet) http://www.sharebigfile.com/file/9444/gvim7.exe.html fill up the number section and submit to start the download. Happy vimming! On 9/25/06, Christian

Re: Turning abbreviations on and off

2006-09-25 Thread Benji Fisher
On Mon, Sep 25, 2006 at 12:58:51PM +, Yakov Lerner wrote: On 9/25/06, Marius Roets [EMAIL PROTECTED] wrote: I have a in my plsql.vim filetype plugin a lot of abbreviations to the effect of : iabbrev buffer then THEN iabbrev buffer else ELSE ... So I was wondering if there was a way

RE: Single-File Vim?

2006-09-25 Thread Gene Kwiecinski
Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any computer I sit at. I saw the entire thread so far, and while there are lots of possible

Re: Plain TeX support ?

2006-09-25 Thread Benji Fisher
On Sun, Sep 24, 2006 at 04:37:16PM +0200, Meino Christian Cramer wrote: [snip] After I wrote my first TeX-text without Emacs/AucTeX spontaneous I would say the following things are missing: A Keystrokes to insert {\bf X }, {\it X \/} and such where X marks the cursor position after doing

Re: accents and tex

2006-09-25 Thread Benji Fisher
On Mon, Sep 25, 2006 at 12:04:45PM -0300, Matias Grana wrote: On Tue, Sep 19, 2006 at 08:36:13AM -0400, Benji Fisher wrote: On Mon, Sep 18, 2006 at 04:47:14PM -0300, Matias Grana wrote: [snip] excerpt of .vimrc - augroup acentos autocmd!

Need help integrating new tabbed windows functionality into cscope

2006-09-25 Thread Reid Thompson
I currently use cscope with the mappings shown below. What I would like to know how to implement is, a sequence of mappings that would open the cscope returned data in a new tab, rather than the current tab or a split of the current tab. I would like this to work for both vim and gvim.

Re: Plain TeX support ?

2006-09-25 Thread Meino Christian Cramer
From: Christian Ebert [EMAIL PROTECTED] Subject: Re: Plain TeX support ? Date: Mon, 25 Sep 2006 10:14:27 +0200 * Meino Christian Cramer on Saturday, September 23, 2006 at 06:54:29 +0200: Looking into :help \TeX\ does not that much information about the support of

Re: LogiPat Problem

2006-09-25 Thread Charles E Campbell Jr
Bill McCarthy wrote: Hello Vim List, Trying out LogiPat (by Charles Campbell) today, I ran into a problem. I tried to find lines that contain abc or def but didn't contain both. Hello! Looks like you ran into a bug. I've loaded LogiPat v3 onto my website which handles :LP

Re: Plain TeX support ?

2006-09-25 Thread Meino Christian Cramer
From: Benji Fisher [EMAIL PROTECTED] Subject: Re: Plain TeX support ? Date: Mon, 25 Sep 2006 11:41:31 -0400 On Sun, Sep 24, 2006 at 04:37:16PM +0200, Meino Christian Cramer wrote: [snip] After I wrote my first TeX-text without Emacs/AucTeX spontaneous I would say the following things are

Re: abbreviations + indent + movement commands

2006-09-25 Thread Kim Schulz
On Sat, 23 Sep 2006 17:08:39 +0200 Luc Hermitte [EMAIL PROTECTED] wrote: [snip] I guess it is in the mark for place of last change, but I just cant get iabbrev to execute my movement command (other than using left right up down). Is there any way to do this? I finally converged to the

taglist() bugs related to 'tags'

2006-09-25 Thread Hari Krishna Dara
I am observing that the taglist() function is not sensitive to the changes in 'tags' value. It also seems to cache the value of 'tags' as of the time the function is called for the first time. To reproduce the problem (you need to have patch 96 applied, otherwise there is another bug in 7.0GA

Making vim fast

2006-09-25 Thread Eric Smith
I have a number of large files open and generally experience slow performance. How I might compile the smallest fastest vim? I know compiling without gui will help, what other options might make vim much faster? I can then always add back features and see how expensive they are in terms of

Piping messages from ex commands into a new tab

2006-09-25 Thread Tom Carr
I'm trying to pipe messages from ex commands (e.g. :map , :version) into a new tab. I've found http://vim.sourceforge.net/tips/tip.php?tip_id=95, but I was hoping for a better way. Ideally I would type something like :tabmesages :map and it would show :map in a new tab, without printing it

Re: Making vim fast

2006-09-25 Thread Allan Wind
On 2006-09-25T23:11:47+0200, Eric Smith wrote: I have a number of large files open and generally experience slow performance. Have you seen this one? http://www.vim.org/tips/tip.php?tip_id=343 /Allan

Re: Making vim fast

2006-09-25 Thread Christian Ebert
* Eric Smith on Monday, September 25, 2006 at 23:11:47 +0200: I have a number of large files open and generally experience slow performance. Have you tried the LargeFile plugin? http://www.vim.org/scripts/script.php?script_id=1506 c -- _B A U S T E L L E N_ lesen! ---

Re: Single-File Vim?

2006-09-25 Thread Christian MICHON
never had one in my pocket. But what I heard is bad: it leaves plenty of stuff in the registry and you need house cleaning when removing u3. On top of this, it's proprietary and not opensource. At least, with 7-zip sfx, it's clean by construction: when you close gvim, unless the process was

Re: make some commands local

2006-09-25 Thread A.J.Mechelynck
Daniel Nogradi wrote: Hi vimmers, I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? I sometimes have several files open

Re: make some commands local

2006-09-25 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/25/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/25/06, Daniel Nogradi [EMAIL PROTECTED] wrote: I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a

Re: Turning abbreviations on and off

2006-09-25 Thread A.J.Mechelynck
Marius Roets wrote: Hi everybody, I have a in my plsql.vim filetype plugin a lot of abbreviations to the effect of : iabbrev buffer then THEN iabbrev buffer else ELSE ... etc. The idea is that some companies' coding standards expect me to use capitalized keywords. Personally I hate capitalized

Re: Howto stop Thanks for flying Vim on Konsole Window Titlebar?

2006-09-25 Thread Larry Alkoff
Just to wind up the string I started. Titles in vim are now working perfectly. My current ~/.vimrc contains (in part) set title set titleold= set titlestring=VIM:\ %F This works perfectly to display the name of the file I am editing and returns to a standard titlebar display of Shell - Konsole

per-window search highlighting/colors

2006-09-25 Thread Brian Lewis
I'm editing a file and open a preview window. When I search with /, I'd like the main window to show highlighted matches, but for the preview window not to. nohlsearch seems to be global, so I can't :setl nohlsearch in the preview window to get what I want. Maybe there's a way to modify color