Re: Vim 7.3a ready for beta testing
On Sep 7, 10:26 pm, David Wilhelm dewilh...@gmail.com wrote: The reason people write Javascript is because it's the only choice for making applications run in a browser. Otherwise it's not a very good language. I can't think of any good reason to write Vim plugins in Javascript instead of a decent language, such as Python. I just wanted to add my support to the idea of adding Javascript bindings. I love Vim, and I love Javascript. I would very much like to use it to write Vim scripts. I suspect I am not alone. For what it's worth, other editors (notably to my knowledge, UltraEdit) use Javascript or a Javascript-based language for their scripting. Personally, I never use scripting languages other than vimscript for controlling Vim, and find it a hassle to install one for the sake of a plugin. I haven't found a plugin yet which uses another scripting language and I've wanted enough to try installing it. Of course, I have installed fewer than a dozen plugins total, so maybe I'm not the target audience for such plugins anyway. -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Bram Moolenaar Bram at Moolenaar.net writes: Mikeyao wrote: Vim support many languages interface and I just found new lua interface added in 7.3. I think most programmers know javascript and like it, it's going to mainstream. Many web developers using vim, they know javascript well. The reason people write Javascript is because it's the only choice for making applications run in a browser. Otherwise it's not a very good language. I can't think of any good reason to write Vim plugins in Javascript instead of a decent language, such as Python. I just wanted to add my support to the idea of adding Javascript bindings. I love Vim, and I love Javascript. I would very much like to use it to write Vim scripts. I suspect I am not alone. -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Le Sun, 18 Jul 2010 22:51:51 +0200, Bram Moolenaar a écrit dans le message 201007182051.o6ikpper028...@masaka.moolenaar.net : Announcing: Vim (Vi IMproved) version 7.3a BETA Thanks Bram and all working for this version. rnu is a very good idea. I can compile with Borland C++ 5.5 / Win 98 (huge + perl). Attached patch explains a variable for LifeLines syntax coloring. -- Patrick Texier -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php syntax-ll.patch Description: Binary data
Re: Vim 7.3a ready for beta testing
Patrick Texier wrote: Le Sun, 18 Jul 2010 22:51:51 +0200, Bram Moolenaar a écrit dans le message 201007182051.o6ikpper028...@masaka.moolenaar.net : Announcing: Vim (Vi IMproved) version 7.3a BETA Thanks Bram and all working for this version. rnu is a very good idea. I can compile with Borland C++ 5.5 / Win 98 (huge + perl). Attached patch explains a variable for LifeLines syntax coloring. Thanks. Next version coming up... -- Lawmakers made it obligatory for everybody to take at least one bath each week -- on Saturday night. [real standing law in Vermont, United States of America] /// Bram Moolenaar -- b...@moolenaar.net -- 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/// -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Mikeyao (?) wrote: Why not javascript interface ? The code has developed. http://www.vim.org/scripts/script.php?script_id=2375 I haven't actually heard from someone using it. Also, I have no idea why someone would want to write plugins in Javascript. Perhaps because it's the only language someone knows? -- Vi beats Emacs to death, and then again! http://linuxtoday.com/stories/5764.html /// Bram Moolenaar -- b...@moolenaar.net -- 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/// -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Vim support many languages interface and I just found new lua interface added in 7.3. I think most programmers know javascript and like it, it's going to mainstream. Many web developers using vim, they know javascript well. On Jul 21, 5:38 pm, Bram Moolenaar b...@moolenaar.net wrote: Mikeyao (?) wrote: Why not javascript interface ? The code has developed. http://www.vim.org/scripts/script.php?script_id=2375 I haven't actually heard from someone using it. Also, I have no idea why someone would want to write plugins in Javascript. Perhaps because it's the only language someone knows? -- Vi beats Emacs to death, and then again! http://linuxtoday.com/stories/5764.html /// Bram Moolenaar -- b...@moolenaar.net --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 /// -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Please bottom post on this list... I'm reformatting... On Wed, Jul 21, 2010 at 6:05 AM, mikeyao yaoweiz...@gmail.com wrote: On Jul 21, 5:38 pm, Bram Moolenaar b...@moolenaar.net wrote: Mikeyao (?) wrote: Why not javascript interface ? The code has developed. http://www.vim.org/scripts/script.php?script_id=2375 I haven't actually heard from someone using it. Also, I have no idea why someone would want to write plugins in Javascript. Perhaps because it's the only language someone knows? Vim support many languages interface and I just found new lua interface added in 7.3. I think most programmers know javascript and like it, it's going to mainstream. Many web developers using vim, they know javascript well. I haven't tried the JS interface patch, but I definitely would like to see a javascript interface. I don't know Lua, TCL or Ruby (though I intend to learn the latter one day), I don't like to use Perl or Python for anything more than a few dozen lines, and I hate Scheme almost as much as Lisp. Javascript is a powerful, easy to learn, multi-paradigm language that was designed for embedding, so I think it's a perfect fit for a Vim interface - and I personally would be more likely to use it than any of the other interfaces. ~Matt -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
On 2010年07月22日 00:03, Matt Wozniski wrote: Please bottom post on this list... I'm reformatting... On Wed, Jul 21, 2010 at 6:05 AM, mikeyaoyaoweiz...@gmail.com wrote: On Jul 21, 5:38 pm, Bram Moolenaarb...@moolenaar.net wrote: Mikeyao (?) wrote: Why not javascript interface ? The code has developed. http://www.vim.org/scripts/script.php?script_id=2375 I haven't actually heard from someone using it. Also, I have no idea why someone would want to write plugins in Javascript. Perhaps because it's the only language someone knows? Vim support many languages interface and I just found new lua interface added in 7.3. I think most programmers know javascript and like it, it's going to mainstream. Many web developers using vim, they know javascript well. I haven't tried the JS interface patch, but I definitely would like to see a javascript interface. I don't know Lua, TCL or Ruby (though I intend to learn the latter one day), I don't like to use Perl or Python for anything more than a few dozen lines, and I hate Scheme almost as much as Lisp. Javascript is a powerful, easy to learn, multi-paradigm language that was designed for embedding, so I think it's a perfect fit for a Vim interface - and I personally would be more likely to use it than any of the other interfaces. if_v8 is a bit different from other if_*. It is not written as patch for mainline. My main goal of if_v8 plugin is to create a pluggable extension and to find what is required and what is good way for it. -- Yukihiro Nakadaira - yukihiro.nakada...@gmail.com -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Mikeyao wrote: Vim support many languages interface and I just found new lua interface added in 7.3. I think most programmers know javascript and like it, it's going to mainstream. Many web developers using vim, they know javascript well. The reason people write Javascript is because it's the only choice for making applications run in a browser. Otherwise it's not a very good language. I can't think of any good reason to write Vim plugins in Javascript instead of a decent language, such as Python. -- The Law of VIM: For each member b of the possible behaviour space B of program P, there exists a finite time t before which at least one user u in the total user space U of program P will request b becomes a member of the allowed behaviour space B' (B' = B). In other words: Sooner or later everyone wants everything as an option. -- Vince Negri /// Bram Moolenaar -- b...@moolenaar.net -- 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/// -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
On Mon, Jul 19, 2010 at 3:17 PM, Bram Moolenaar b...@moolenaar.net wrote: If you can make this work with a configure argument, it's fine to include these changes and leave them disabled by default. For your distribution, with a known environment, you could enable them. Attached patch enables dynamic loading for Perl if --enable-perlinterp=dynamic is used. I also moved the use of PERL_CFLAGS in src/Makefile so they're only used when compiling if_perl.c and if_perlsfio.c. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@jamessan.com -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php dynamic-perl.diff Description: Binary data
Re: Vim 7.3a ready for beta testing
Why not javascript interface ? The code has developed. http://www.vim.org/scripts/script.php?script_id=2375 -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
On Sun, Jul 18, 2010 at 4:51 PM, Bram Moolenaar b...@moolenaar.net wrote: The biggest additions since 7.2: - Persistent undo - Blowfish encryption, also encrypt the swap file - Conceal text - Lua interface - Python 3 interface Since Vim keeps gaining support for more language interfaces, is there a reason not to make them all dynamically loaded? This already happens on Windows and on configure-using systems where Python 2 and Python 3 support are enabled at the same time. I would find this quite useful from my stance as the maintainer for the Vim packages in Debian since that would allow me to enable the language bindings in more packages (and enable more languages) without forcing the users to install those libraries in order for Vim to run. As it currently stands, I don't build the mzscheme interface and don't plan to build the lua or python3 interfaces. If changing the language interfaces to dynamic loading is something that would be accepted for 7.3, I'd be willing to work on the patches. I already have a first pass at doing so for the Perl interface. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@jamessan.com -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
James Vega wrote: On Sun, Jul 18, 2010 at 4:51 PM, Bram Moolenaar b...@moolenaar.net wrote: The biggest additions since 7.2: - Persistent undo - Blowfish encryption, also encrypt the swap file - Conceal text - Lua interface - Python 3 interface Since Vim keeps gaining support for more language interfaces, is there a reason not to make them all dynamically loaded? This already happens on Windows and on configure-using systems where Python 2 and Python 3 support are enabled at the same time. I would find this quite useful from my stance as the maintainer for the Vim packages in Debian since that would allow me to enable the language bindings in more packages (and enable more languages) without forcing the users to install those libraries in order for Vim to run. As it currently stands, I don't build the mzscheme interface and don't plan to build the lua or python3 interfaces. If changing the language interfaces to dynamic loading is something that would be accepted for 7.3, I'd be willing to work on the patches. I already have a first pass at doing so for the Perl interface. Most Unix systems already use shared libraries. That still means the libraries need to be installed for Vim to startup, but memory use is reduced a lot. I'm not sure if this works everywhere. Also, it increases the chance of runtime failure, instead of failing on startup. I see the current dynamic loading when both Python and Python 3 are supported an experiment. Let's see how this goes. If you can make this work with a configure argument, it's fine to include these changes and leave them disabled by default. For your distribution, with a known environment, you could enable them. -- 5 out of 4 people have trouble with fractions. /// Bram Moolenaar -- b...@moolenaar.net -- 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/// -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
Re: Vim 7.3a ready for beta testing
Bram Moolenaar wrote: Please report every problem you find! The time until a 7.3 release depends on how many problems are reported. Attached patch fixes a few typos in help files. -- Dominique -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php diff -r 7b0ae815c70a runtime/doc/ft_sql.txt --- a/runtime/doc/ft_sql.txt Mon Jul 19 21:51:01 2010 +0200 +++ b/runtime/doc/ft_sql.txt Mon Jul 19 22:33:57 2010 +0200 @@ -205,7 +205,7 @@ *sqlanywhere* *oracle* *plsql* *sqlj* *sqlserver* - *mysql* *postgress* *psql* + *mysql* *postgres* *psql* *informix* All relational databases support SQL. There is a portion of SQL that is diff -r 7b0ae815c70a runtime/doc/if_perl.txt --- a/runtime/doc/if_perl.txt Mon Jul 19 21:51:01 2010 +0200 +++ b/runtime/doc/if_perl.txt Mon Jul 19 22:33:57 2010 +0200 @@ -277,7 +277,7 @@ To use the Perl interface the Perl DLL must be in your search path. If Vim reports it cannot find the perl512.dll, make sure your $PATH includes -the directory where it is localted. The Perl installer normally does that. +the directory where it is located. The Perl installer normally does that. In a console window type path to see what directories are used. The name of the DLL must match the Perl version Vim was compiled with. diff -r 7b0ae815c70a runtime/doc/mbyte.txt --- a/runtime/doc/mbyte.txt Mon Jul 19 21:51:01 2010 +0200 +++ b/runtime/doc/mbyte.txt Mon Jul 19 22:33:57 2010 +0200 @@ -947,7 +947,7 @@ WHAT IS IME IME is a part of East asian version Windows. That helps you to input multibyte character. English and other language version Windows does not -have any IME. (Also there are no need usually.) But there is one that +have any IME. (Also there is no need usually.) But there is one that called Microsoft Global IME. Global IME is a part of Internet Explorer 4.0 or above. You can get more information about Global IME, at below URL. diff -r 7b0ae815c70a runtime/doc/usr_32.txt --- a/runtime/doc/usr_32.txt Mon Jul 19 21:51:01 2010 +0200 +++ b/runtime/doc/usr_32.txt Mon Jul 19 22:33:57 2010 +0200 @@ -29,7 +29,7 @@ The f stands for file here. You can repeat this command to go further back in the past. Or use a count -diferent from 1 to go back faster. +different from 1 to go back faster. If you go back too far, go forward again with: diff -r 7b0ae815c70a runtime/doc/version7.txt --- a/runtime/doc/version7.txt Mon Jul 19 21:51:01 2010 +0200 +++ b/runtime/doc/version7.txt Mon Jul 19 22:33:57 2010 +0200 @@ -307,7 +307,7 @@ Tab pages *new-tab-pages* - -A tab page is page with one or more windows with a label (aka tab) at the top. +A tab page is a page with one or more windows with a label (aka tab) at the top. By clicking on the label you can quickly switch between the tab pages. And with the keyboard, using the |gt| (Goto Tab) command. This is a convenient way to work with many windows. @@ -2763,7 +2763,7 @@ A few more changes for 64 bit MS-Windows. (George Reilly) Got ml_get errors when doing o and selecting in other window where there are -less line shorter than the cursor position in the other window. ins_mouse() +less lines shorter than the cursor position in the other window. ins_mouse() was using position in wrong window. Win32 GUI: Crash when giving a lot of messages during startup. Allocate twice @@ -2943,7 +2943,7 @@ match. Now show the cursor after the match while still searching for matches. GUI: The mouse shape changed on the statusline even when 'mouse' was empty and -they can't be dragged.. +they can't be dragged. GTK2: Selecting a button in the confirm() dialog with Tab or cursor keys and hitting Enter didn't select that button. Removed GTK 1 specific code. (Neil @@ -7433,7 +7433,7 @@ Files: src/ui.c Patch 7.2.014 -Problem:synstack() doesn't work in an emptly line. +Problem:synstack() doesn't work in an empty line. Solution: Accept column zero as a valid position. Files: src/eval.c @@ -7783,7 +7783,7 @@ Files: src/spell.c Patch 7.2.070 -Problem:Crash when a function returns a:000. (Matt Wozkiski) +Problem:Crash when a function returns a:000. (Matt Wozniski) Solution: Don't put the function struct on the stack, allocate it. Free it only when nothing in it is used. Files: src/eval.c @@ -7880,7 +7880,7 @@ Patch 7.2.085 Problem::set M-b=Escb does not work when 'encoding' is utf-8. Solution: Put the M-b character in the input buffer as valid utf-8. - (partly by Matt Wosniski) + (partly by Matt Wozniski) Files: src/term.c Patch 7.2.086 @@ -7891,7 +7891,7 @@ Patch 7.2.087 Problem:Adding URL to 'path' doesn't work to edit a file. -Solution: Skip simplify_filename() for URLs. (Matt Wosniski) +Solution: Skip simplify_filename() for URLs.
Vim 7.3a ready for beta testing
Hello Vim users, Announcing: Vim (Vi IMproved) version 7.3a BETA This is a BETA release of Vim 7.3. It consists of Vim 7.2 plus all patches, updated runtime files and some more. 7.3a both includes lots of fixes and a few new features. Everything needs to be tested to verify no new problems have been introduced. Please report every problem you find! The time until a 7.3 release depends on how many problems are reported. The biggest additions since 7.2: - Persistent undo - Blowfish encryption, also encrypt the swap file - Conceal text - Lua interface - Python 3 interface Once you have installed Vim 7.3a BETA you can find details about the changes since Vim 7.2 with: :help version-7.3 Known problem: The MS-Windows self-installing executable sets the wrong path for the uninstaller. You can uninstall Vim through the menu: Start/All Programs/Vim 7.3a/Uninstall Testing --- Please especially test the persistent undo and encryption. These need to work reliably. Report anything that isn't right. That includes a crash but also a typo in the documentation. Gratitude - If you like Vim, this is the way to say thanks: http://iccf-holland.org/clinic.html Where to get it --- The best way to obtain the latest Vim 7.3 is using Mercurial. Summary: hg clone https://vim.googlecode.com/hg/ vim cd vim hg update vim73 More information here: http://www.vim.org/mercurial.php All files can be found below this directory: ftp://ftp.vim.org/pub/vim/unstable/ Information about which files to download for what system (don't use the links, they are still for Vim 7.2): http://www.vim.org/download.php A list of mirror sites can be found here: http://www.vim.org/mirrors.php An overview of the files below unstable: UNIX: unix/vim-7.3a.tar.bz2 sources + runtime files, bzip2 compressed MS-WINDOWS one-size-fits-all: pc/gvim73a.exe self-installing, includes all runtime files VARIOUS: doc/vim73ahtml.zip help files converted to HTML MS-WINDOWS separate files: pc/vim73art.zip runtime files pc/gvim73a.zip GUI binary for Windows 95/98/NT/2000/XP pc/gvim73aole.zip GUI binary with OLE support pc/gvim73a_s.zipGUI binary for Windows 3.1 (untested) pc/vim73ad32.zipconsole version for MS-DOS/Windows 95/98 pc/vim73aw32.zipconsole version for Windows NT/2000/XP pc/vim73asrc.zipsources for PC (with CR-LF) DIFFS TO PREVIOUS RELEASE: unix/vim-7.2-7.3a.diff.gz sources + runtime files Omitted in this version are: - Extra and lang archives, these are now included in the main source and runtime archives. - The 16-bit DOS version, I could not build it. - OS/2 and Amiga versions, these are obsolete. Mailing lists - For user questions you can turn to the Vim mailing list. There are a lot of tips, scripts and solutions. You can ask your Vim questions, but only if you subscribe. See http://www.vim.org/maillist.php#vim If you want to help Vim development, discuss new features or get the latest patches, subscribe to the vim-dev mailing list. See http://www.vim.org/maillist.php#vim-dev Subject specific lists: Multi-byte issues: http://www.vim.org/maillist.php#vim-multibyte Macintosh issues: http://www.vim.org/maillist.php#vim-mac Before you ask a question you should search the archives, someone may already have given the answer. Reporting bugs -- Send them to vim-...@vim.org. Please describe the problem precisely. All the time spent on answering mail is subtracted from the time that is spent on improving Vim! Always give a reproducible example and try to find out which settings or other things influence the appearance of the bug. Try starting without your own vimrc file: vim -u NONE. Try different machines if possible. See :help bugs in Vim. Send me a patch if you can! Happy Vimming! -- ARTHUR: Shut up! Will you shut up! DENNIS: Ah, now we see the violence inherent in the system. ARTHUR: Shut up! DENNIS: Oh! Come and see the violence inherent in the system! HELP! HELP! I'm being repressed! The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- b...@moolenaar.net -- 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/// -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php