Re: How to wake up getchar() ?

2006-04-07 Thread Bram Moolenaar
flag is used. I'll fix that. Your function with the workaround will stop working then. I'll see if I can make it work. -- hundred-and-one symptoms of being an internet addict: 17. You turn on your intercom when leaving the room so you can hear if new e-mail arrives. /

Re: Duplicate tags problem

2006-04-08 Thread Bram Moolenaar
recommended to upgrade to Vim 6.4. It includes many bugfixes. But that doesn't solve this specific problem. I'll look into it. -- How To Keep A Healthy Level Of Insanity: 6. In the memo field of all your checks, write "for sexual favors". /// Bram Moole

Re: tabs are confusing cmdheight

2006-04-08 Thread Bram Moolenaar
Healthy Level Of Insanity: 7. Finish all your sentences with "in accordance with the prophecy". /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distrib

Vim version 7.0d BETA has been released

2006-04-10 Thread Bram Moolenaar
if you can! If something needs discussing with other developers, send a message to the vim-dev mailing list. You need to subscribe first. Happy Vimming! -- Tips for aliens in New York: Land anywhere. Central Park, anywhere. No one will care or indeed even notice. -- Douglas

Re: vim7: syntax highlighting and visual selections

2006-04-11 Thread Bram Moolenaar
Check the color scheme you are using. With the current system Visual highlighting should only set a background color and not invert. Apparently you have both and that doesn't look good. -- He who laughs last, thinks slowest. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net

Re: has anybody done syntax highlighting for linux Kconfig files ?

2006-04-11 Thread Bram Moolenaar
elcome. > > I've also included a ftplugin/kconfig.vim. > > Bram: You can add these with the following matcher in filetype.vim: > > au BufNewFile,BufRead Kconfig,Kconfig.debug setf kconfig I'll include it, thanks! -- A day without sunshine is like,

Re: Changing Cursor in Terminal Vim...Mode Recognition?

2006-04-12 Thread Bram Moolenaar
oesn't state somewhere why this happens instead of the "ordinary" color numbers. Perhaps because xterm was compiled with more than 16 colors? -- hundred-and-one symptoms of being an internet addict: 42. Your virtual girlfriend finds a new net sweetheart with a larger band

Updated files requested

2006-04-12 Thread Bram Moolenaar
Never go to the toilet in a paperless office. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\help me

Re: histdel("undo", -1)

2006-04-12 Thread Bram Moolenaar
t ideas of what is in the text. You could perhaps skip some undo info that doesn't insert or delete lines, but anything else will mess up the text at some point. Also: if you change a line twice, and delete the undo info for the second change, then undo of the first change will also undo the s

Re: Folding of C preprocessor lines.

2006-04-13 Thread Bram Moolenaar
when 'foldignore' is set. To work around the problem you can force an update of folds by setting 'foldmethod' to "indent" again. -- hundred-and-one symptoms of being an internet addict: 77. The phone company asks you to test drive their new PBX system

Re: Duplicate tags problem

2006-04-14 Thread Bram Moolenaar
Jason Aeschilman wrote: [ about the same tag being found in two tags files ] > Bram Moolenaar wrote: > > First of all, it's recommended to upgrade to Vim 6.4. It includes many > > bugfixes. > > > > But that doesn't solve this specific problem. I'

Re: getwinvar() needs a 'tab' argument for Vim7?

2006-04-15 Thread Bram Moolenaar
Eric Arnold wrote: > Is there a way to use getwinvar() to retrieve a window variable for a > window in another tab (without switching tabs)? Well, I suppose I could add gettabwinvar() and settabwinvar(). -- >From "know your smileys": :-{} Too much lipstick /// Bram

Re: Duplicate tags problem

2006-04-15 Thread Bram Moolenaar
Jason Aeschilman wrote: > > [ about the same tag being found in two tags files ] > > > > > Bram Moolenaar wrote: > > > > First of all, it's recommended to upgrade to Vim 6.4. It includes many > > > > bugfixes. > > > > > >

Vim70d map-to-func input prob? was Re: How to wake up getchar() ?

