On Tuesday 17 April 2007 11:45, Tim Chase wrote: > > Recently gvim has had the annoying habit of inserting messages in > > the text of the document being edited, such as > > > > :confirm wqa > > > > Sometimes they are longer. > > I don't see anything glaringly obvious in your supplied vimrc > files that would trigger such behavior. However, there's a > possiblity that some plugin/filetype file is causing the problem. > The answers to a few questions might help narrow down where the > problem originates: > > -does this happen in one particular type of file but not in > others (such as in *.tex or *.xyz but not in others) > Most of the files I edit are *.tex files so that is not much of a distinguishing mark. > -does it only happen in one mode? (only in insert-mode? only in > normal-mode? only in visual-mode?) > I seldom use visual mode.
It may happen in insert mode when I hit the F4 key. But from the nature of the latest such message it occurs when I hit the "save" entry on a menu. Or perhaps when I exit Gvim by deleting its window. > -are there any keys you're hitting immediately before this > happens (perhaps an errant mapping or triggering a menu option?) > See above > -larger sample-sets of the resulting inserted text might help > narrow it down to a problematic plugin too > > -when it *does* happen, some post-mortem knowledge of the output > > from the following would be helpful: > :scriptnames > :map > :autocmd CursorHold > :autocmd CursorHoldI > :autocmd CursorMoved > :autocmd CursorMovedI > :menu > :ab > Unfortunately I don't discover it until I try to compile a *tex file using e.g., texexec or pdftex. > (there might be other "autocmd" sections of interest, but those > are the likely culprits) > > Hope this helps, > I will try to retreive those autocommands in some future run. > -tim > > PS: > > let cobol_legacy_code = 1 > > Sorry 'bout that...I don't put Cobol on my resume, even though I > did some maint projects a number of years ago...unpleasant > memories :) Like English, it was the first language I learned. So despite the imperfections in both cases they are the natural language and computer language respectively I am most conversant with. Vi/Vim is not the first editor I ever used but it was early in my computer wanderings. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com _________________________________________________________________ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com