* [sisyphus] vim+ruby @ 2001-11-02 3:38 Eugeny Korekin 2001-11-02 8:10 ` Sir Raorn ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Eugeny Korekin @ 2001-11-02 3:38 UTC (permalink / raw) To: sisyphus Может быть можно было бы собирать vim, который с --features=huge еще и с поддержкой ruby по умолчанию, раз уж ruby есть в sisyphus? Чем ruby хуже perl и python? %) -- WBW, Eugeny <az@ftc.ru> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] vim+ruby 2001-11-02 3:38 [sisyphus] vim+ruby Eugeny Korekin @ 2001-11-02 8:10 ` Sir Raorn 2001-11-02 8:23 ` [sisyphus] vim+ruby Mikhail Zabaluev 2001-11-02 9:57 ` [sisyphus] vim+ruby Alexander Bokovoy 2001-11-08 23:48 ` AT 2 siblings, 1 reply; 10+ messages in thread From: Sir Raorn @ 2001-11-02 8:10 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 577 bytes --] On Fri, 2 Nov 2001 09:38:30 +0600 Eugeny Korekin <az@ftc.ru> wrote: > Может быть можно было бы собирать vim, который с > --features=huge еще и с > поддержкой ruby по умолчанию, раз уж ruby есть в sisyphus? да-да! и --eanble-tclinterp, устал каждый раз пересобирать :-) > Чем ruby хуже perl и python? %) чем perl и python :-) (C) -- Regards, Sir Raorn. ,-----------------------------------.----------------------. | Registered Linux user #177282 | ICQ UIN #68527095 | `-----------------------------------^----------------------' [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [sisyphus] Re: vim+ruby 2001-11-02 8:10 ` Sir Raorn @ 2001-11-02 8:23 ` Mikhail Zabaluev 0 siblings, 0 replies; 10+ messages in thread From: Mikhail Zabaluev @ 2001-11-02 8:23 UTC (permalink / raw) To: sisyphus Hello Sir, On Fri, Nov 02, 2001 at 11:10:08AM +0300, Sir Raorn wrote: > > On Fri, 2 Nov 2001 09:38:30 +0600 > Eugeny Korekin <az@ftc.ru> wrote: > > > Может быть можно было бы собирать vim, который с > > --features=huge еще и с > > поддержкой ruby по умолчанию, раз уж ruby есть в sisyphus? > да-да! и --eanble-tclinterp, устал каждый раз пересобирать :-) Впору заводить пакет vim-gargantuan ;) -- Stay tuned, MhZ JID: mookid@jabber.org ___________ Worrying is like rocking in a rocking chair -- It gives you something to do, but it doesn't get you anywhere. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] vim+ruby 2001-11-02 3:38 [sisyphus] vim+ruby Eugeny Korekin 2001-11-02 8:10 ` Sir Raorn @ 2001-11-02 9:57 ` Alexander Bokovoy 2001-11-08 23:48 ` AT 2 siblings, 0 replies; 10+ messages in thread From: Alexander Bokovoy @ 2001-11-02 9:57 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 972 bytes --] On Fri, Nov 02, 2001 at 09:38:30AM +0600, Eugeny Korekin wrote: > Может быть можно было бы собирать vim, который с --features=huge еще и с > поддержкой ruby по умолчанию, раз уж ruby есть в sisyphus? Чем ruby хуже > perl и python? %) :-) Ничем не хуже. Особенно, если учесть, что интенсивность проникновения Ruby в Сизиф скоро усилится (сюрприз :). 2Sergei Aranovsky: было бы очень хорошо его туда добавить, в виде --enable-rubyinterp, тогда можно будет внутри VIM скрипты писать на Ruby для самого редактора. Дополнительно, было бы хорошо добавить в runtimepath http://vim.sourceforge.net/scripts/script.php?script_id=119 и http://users.erols.com/astronaut/vim/syntax/vim.vim.gz а также приаттаченный скрит, для более полноценной поддержки встроенных языков и выравнивания программ на них. -- / Alexander Bokovoy $ cat /proc/identity >~/.signature `Senior software developer and analyst for SaM-Solutions Ltd.` --- Xerox your lunch and file it under "sex offenders"! [-- Attachment #2: ruby-state --] [-- Type: text/plain, Size: 4610 bytes --] >From ruby-talk-admin@ruby-lang.org Sat Oct 27 11:18:47 2001 Return-Path: <ruby-talk-admin@ruby-lang.org> Delivered-To: ab@localhost.belcaf.minsk.by Received: from localhost (localhost.localdomain [127.0.0.1]) by pc152.belcaf.minsk.by (Postfix) with ESMTP id 7D1A61CB for <ab@localhost>; Sat, 27 Oct 2001 11:18:47 +0300 (EEST) Received: from 217.21.35.41 [217.21.35.41] by localhost with IMAP (fetchmail-5.9.0) for ab@localhost (single-drop); Sat, 27 Oct 2001 11:18:47 +0300 (EEST) Received: from helium.ruby-lang.org ([210.251.121.214]) by mail.belcaf.minsk.by (Netscape Messaging Server 4.15) with ESMTP id GLUV1S00.MAW for <a.bokovoy@sam-solutions.net>; Sat, 27 Oct 2001 11:17:52 +0300 Received: from helium.ruby-lang.org (localhost [127.0.0.1]) by helium.ruby-lang.org (Postfix) with ESMTP id B0B543C94; Sat, 27 Oct 2001 17:17:35 +0900 (JST) Received: from mail.whidbey.net (mailout.whidbey.net [209.166.64.124]) by helium.ruby-lang.org (Postfix) with SMTP id 7BFAA3B6F for <ruby-talk@ruby-lang.org>; Sat, 27 Oct 2001 17:17:34 +0900 (JST) Received: (qmail 21431 invoked from network); 27 Oct 2001 08:17:33 -0000 Received: from unknown (HELO there) (208.31.145.234) by mail2.whidbey.net with SMTP; 27 Oct 2001 08:17:33 -0000 Date: Sat, 27 Oct 2001 17:17:35 +0900 Posted: Sat, 27 Oct 2001 01:20:26 -0700 From: Ned Konz <ned@bike-nomad.com> Reply-To: ruby-talk@ruby-lang.org Subject: [ruby-talk:23609] Re: ANN: RuEdit - introspective Ruby editor To: ruby-talk@ruby-lang.org (ruby-talk ML) Message-Id: <20011027081734.7BFAA3B6F@helium.ruby-lang.org> In-Reply-To: <9r7old$opq$1@wanadoo.fr> References: <63604d2.0110190851.76343af@posting.google.com> <20011023.140232.238962600.7016@zipworld.com.au> <9r7old$opq$1@wanadoo.fr> X-ML-Name: ruby-talk X-Mail-Count: 23609 X-MLServer: fml [fml 3.0pl#17]; post only (anyone can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-talk-ctl@ruby-lang.org; help=<mailto:ruby-talk-ctl@ruby-lang.org?body=help> X-Mailer: KMail [version 1.3.1] X-Image-URL: http://bike-nomad.com/nedicon.jpg Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk Status: RO Content-Length: 2321 Lines: 78 On Wednesday 24 October 2001 06:12 pm, Benoit Cerrina wrote: > > One thing I'm thinking about is something that would allow a keystroke to > > open up myri (not sure whether it's still called that ... the GUI someone > > wrote to sit on top of the interactive reference) to the right entry for > > the function or class my cursor's on. > > Don't know how myri works but I'd say its probably easier to do it without > ruby. > I believe doing something with another scripting language than vim's own > is really usefull only when the something either: > needs data structures > is computationaly intensive > none of this apply there. > Benoit Well, here's my first usage of Ruby inside of Vim. It implements a state machine that pulls out some but not all lines from one buffer into another, then reformats them so that adjacent blocks have single blank lines between them. It was really annoying (and slow) to do in Vim because you have to explicitly switch between the buffers for every line. I did use the Vim reformatting command, though, because it's faster and simpler for this task. " Ruby function embedded in a Vim macro function! OtlMakeText() ruby <<EOF origBuffer = $curbuf lastLeader = nil lastWasBlank = true lastIndent = 0 VIM::command("new") # make a new window and switch to it newLine = 0 (1 .. origBuffer.length).each { |n| line = origBuffer[n] indent = 0 line.sub!(/^\t*/) { |tabs| indent = tabs.length; "" } if line =~ /^[|* 0-9-]/ leader = line[0,1] line.sub!(/^\| /, "") if ((lastLeader \ && leader != " " \ && leader != lastLeader) \ || indent != lastIndent) $curbuf.append(newLine, "") newLine = newLine+1 lastWasBlank = true end else leader = nil line = "" end isBlank = (line == "") unless isBlank && lastWasBlank $curbuf.append(newLine, line) newLine = newLine+1 end lastWasBlank = isBlank lastLeader = leader lastIndent = indent } VIM::command("set tw=80") # set textwidth VIM::command("normal 1GgqG") # re-format buffer VIM::command("wincmd p") # return to last window EOF endfunction -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] vim+ruby 2001-11-02 3:38 [sisyphus] vim+ruby Eugeny Korekin 2001-11-02 8:10 ` Sir Raorn 2001-11-02 9:57 ` [sisyphus] vim+ruby Alexander Bokovoy @ 2001-11-08 23:48 ` AT 2001-11-09 1:43 ` Eugeny Korekin 2001-11-09 8:40 ` Dmitry V. Levin 2 siblings, 2 replies; 10+ messages in thread From: AT @ 2001-11-08 23:48 UTC (permalink / raw) To: Siyiphus А вообще соберут когда-нибудь нормальный vim??? :((( У меня на работе RH6.2 и там vim там абсолютно приличный, а дома $ rpm -q vim-enhanced vim-enhanced-6.0-alt0.6.aq который не умеет ровным счетом ничего... $ vim --version VIM - Vi IMproved 6.0aq BETA (2001 Aug 5, compiled Aug 6 2001 15:22:37) Compiled by ldv@basalt.office.altlinux.ru Tiny version without GUI. Features included (+) or not (-): -autocmd -balloon_eval -browse +builtin_terms -byte_offset -cindent -clipboard -cmdline_compl -cmdline_hist -cmdline_info -comments -cryptv -cscope -dialog -diff -digraphs -ebcdic -emacs_tags -eval -ex_extra -extra_search -farsi -file_in_path -find_in_path -folding -footer +fork() -gettext -hangul_input -iconv -insert_expand -jumplist -keymap -langmap -libcall -linebreak -lispindent -listcmds -localmap -keymap -menu -mksession -modify_fname -mouse -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_xterm -multi_byte -multi_lang -osfiletype -path_extra -perl -printer -python -quickfix -rightleft -ruby -scrollbind -signs -smartindent -sniff -statusline -sun_workshop -syntax -tag_binary -tag_old_static -tag_any_white -tcl +terminfo -termresponse -textobjects -title -toolbar -user_commands -vertsplit -virtualedit -visual -viminfo -vreplace +wildignore -wildmenu -windows +writebackup -X11 -xfontset -xim -xcmdsrv -xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 Linking: gcc -L/usr/local/lib -o vim -ltermcap -ldl On Fri, Nov 02, 2001 at 09:38:30AM +0600, Eugeny Korekin wrote: > Может быть можно было бы собирать vim, который с --features=huge еще и с > поддержкой ruby по умолчанию, раз уж ruby есть в sisyphus? Чем ruby хуже > perl и python? %) > > -- > WBW, Eugeny <az@ftc.ru> __ AT ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] vim+ruby 2001-11-08 23:48 ` AT @ 2001-11-09 1:43 ` Eugeny Korekin 2001-11-09 8:40 ` Dmitry V. Levin 1 sibling, 0 replies; 10+ messages in thread From: Eugeny Korekin @ 2001-11-09 1:43 UTC (permalink / raw) To: sisyphus > А вообще соберут когда-нибудь нормальный vim??? :((( hint: use vim-X11 -- WBW, Eugeny. np: %s Спеша, давясь любимым человеком... -- Владимир Вишневский ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] vim+ruby 2001-11-08 23:48 ` AT 2001-11-09 1:43 ` Eugeny Korekin @ 2001-11-09 8:40 ` Dmitry V. Levin 2001-11-09 12:25 ` [sisyphus] gvim AT 1 sibling, 1 reply; 10+ messages in thread From: Dmitry V. Levin @ 2001-11-09 8:40 UTC (permalink / raw) To: ALT Linux Sisyphus mailing list [-- Attachment #1: Type: text/plain, Size: 3093 bytes --] On Fri, Nov 09, 2001 at 02:48:29AM +0300, AT wrote: > А вообще соберут когда-нибудь нормальный vim??? :((( > > У меня на работе RH6.2 и там vim там абсолютно приличный, а дома > > $ rpm -q vim-enhanced > vim-enhanced-6.0-alt0.6.aq > > который не умеет ровным счетом ничего... У Вас устаревшая информация. Для сравнения привожу вывод "gvim --version": VIM - Vi IMproved 6.0 (2001 Sep 26, compiled Oct 30 2001 14:39:40) Included patches: 1-26 Compiled by inger@basalt.office.altlinux.ru Huge version with GTK GUI. Features included (+) or not (-): +autocmd -balloon_eval +browse ++builtin_terms +byte_offset +cindent -clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +dialog_con_gui +diff +digraphs -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -osfiletype +path_extra +perl +postscript +printer +python +quickfix +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset +xim -xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 -I/usr/X11R6/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/i386-linux/CORE -I/usr/include/python2.1 Linking: gcc -L/usr/X11R6/lib -rdynamic -Wl,-rpath,/usr/lib/perl5/i386-linux/CORE -L/usr/local/lib -o vim -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lXt -lncurses -lgpm -ldl -rdynamic -Wl,-rpath,/usr/lib/perl5/i386-linux/CORE -L/usr/local/lib /usr/lib/perl5/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/i386-linux/CORE -lperl -lbind -ldl -lcrypt -lutil /usr/lib/python2.1/config/libpython2.1.a -lpthread -ldl -lutil -lm Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [sisyphus] gvim 2001-11-09 8:40 ` Dmitry V. Levin @ 2001-11-09 12:25 ` AT 2001-11-09 12:36 ` Artem K. Jouravsky 2001-11-09 12:51 ` Aleksey Novodvorsky 0 siblings, 2 replies; 10+ messages in thread From: AT @ 2001-11-09 12:25 UTC (permalink / raw) To: Siyiphus > У Вас устаревшая информация. > Для сравнения привожу вывод "gvim --version": Файла gvim у меня нету. apt-cache search gvim молчит. Какие пакеты надо устанавливать? Без поллитры не разобраться! Ну так я, ворчу... брюзжит... :) > VIM - Vi IMproved 6.0 (2001 Sep 26, compiled Oct 30 2001 14:39:40) > Included patches: 1-26 > Compiled by inger@basalt.office.altlinux.ru > Huge version with GTK GUI. Features included (+) or not (-): > +autocmd -balloon_eval +browse ++builtin_terms +byte_offset +cindent > Regards, > Dmitry __ AT ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] gvim 2001-11-09 12:25 ` [sisyphus] gvim AT @ 2001-11-09 12:36 ` Artem K. Jouravsky 2001-11-09 12:51 ` Aleksey Novodvorsky 1 sibling, 0 replies; 10+ messages in thread From: Artem K. Jouravsky @ 2001-11-09 12:36 UTC (permalink / raw) To: sisyphus Здравствуйте, AT <alexey_tourbin@mail.ru>! От Fri, 9 Nov 2001 15:25:13 +0300 вы писали на тему [sisyphus] gvim: > > > У Вас устаревшая информация. > > Для сравнения привожу вывод "gvim --version": > > Файла gvim у меня нету. > apt-cache search gvim молчит. > Какие пакеты надо устанавливать? > > Без поллитры не разобраться! > Ну так я, ворчу... брюзжит... :) apt-get install vim-X11 ;) ------ Best wishes, +----------------------+--------------------------+ | ."-. | Work: +7-(095)-229-4278 | | /X | _o.----. _ | ICQ: 103399444 | |/\_ \/ / __ \_// ) | Artem K. Jouravsky | |\__)-/_/\_____)____/ | http://www.ifirst.ru/ | +----------------------+--------------------------+ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] gvim 2001-11-09 12:25 ` [sisyphus] gvim AT 2001-11-09 12:36 ` Artem K. Jouravsky @ 2001-11-09 12:51 ` Aleksey Novodvorsky 1 sibling, 0 replies; 10+ messages in thread From: Aleksey Novodvorsky @ 2001-11-09 12:51 UTC (permalink / raw) To: sisyphus AT wrote: > > У Вас устаревшая информация. > > Для сравнения привожу вывод "gvim --version": > > Файла gvim у меня нету. > apt-cache search gvim молчит. > Какие пакеты надо устанавливать? > vim-X11 Rgrds, AEN ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-11-09 12:51 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-11-02 3:38 [sisyphus] vim+ruby Eugeny Korekin 2001-11-02 8:10 ` Sir Raorn 2001-11-02 8:23 ` [sisyphus] vim+ruby Mikhail Zabaluev 2001-11-02 9:57 ` [sisyphus] vim+ruby Alexander Bokovoy 2001-11-08 23:48 ` AT 2001-11-09 1:43 ` Eugeny Korekin 2001-11-09 8:40 ` Dmitry V. Levin 2001-11-09 12:25 ` [sisyphus] gvim AT 2001-11-09 12:36 ` Artem K. Jouravsky 2001-11-09 12:51 ` Aleksey Novodvorsky
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git