2006-04-15 Thread Bram Moolenaar
d, because recursive use of the function that gets characters is not possible. I think this is actually what most people want to happen. If you want to pass something tot he function you can give it an argument. -- >From "know your smileys": ...---... SOS /// Bram Moolenaar

Java indent file maintainer wanted

2006-04-15 Thread Bram Moolenaar
g then. 2. Detection of comments is unreliable. Any line starting with a star is seen as a comment. Using synID() should work much better. Volunteer? -- >From "know your smileys": :-D Big smile /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///

Re: Vim 7 slows down when highlighting cursor line

2006-04-15 Thread Bram Moolenaar
every time you move the cursor. Otherwise scrolling only redraws the text that appears. -- There's no place like $(HOME)! /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\downlo

Re: vim7 bug, suggestion and general question

2006-04-16 Thread Bram Moolenaar
ears in the preview window then. -- I AM THANKFUL... ...for the piles of laundry and ironing because it means I have plenty of clothes to wear. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\

Re: Vim 7 slows down when highlighting cursor line

2006-04-16 Thread Bram Moolenaar
James Player wrote: > >From: Bram Moolenaar <[EMAIL PROTECTED]> > >Date: Sat, 15 Apr 2006 22:48:29 +0200 > > > >James Player wrote: > > > > > When I enable cursor line highlighting with ":set cul" and > > > I have syntax enabled,

Vim version 7.0e BETA has been released

2006-04-16 Thread Bram Moolenaar
help bugs" in Vim. Send me a patch if you can! If something needs discussing with other developers, send a message to the vim-dev mailing list. You need to subscribe first. Happy Vimming! -- >From "know your smileys": :-*A big kiss! /// Bram Moolenaar -- [EMAIL PROTECT

Re: Perf prob: what causes tabline to trigger the call to the format function?

2006-04-16 Thread Bram Moolenaar
avior, so > I'm shooting in the dark at the moment. This can only happen when your 'tabline' option does something that would normally require the tab pages line to be redrawn. I can probably prevent the problem by resetting the flag for redrawing the tabline after evaluating

Re: Is there a setbufline() to go with getbufline() ?

2006-04-16 Thread Bram Moolenaar
internet addict: 100. The most exciting sporting events you noticed during summer 1996 was Netscape vs. Microsoft. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\downl

Re: patched ctags

2006-04-17 Thread Bram Moolenaar
to a function ctags doesn't store information. You would have to move it outside of the function. -- hundred-and-one symptoms of being an internet addict: 106. When told to "go to your room" you inform your parents that you can't...because you were kicked out and bann

Re: Segv with gvim 7.d and 7.e

