Re: [Cygwin] Configure Detects Incorrect Ruby Version

2007-06-05 Thread Alexey I. Froloff
* Taylor Venable taylor@ [070605 06:48]: ruby: no such file to load -- ubygems (LoadError) This is pretty clearly supposed to be the rubygems module, You have -rubygems somewhere in your $RUBYOPTS environment variable. Either unset this variable before building vim, check your

crash due to -fstack-protector false positive

2007-02-23 Thread Alexey I. Froloff
/* My free translation of * https://bugzilla.altlinux.org/show_bug.cgi?id=10911 */ i586-alt-linux-gcc (GCC) 4.1.1 20070105 (ALT Linux, build 4.1.1-alt11) glibc 2.5 (glibc-2_5-branch snapshot 20070112) Vim built with CFLAGS containing -fstack-protector (turned on by default in gcc). All Vim

Re: Highlighting keywords from C libraries

2007-02-22 Thread Alexey I. Froloff
* Gautam Iyer gautam@ [070222 11:42]: Anyways, following suggestions from this thread I made the following modifications: Well, I'd also suggested to split it to many different files: syntax/c.vim syntax/c/ansi.vim syntax/c/susv3.vim syntax/c/xlib.vim ... with something like if

Re: Highlighting keywords from C libraries

2007-02-21 Thread Alexey I. Froloff
* Gautam Iyer gautam@ [070221 12:17]: I find it useful to have standard functions and constants in C libraries highlighted. I attach syntax files for this purpose. Check out the std_c syntax, http://www.eandem.co.uk/mrw/vim/syntax/ -- Regards, Sir Raorn. signature.asc Description: Digital

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-22 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [061022 14:27]: How do you distinguish between someone typing Esc key and Esc key generated by Alt+key? I don't. No program can do that, as Tony mentioned earlier. bash (readline) for example: M-b - backward-word Alt+b and Escb works both the same, if Alt+Key sends

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-22 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [061022 17:41]: I don't want to support that, because it causes mistakes. Consider being in Insert mode and typing Esc o to open a new line or Esc n to find the next match. A timeout won't help, the two keys can be typed within ten msec. So, all plugins that imap

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-22 Thread Alexey I. Froloff
* A.J.Mechelynck antoine.mechelynck@ [061022 22:41]: - Maybe Bram Moolenaar can type at 100 keystrokes / second, I can't. [..skip..] http://marc.theaimsgroup.com/?l=vim-devm=116133874121615w=2 Please, read this. Twice. I can't enter CYRILLIC CAPITAL I if I have imap on M-i. - There is

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-21 Thread Alexey I. Froloff
* A.J.Mechelynck antoine.mechelynck@ [061021 08:01]: IMHO, the way to configure it is not by hacking Vim but (at least in console Vim) by having a properly-built termcap/terminfo which tells Vim which codes correspond to which keys. IIRC, only user can tell what will Meta+Key send and it has

Re: insert-mode :map-alt-keys and 8-bit locales

2006-10-20 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [061020 23:04]: Read again: Vim _assumes_ the Alt key sets the 8th bit. What about GVim? If this doesn't happen, then you need to map the character that is produced instead of M-x. So, M-x is a shortcut for (x | 0x80)? This is not right. Not _always_ right. In

insert-mode :map-alt-keys and 8-bit locales

2006-10-19 Thread Alexey I. Froloff
There is bug in vim... According to :help :map-alt-keys : By default Vim assumes that pressing the ALT key sets the 8th bit of a typed character. This is wrong for 8-bit non-ascii locales. Example: :imap M-i something maps CYRILLIC CAPITAL I (in KOI8-R locale) instead of Alt-I. Also, vim

Q: rsync://ftp.vim.org/Vim/runtime/ - when?

2006-10-08 Thread Alexey I. Froloff
When current version of vim runtime will be updated for latest patches? Patch 111 modifies autoload/gzip.vim and doc/eval.txt which are still outdated on ftp... -- Regards, Sir Raorn. signature.asc Description: Digital signature

Re: Python/Ruby completion requires language interface ?

2006-09-28 Thread Alexey I. Froloff
* A.J.Mechelynck antoine.mechelynck@ [060928 01:06]: It surprised me because, after all, Vim doesn't need to be a C compiler to run ccomplete.vim, But it still needs tags information, generated bu ctags, for example... -- Regards, Sir Raorn. signature.asc Description: Digital signature

Re: GTK2 gui_gtk_position_in_parent() - bad indenting or missing operator?

2006-09-17 Thread Alexey I. Froloff
* Alexey I. Froloff raorn@ [060917 16:45]: Running for i in `seq 1 40`; do gvim-gtk2 -u NONE -U NONE --cmd 'set lines='; done gives me one unresized gvim window. With 'lines' set to 123! -- Regards, Sir Raorn. signature.asc Description: Digital signature

Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-02 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [060902 16:23]: Thanks. I notice you rename tutor.ru to tutor.ru.koi8. Is there anything against keeping the old name? It's because tutor.ru is default file. Now there's no such thing like default russian encoding. I think it's better check if current locale is

[PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-01 Thread Alexey I. Froloff
the above lines and modified by ! Alexey I. Froloff [EMAIL PROTECTED] for Russian vim tutorial ! if s:ext =~? '\.ru' enc =~ 1251 ! let s:ext = .ru.cp1251 endif Somehow .ge (Germany) is sometimes used for .de (Deutsch). --- 103,115 let s:ext = .sk.cp1250 endif

Re: Bad QUOTESED expression in src/Makefile

2006-09-01 Thread Alexey I. Froloff
* Alexey I. Froloff raorn@ [060831 01:27]: I think QUOTESED should look like: QUOTESED = sed -e 's/[\\]/\\/g' -e 's/\\//' -e 's/\\;$$/;/' Patch attached. -- Regards, Sir Raorn. diff -cdrN ../vim70-orig/src/Makefile src/Makefile *** ../vim70-orig/src/Makefile Fri Sep 1 17:18:36 2006 --- src

Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-01 Thread Alexey I. Froloff
encodings, guess which one to use. ! This segment is from the above lines and modified by ! Alexey I. Froloff [EMAIL PROTECTED] for Russian vim tutorial ! if s:ext =~? '\.ru' enc =~ 1251 ! let s:ext = .ru.cp1251 endif Somehow .ge (Germany) is sometimes used for .de (Deutsch). --- 103,117

Re: Unable to use :setf from $VIMRUNTIME/ftdetect/*.vim

2006-08-30 Thread Alexey I. Froloff
* Alexey I. Froloff raorn@ [060830 21:21]: Solution is simple - source ftdetect/*.vim before conf fallback. Also, it would be nice to use StarSetf() from ftdetect/*.vim... -- Regards, Sir Raorn. signature.asc Description: Digital signature

Re: Unable to use :setf from $VIMRUNTIME/ftdetect/*.vim

2006-08-30 Thread Alexey I. Froloff
* A.J.Mechelynck antoine.mechelynck@ [060830 23:53]: 1. You should never create, delete or modify any file in the $VIMRUNTIME By $VIMRUNTIME I mean rtp. Those file comes modified from vim-* rpm packages and I just want to _package_ system-specific settings in separate file instead of rediff'ing

Bad QUOTESED expression in src/Makefile

2006-08-30 Thread Alexey I. Froloff
There is QUOTESED expression for creating auto/pathdef.c: QUOTESED = sed -e 's//\\/g' -e 's/\\//' -e 's/\\;$$/;/' ... @echo 'char_u *default_vim_dir = (char_u *)$(VIMRCLOC);' | $(QUOTESED) $@ However: gcc -c -I. -Iproto -DHAVE_CONFIG_H -pipe -Wall -O2 -march=pentium4

Re: Bad QUOTESED expression in src/Makefile

2006-08-30 Thread Alexey I. Froloff
* A.J.Mechelynck antoine.mechelynck@ [060831 02:48]: Hmmm... it seems you configured a nonstandard location for your system vimrc and gvimrc. I have CFLAGS with escaped quotes. Backslashes should be escaped too. ; compiling pathdef.c gives me no errors or warnings whatsoever. How did you

Re: Patch 7.0.048

2006-08-16 Thread Alexey I. Froloff
* Alexey I. Froloff raorn@ [060816 12:23]: A patch for the documentation is missing, this is required to see what the intention of shellescape() is. OK, I'll update patch. Attached, fixed, documented, tested. In whatever order ;-) P.S. I don't have cproto and can't make proto

Re: Patch 7.0.048

2006-08-16 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [060816 15:57]: Are these characters allowed anyway? Well, it's not our problem. shellescape() is used to safely pass arbitrary string to shell command as one argument. It's not necessary to be a file name - it just needs to be expanded by shell to same string. P.S. Now

Re: Patch 7.0.048

2006-08-15 Thread Alexey I. Froloff
* Bram Moolenaar Bram@ [060808 22:52]: ! call system(a:cmd . ' . nmt . ') This patch is evil (:-E~~~). Better add shellescape() function to Vim and properly escape argument. Patch attached. I'm not sure if I handle WIN/UNIX defines properly, also I don't know how to shell-escape string on

Re: svn, cvs

2006-06-17 Thread Alexey I. Froloff
* Suresh Govindachar sgovindachar@ [060618 01:27]: Am I doing something wrong, or is cvs just down? CVS access has been changed some time ago. Use :pserver:[EMAIL PROTECTED]:/cvsroot/vim as cvsroot. -- Regards, Sir Raorn. signature.asc Description: Digital signature

Missing new highlight groups list

2006-05-05 Thread Alexey I. Froloff
I think new highlight groups (Spell*, Pmenu*, etc) should be listed somewhere in version7.txt. Not all colorschemes support new vim features ant it's unclear for users how to change color of that ugly magenta square. The point is to list all new groups in one place with links do detailed