2006-04-17 Thread Bram Moolenaar
not vim -g, gvim , or vim and > then do a :gui with out it seg faulting. There are several possible causes: - GCC 3.3 has bugs. Try using GCC 3.4. - Something in the Motif library. Try using another Motif library. - If that all fails, try installing GTK. -- ~ ~ ~ ".signature"

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-18 Thread Bram Moolenaar
f help. -- Why is it called "Windows"? "Gates" would be more appropriate... /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-18 Thread Bram Moolenaar
Yi Qiang wrote: > Bram Moolenaar wrote: > > The 'browsedir' option should be of help. > > > On Linux with the latest vim7 build I get: > > (gvim:14701): Gtk-CRITICAL **: gtk_file_system_unix_get_folder: > assertion `g_path_is_absolute (filename)&#

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-19 Thread Bram Moolenaar
Benji Fisher wrote: > On Tue, Apr 18, 2006 at 11:05:22AM -0700, Yi Qiang wrote: > > Bram Moolenaar wrote: > > >The 'browsedir' option should be of help. > > > > > On Linux with the latest vim7 build I get: > > > > (gvim:14701): Gtk-CRITI

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-19 Thread Bram Moolenaar
hon completion. What error is reported? Did you compile Vim with Python support? -- Did you ever see a "Hit any key to continue" message in a music piece? /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- ht

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-19 Thread Bram Moolenaar
y [EMAIL PROTECTED] > Normal version with GTK2 GUI. Features included (+) or not (-): That's indeed without gnome libraries. So why do you get an error from libgnomevfs (gnome-vfs-utils.c)? Vim isn't linked with it. Could this error actually be coming from the window manager som

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-20 Thread Bram Moolenaar
xterm, and then the > message appeared in the xterm. > > I did notice this time that the error message shows up the second > time that I do :browse e . I guess that is not surprising. As far as I can guess from Googling a bit this is a bug in some version of glib.

Re: changing cursor position from search prompt doesn't work

2006-04-20 Thread Bram Moolenaar
27;t change that while manipulating the search pattern, otherwise the search command would break. -- Press any key to continue, press any other key to quit. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- h

Re: Vim7 mouse cursor focus freaking

2006-04-20 Thread Bram Moolenaar
ds to be fixed. Is this in GUI or console Vim? -- hundred-and-one symptoms of being an internet addict: 184. You no longer ask prospective dates what their sign is, instead your line is "Hi, what's your URL?" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Mo

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-20 Thread Bram Moolenaar
asking attempted, system confused EKEYBOARD Keyboard locked, try getting out of this one! EXPLAIN Unexplained error, please tell us what happened EFUTURE Reserved for our future mistakes /// Bram Moolenaar -- [EMAIL PROTECTED] --

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-20 Thread Bram Moolenaar
give us more money! EMOUSE Mouse moved, reinstall Windows EILLEGALIllegal error, you are not allowed to see this EVIRUS Undetectable virus found /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vi

Re: bugs in spanish dictionary

2006-04-20 Thread Bram Moolenaar
-- hundred-and-one symptoms of being an internet addict: 194. Your business cards contain your e-mail and home page address. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download,

Re: bugs in spanish dictionary

2006-04-20 Thread Bram Moolenaar
Matias Grana wrote: > On Thu, Apr 20, 2006 at 01:04:07PM +0200, Bram Moolenaar wrote: > > > > Luis Jure wrote: > > > > > where can i report bugs in the spanish dictionary? > > > > > > i have just installed vim 7 (as per the gentoo ebuild) and th

Re: Building Vim7 with Visual Studio 8

2006-04-20 Thread Bram Moolenaar
rk then. -- hundred-and-one symptoms of being an internet addict: 213. Your kids start referring to you as "that guy in front of the monitor." /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/spons

Re: bugs in spanish dictionary

2006-04-20 Thread Bram Moolenaar
Matias Grana wrote: > On Thu, Apr 20, 2006 at 05:52:30PM +0200, Bram Moolenaar wrote: > > ... > > > I can see that the word "y" simply isn't there. Even my "mini travelers > > dictionary" has twelve words starting with "y", but the

RE: Building Vim7 with Visual Studio 8

2006-04-21 Thread Bram Moolenaar
Suresh Govindachar wrote: > >Bram Moolenaar wrote > > > > David Fishburn wrote: > > > > [...] > > > >> -DDYNAMIC_PYTHON_DLL=\"python24.dll\" -DFEAT_PERL -DDYNAMIC_PERL > >> -DDYNAMI C_PERL_DLL=\"perl58.dl

Re: c_CTRL-D, :find and 'path'

2006-04-21 Thread Bram Moolenaar
etion mechanism noticed that after ":find" completion should be done in 'path', but the completion isn't that clever (yet). -- A computer without Windows is like a fish without a bicycle. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///

Re: bugs in spanish dictionary

2006-04-21 Thread Bram Moolenaar
nt doorway permanently so it always looks like you are actually attempting to do something about that mess that has amassed since you discovered the Internet. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http

Re: missing initex.vim?

2006-04-21 Thread Bram Moolenaar
f being an internet addict: 241. You try to look for Net Search even when you're in File Manager. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and dis

Re: bugs in spanish dictionary

2006-04-21 Thread Bram Moolenaar
Luis Jure wrote: > el Fri, 21 Apr 2006 12:03:00 +0200 > Bram Moolenaar <[EMAIL PROTECTED]> escribi=F3: > > > > I would need a diff between the original .dic and .aff files you > > downloaded and the files used for ":mkspell". > > bram, i didn&#

Re: omnicompletion for c files?

2006-04-21 Thread Bram Moolenaar
FooBar1.ctrl-x ctrl-o > omnicompletion will find nothing to complete. > > Anyone has clues? Did you patch ctags to include the typedef information? See ":help ft-c-omni". I'm afraid Darren still didn't release a new version of ctags... -- hundred-and-one symptoms of

Re: Visual mode block change -- bug or "unchangeable"?

2006-04-22 Thread Bram Moolenaar
NCELOT: Camelot ... GAWAIN:It's only a model. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\

Re: Spell correction from GUI doesn't work

2006-04-23 Thread Bram Moolenaar
ll right! All right! We'll kill him first and then have tea and biscuits. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features --

Re: Tabline suggestion

2006-04-23 Thread Bram Moolenaar
ground, with one lance through the lot of them, they are skewered up like a barbecue. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
ed deep into my eyes and said, "You will, eventually." And, damn if she wasn't right. Two days later, I sneezed. --Ellen Degeneres /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\help me help AIDS victims -- http://www.ICCF.nl ///

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
.. - Bram -- I'd like to meet the man who invented sex and see what he's working on now. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute

Re: poll: pushkeys() or typeahead() ? or feedkeys() ?

2006-04-24 Thread Bram Moolenaar
vote ? feedkeys() sounds better. It's like feeding keys to Vim. -- Just think of all the things we haven't thought of yet. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
foo; /* ... */ } The it wouldn't work, because it's not valid C. -- Even got a Datapoint 3600(?) with a DD50 connector instead of the usual DB25... what a nightmare trying to figure out the pinout for *that* with no spex... /// Bram Moolenaar -- [EMAIL PROTECTED] -- http:/

RE: Is there a file size limit with vim? WAS: RE: strange startup/loading error

2006-04-24 Thread Bram Moolenaar
zero and "size" there must be some weird truncation problem. -- You were lucky to have a LAKE! There were a hundred and sixty of us living in a small shoebox in the middle of the road. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vo

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
allow this, looks like a bug to me (so do many others things in C++ :-). -- You were lucky. We lived for three months in a brown paper bag in a septic tank. We used to have to get up at six o'clock in the morning, clean the bag, eat a crust of stale bread, go to work down mill for fourteen ho

Re: Need help with omnicompletions

2006-04-24 Thread Bram Moolenaar
k at the mill every day for tuppence a month, come home, and Dad would beat us around the head and neck with a broken bottle, if we were LUCKY! /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\

Vim version 7.0f BETA has been released

2006-04-24 Thread Bram Moolenaar
Try different machines if possible. See ":help bugs" in Vim. Send me a patch if you can! If something needs discussing with other developers, send a message to the vim-dev mailing list. You need to subscribe first. Happy Vimming! -- I have to exercise early in the morning bef

Re: some problem with vim7f Beta

2006-04-25 Thread Bram Moolenaar
of humanity on the other line and they desparately want to ask you a few questions. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www

Re: Vim 7.0f BETA

2006-04-25 Thread Bram Moolenaar
[clop clop] GUARD #1: Halt! Who goes there? ARTHUR:It is I, Arthur, son of Uther Pendragon, from the castle of Camelot. King of the Britons, defeator of the Saxons, sovereign of all England! GUARD #1: Pull the other one! The Q

Re: failure to create de .spl files via aap

2006-04-25 Thread Bram Moolenaar
RD #1: It's not a question of where he grips it! It's a simple question of weight ratios! A five ounce bird could not carry a 1 pound coconut. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [EM

Re: C++ omnicomplete modification.

2006-04-25 Thread Bram Moolenaar
'll be stone dead in a moment. MORTICIAN:Oh, I can't take him like that -- it's against regulations. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim,

Re: Minor bug :marks col vals?

2006-04-25 Thread Bram Moolenaar
STOMER: Here's one -- nine pence. DEAD PERSON: I'm not dead! The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/spon

Re: some problem with vim7f Beta

2006-04-25 Thread Bram Moolenaar
ply doesn't go well with "longest". -- DEAD PERSON: I don't want to go in the cart! CUSTOMER: Oh, don't be such a baby. MORTICIAN:I can't take him... DEAD PERSON: I feel fine! CUSTOMER: Oh, do us a favor... MORTICIAN:I can't.

Re: some problem with vim7f Beta

2006-04-26 Thread Bram Moolenaar
or completion. Not many people know about CTRL-Y. -- DENNIS: Listen -- strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Re: some problem with vim7f Beta

2006-04-26 Thread Bram Moolenaar
Caret quote back-tick dollar dollar dash, [EMAIL PROTECTED] Bang splat equal at dollar under-score, %*<> ~#4 Percent splat waka waka tilde number four, &[]../ Ampersand bracket bracket dot dot slash, |{,,SYSTEM HALTED Vertical-bar curly-bracket c

Re: Insert Visual mode

2006-04-26 Thread Bram Moolenaar
ops the BLACK KNIGHT's left arm off] ARTHUR:Now stand aside, worthy adversary. BLACK KNIGHT: 'Tis but a scratch. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///

Re: Vim70f crash - omnicompletion

2006-04-26 Thread Bram Moolenaar
hrow out all that leftover wine. Freeze into ice cubes for future use in casseroles and sauces. MY WAY: What leftover wine? /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\help me help AIDS victims -- http://ICCF-Holland.org///

Re: Feedkeys() function is not highlighted

2006-04-26 Thread Bram Moolenaar
;Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\

Re: vimgrep slow?

2006-04-26 Thread Bram Moolenaar
cessary > 'au BufRead' and tried ':set eventignore=all'. To my 2nd surprise, > vimgrep ignored ':set eventignore=3Dall' and continued to > load BufRead autocommands and .viminfo for each file. That is a bug. Vimgrep adds something to 'eventignore'

Re: Insert Visual mode

2006-04-26 Thread Bram Moolenaar
Gerald Lai wrote: > On Wed, 26 Apr 2006, Benji Fisher wrote: > > > On Wed, Apr 26, 2006 at 05:17:01PM +0200, Bram Moolenaar wrote: > >> > >> Benji Fisher wrote: > >> > >>> This mode seems to be similar to Insert mode, but takes me to > &

Re: Bugs in feedkeys(): doesn't work with silent and vim went into a loop

2006-04-27 Thread Bram Moolenaar
ree(keys_esc); - typebuf_was_filled = TRUE; + if (vgetc_busy) + typebuf_was_filled = TRUE; } } } -- Did you ever stop to think... and forget to start again? -- Steven Wright /// Bram Moolena

Re: Insert Visual mode

2006-04-27 Thread Bram Moolenaar
normal! v > return "" >endf > > ? > > Does it go into -- (insert) VISUAL -- mode? It should. No, this is not a legal way to change mode. The CTRL-R = command is there to get text to be inserted, not to change mode. You can use CTRL-O v for that. -- It

Re: best way to handle null vs list/dict returns?

2006-04-27 Thread Bram Moolenaar
somewhere before. Then this should work fine: unlet! attach_to let attach_to = getbufvar( bufnr, 'attach_to' ) if len(attach_to) > 0 Obviously getbufvar() cannot use a default type (empty list, empty dictionary, zero...) when a va

Re: highliting matching parens problem

2006-04-27 Thread Bram Moolenaar
x27; + execute 'if' s_skip '| let s_skip = 0 | endif' + let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline) + if before > 0 call setpos('.', save_cursor) endif -- [Autumn changed into Winter ... Winter changed i

Re: vimgrep slow?

2006-04-27 Thread Bram Moolenaar
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org

Re: Bugs in feedkeys(): doesn't work with silent and vim went into a loop

2006-04-27 Thread Bram Moolenaar
BIT. A tremendous twenty second fight with Peckinpahish shots and borrowing heavily also on the Kung Fu and karate-type films ensues, in which some four KNIGHTS are comprehensively killed.] ARTHUR: Run away! Run away! "Monty Python and the Holy Grail" P

Re: Svn and patches

2006-04-27 Thread Bram Moolenaar
pshot every night. They should be in SVN within some hours. I don't know exactly how often Edward updates it, but you can assume there is a fresh Vim every morning. The zip archive is available earlier. -- An indication you must be a manager: You give constructive feedback to your dog. /

Re: overlayed lines after second tab help in GTK2 gvim70f

2006-04-28 Thread Bram Moolenaar
anks for the clear explanation. -- BEDEVERE: Oh! LAUNCELOT: No "Arrggghhh ... " at the back of the throat. BEDEVERE: No! "Oh!" in surprise and alarm! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar --

Re: vimgrep slow?

2006-04-28 Thread Bram Moolenaar
Yakov Lerner wrote: > > On 4/27/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > Before even thinking of disabling autocommands, we first need proof that > > > this actually changes the search time more than a few percent. > > > > > > Above

Re: vimgrep slow?

2006-04-28 Thread Bram Moolenaar
Yakov Lerner wrote: > > > > On 4/27/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > > > > Before even thinking of disabling autocommands, we first need proof > > > > > that > > > > > this actually changes the search time more

Re: count larger than buffer lines gives error for function-range, illogical

2006-04-28 Thread Bram Moolenaar
-- If you want to pass a number that is not a line number you need to use -range=N, where N is the default number. -- It is illegal for a driver to be blindfolded while operating a vehicle. [real standing law in Alabama, United States of America] /// Bram Moolenaar -- [EMAI

Re: count larger than buffer lines gives error for function-range, illogical

2006-04-28 Thread Bram Moolenaar
XXX() range > echo a:firstline | echo a:lastline > endfu > > "current buffer has 6 lines > :6XXX " works > :7XXX " E16: Invalid range: :7call XXX () If you look closer you can see you get a different error message now. Sorry, I should have mentioned

Re: Unifying more- and hit-enter- prompts

2006-04-29 Thread Bram Moolenaar
kill -9 you Tomorrow I'll quota you Remember the disks'll always be full And then while I'm away I'll write ~ everyday And I'll send-pr all my buggings to you. [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ] /// Bram Moolenaar -- [EMAIL

Re: the dash and the '.' repeat command

2006-04-29 Thread Bram Moolenaar
ove triviality. Weird. I can't reproduce it. What version of Vim? What system? Console or GUI? What is 'encoding' set to? -- Biting someone with your natural teeth is "simple assault," while biting someone with your false teeth is "aggravated assault.&qu

Re: synIDattr() doesn't show highlight group of misspelled word

2006-04-29 Thread Bram Moolenaar
Another bucket of what can only be described as human ordure hits ARTHUR. ARTHUR: ... Right! (to the KNIGHTS) That settles it! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///

Re: the dash and the '.' repeat command

2006-04-30 Thread Bram Moolenaar
d.. not > sure. The description is clear, but I can't reproduce it. You could at least upgrade to Vim 6.4, it includes many bug fixes. Or skip ahead to Vim 7, it's very close to a release. I have seen weird things happen with gcc optimization, you could try compiling with

Re: History and "set history=xx"

2006-04-30 Thread Bram Moolenaar
IN PLAYED: 1ST SOLDIER WITH A KEEN INTEREST IN BIRDS, DENNIS, MR DUCK (A VILLAGE CARPENTER WHO IS ALMOST KEENER THAN ANYONE ELSE TO BURN WITCHES), THREE-HEADED KNIGHT, SIR GALAHAD, KING OF SWAMP CASTLE, BROTHER MAYNARD'S ROOM

Re: Something's not working here.

2006-04-30 Thread Bram Moolenaar
one in a tab page. It will be solved in the next version. -- Every time I lose weight, it finds me again! /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distr

Vim version 7.0g BETA has been released

2006-04-30 Thread Bram Moolenaar
uot;the oral sex"; Lose "oh, fuck off"; Lose "We make castanets out of your testicles" "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///spons

Re: Tabline function sometimes recalled when highlighting set/changed.

2006-05-01 Thread Bram Moolenaar
gering > the tabline to re-update (and thus creating a loop)? How many times do I need to repeat this: Please give a reproducable example. I don't have time to guess what you are doing. -- If you don't get everything you want, think of everything you didn't get and don&

Re: 70f - Scroll wheel scrolls wrong window

2006-05-01 Thread Bram Moolenaar
ng. LARGE MAN: Why? CART DRIVER: He hasn't got shit all over him. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/

RE: Vim version 7.0g BETA has been released

2006-05-01 Thread Bram Moolenaar
b" argument somehow and you can't do that when dropping the link on the gvim icon. But you can start gvim first to do it. -- "Lisp has all the visual appeal of oatmeal with nail clippings thrown in." -- Larry W

Re: Tabline function sometimes recalled when highlighting set/changed.

2006-05-02 Thread Bram Moolenaar
ith "gt". I guess your example is missing something essential. Try starting with "vim -u NONE". -- "The future's already arrived - it's just not evenly distributed yet." -- William Gibson /// Bram Moolenaar -- [EMAIL

Re: :hardcopy E673 in gVim on GTK2

2006-05-02 Thread Bram Moolenaar
n1" and perhaps print something weird. Falling back would be fine if you use only latin1 even when the encoding is utf-8. -- BEDEVERE: Wait. Wait ... tell me, what also floats on water? ALL: Bread? No, no, no. Apples gravy ... very small rocks ... ARTHUR: A duck.

RE: 70f - Scroll wheel scrolls wrong window

2006-05-02 Thread Bram Moolenaar
hing that causes this. > Is there any settings I should check for? > The only way I can scroll the right pane is with cursor keys or dragging the > slider. > Using the mouse wheel only ever scrolls the left pane regardless of where > the cursor is. Don't you somehow have &#x

Re: Tabline function sometimes recalled when highlighting set/changed.

2006-05-02 Thread Bram Moolenaar
Benji Fisher wrote: > On Tue, May 02, 2006 at 02:17:58PM +0200, Bram Moolenaar wrote: > > > > Eric Arnold wrote: > > > > > I haven't been idle on this. I was unable to get my test case working > > > for a simple but un-obvious reason. It requires

Re: :hardcopy E673 in gVim on GTK2

2006-05-02 Thread Bram Moolenaar
be done when 'printmbcharset' is empty. Using the default charset then doesn't work. -- If your company is not involved in something called "ISO 9000" you probably have no idea what it is. If your company _is_ involved in ISO 9000 then you definitely have no idea what it i

Re: GVim Win32 - mouse cursor

2006-05-04 Thread Bram Moolenaar
> As I said it is a very minor thing but thought I would mention it. Also happens for GTK on Unix. I'll put it on my todo list. -- hundred-and-one symptoms of being an internet addict: 21. Your dog has its own home page. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar

Re: avoid "Press Enter..." with new z= from function

2006-05-05 Thread Bram Moolenaar
o catch the output with a redirection. -- "Making it up? Why should I want to make anything up? Life's bad enough as it is without wanting to invent any more of it." -- Marvin, the Paranoid Android in Douglas Adams' "The Hitchh

Re: autoformat behaves like textwidth were 80 while textwidth is 0

2006-05-05 Thread Bram Moolenaar
#x27; to only format where you want to. -- How To Keep A Healthy Level Of Insanity: 8. Don't use any punctuation marks. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, buil

Re: autoformat behaves like textwidth were 80 while textwidth is 0

2006-05-05 Thread Bram Moolenaar
Georg Dahn wrote: > --- Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > It's mentioned at "gq". Any other place it should be mentioned? > > I would say, here: > > :h fo-table > > just scroll down to > > - > With 't' and

Re: autoformat behaves like textwidth were 80 while textwidth is 0

2006-05-05 Thread Bram Moolenaar
ze gVim. > The text wraps at 80 even if the window has more than 100 cols. Ah, you have enabled auto formatting. Sorry, didn't get that at first. That is done even when 'textwidth' is zero. I'll add a remark about that. -- How To Keep A Healthy Level Of Insanity: 16.

Re: cursor shape in terminal vim

2006-05-05 Thread Bram Moolenaar
"The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\download, build and distribute -- http://www.A-A-P.org/// \\\

  1   2   3   4   5   >