Patch 7.2.025 and periodic execution

2010-03-27 Fir de Conversatie Yakov Lerner
Hello Bram, Patch 7.2.025 broke periodic execution idiom [1], it seems. [1] http://vim.wikia.com/wiki/Timer_to_execute_commands_periodically Can the ability to do perioc execution via CursorHold be restored ? Periodic execution is possible in GUI-enabled vim via spawning expernal subprocess

todo suggestion: remote feature for console vim

2010-03-27 Fir de Conversatie Yakov Lerner
Hello Bram, Would you consider to include intotodo list' the remote feature for console vim, that'd rely on basic kernel-provided IPC (maybe pipes or sokets) without dependency on large packages (like X1 and dbus) not packaged with vim and not present on console systems ? Yakov -- You received

Re: Vim creates files named 4913, why?

2009-10-28 Fir de Conversatie Yakov Lerner
On Wed, Oct 28, 2009 at 00:52, Yakov Lerner iler...@gmail.com wrote: On Wed, Oct 21, 2009 at 17:13, James Vega james...@jamessan.com wrote: On Wed, Oct 21, 2009 at 10:52 AM, Arve Knudsen arve.knud...@gmail.com wrote: On 21 Okt, 13:58, James Vega james...@jamessan.com wrote: On Wed, Oct

Re: Vim creates files named 4913, why?

2009-10-27 Fir de Conversatie Yakov Lerner
On Wed, Oct 21, 2009 at 17:13, James Vega james...@jamessan.com wrote: On Wed, Oct 21, 2009 at 10:52 AM, Arve Knudsen arve.knud...@gmail.com wrote: On 21 Okt, 13:58, James Vega james...@jamessan.com wrote: On Wed, Oct 21, 2009 at 02:33:46AM -0700, Arve Knudsen wrote: I have a very

Re: ./vimXX/src/syntax.c as an external utility?

2009-10-11 Fir de Conversatie Yakov Lerner
On Sun, Oct 11, 2009 at 00:46, Guido van Steen gvst...@yahoo.com wrote: Dear VIM developers, I would like to use VIM's syntax/lexical highlighting/coloring in order to color the command line in zsh - and if possible highlight it as well. (For zsh: see www.zsh.org). I would actually hope

doc micro-patch, autocmd.txt line 62

2009-10-04 Fir de Conversatie Yakov Lerner
--- autocmd.txt.000 2009-10-04 22:52:45.0 +0200 +++ autocmd.txt 2009-10-04 22:53:30.0 +0200 @@ -59,7 +59,7 @@ :au[tocmd] [group] {event} {pat} [nested] {cmd} Add {cmd} to the list of commands that Vim will execute automatically

Re: copy a map (in order to restore it later)

2009-09-29 Fir de Conversatie Yakov Lerner
On Sun, Sep 27, 2009 at 08:58, Hari Krishna Dara hari@gmail.com wrote: I need to be able to create an imap for Tab when my plugin is toggled on, and unmap it when it is toggled off. What I would prefer is to restore the previous map of Tab rather than simply unmap it, but there is no

Re: Memory is used up when I replace \t0\n to \n

2009-09-15 Fir de Conversatie Yakov Lerner
On Fri, Sep 11, 2009 at 06:57, Matt Wozniski m...@drexel.edu wrote: On Thu, Sep 10, 2009 at 4:13 AM, John Beckett wrote: Aleafs wrote: :1,$ s/\t0\n/\n/g Note that :% is a shortcut for :1,$ In a substitute, \n means two different things: - In the pattern, it refers to a newline.

Re: [patch] when 'autochdir' is set, let mksession always use full pathname independently on curdir,sesdir

2009-05-01 Fir de Conversatie Yakov Lerner
On Thu, Apr 30, 2009 at 22:11, _sc_ tooth...@swbell.net wrote: On Thursday 30 April 2009 11:19 am, Yakov Lerner wrote: When 'acd' is set, mksession uses short pathname in the typical usage which leads to wrong result (the testcase below). This is biting me every time I use mksession (I

[patch] when 'autochdir' is set, let mksession always use full pathname independently on curdir,sesdir

2009-04-30 Fir de Conversatie Yakov Lerner
When 'acd' is set, mksession uses short pathname in the typical usage which leads to wrong result (the testcase below). This is biting me every time I use mksession (I always have acd on). The interaction of 'curdir' in sessionoptions and 'set acd' leads to apparently wrong result. This patch

Re: Fwd: [wish] different statusline format for noncurrent statusline

2009-04-30 Fir de Conversatie Yakov Lerner
On Sat, Mar 21, 2009 at 11:22, Dominique Pelle dominique.pe...@gmail.comwrote: Tony Mechelynck wrote: On 19/03/09 13:08, Yakov Lerner wrote: On Tue, Mar 17, 2009 at 12:41, Yakov Lerneriler...@gmail.com wrote: We have separae highlighting, StatusLineNC, for non-current. I wish I had

doc suggestion

2009-04-04 Fir de Conversatie Yakov Lerner
If vimscript functions had remark Added in vim7.1.129, it would be useful. For example, if you want to know how portable the script is. --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit

doc suggestion

2009-03-19 Fir de Conversatie Yakov Lerner
[eval.txt] option                                          *expr-option* *E112* *E113* Suggest to add '' character to tags here. If I want to jump to help topic about 'let option=...', and I look at all tags containing , it's not there. Example: option     *expr-option* *option* *g:option*

Fwd: [wish] different statusline format for noncurrent statusline

2009-03-19 Fir de Conversatie Yakov Lerner
On Tue, Mar 17, 2009 at 12:41, Yakov Lerner iler...@gmail.com wrote: We have separae highlighting,  StatusLineNC, for non-current. I wish I had different *format*, too,  for noncurrent statusline. I do not think differnt format for non-current statusline is supported. Is it possible to put

Re: {bug report] redir in functions

2009-03-18 Fir de Conversatie Yakov Lerner
2009/3/16 StarWing weasley...@sina.com On 3月16日, 下午6时15分, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 15/03/09 04:18, StarWing wrote: use redir in functions, e.g. func! Func1() redir = funclist silent func redir END other

Re: {bug report] redir in functions

2009-03-18 Fir de Conversatie Yakov Lerner
On Wed, Mar 18, 2009 at 16:27, Ben Fritz fritzophre...@gmail.com wrote: On Mar 18, 8:25 am, Yakov Lerner iler...@gmail.com wrote: redir = var         | let var = 0         (in a function) refers to local local var,                                                     it's reserved name

[wish] different statusline format for noncurrent statusline

2009-03-17 Fir de Conversatie Yakov Lerner
We have separae highlighting, StatusLineNC, for non-current. I wish I had different *format*, too, for noncurrent statusline. I do not think differnt format for non-current statusline is supported. Is it possible to put this request in todo. Thanks. Yakov

Re: Five (5) new features request

2008-07-16 Fir de Conversatie Yakov Lerner
On Wed, Jul 16, 2008 at 1:57 AM, smu johnson [EMAIL PROTECTED] wrote: 5. Ever used Vim in a putty window, and pasted a giant section of code after hitting insert when you accidently left auto-indent on? You can find autopatch patch on this mailing list about several years ago. It was not

Re: CR-used-for-NL

2008-07-16 Fir de Conversatie Yakov Lerner
On Thu, Jul 17, 2008 at 2:08 AM, John Beckett [EMAIL PROTECTED] wrote: The command :dig has output including: NU ^@ 10 Inserting Ctrl-K N U, then ga on it says ^@ 0, Hex 00, Octal 000 Shouldn't :dig say NU ^@ 0 rather than NU ^@ 10 ?

Re: Gvim issue: slow scrolling of terminal output

2008-07-06 Fir de Conversatie Yakov Lerner
On Wed, Jul 2, 2008 at 11:57 PM, Amy Williams [EMAIL PROTECTED] wrote: Gvim appears to have very slow scrolling for output from external commands. This is an issue for me, particularly with :make and with spell checking. To see the issue, run gvim, type a word, and then with the cursor over

Terminal-specific query sequences

2008-07-03 Fir de Conversatie Yakov Lerner
On Tue, Jul 1, 2008 at 7:34 PM, Marc Haisenko [EMAIL PROTECTED] wrote: As you can see, the UNIX way of handling output is severely broken and always has been because there's just no way that the terminal can tell the system and/or application what it CAN support. Wrong. Vt* terminals,

Re: Terminal-specific query sequences

2008-07-03 Fir de Conversatie Yakov Lerner
On Thu, Jul 3, 2008 at 10:34 AM, Yakov Lerner [EMAIL PROTECTED] wrote: On Tue, Jul 1, 2008 at 7:34 PM, Marc Haisenko [EMAIL PROTECTED] wrote: As you can see, the UNIX way of handling output is severely broken and always has been because there's just no way that the terminal can tell

autocommand when changing/setting option ?

2008-06-17 Fir de Conversatie Yakov Lerner
We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want automatically execute match Error /\%70v/. I realize I can make a custom command or function to change two things together. But if this

Re: autocommand when changing/setting option ?

2008-06-17 Fir de Conversatie Yakov Lerner
On Tue, Jun 17, 2008 at 6:43 PM, Tony Mechelynck [EMAIL PROTECTED] wrote: On 17/06/08 16:40, Yakov Lerner wrote: We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want

Re: opening huge files, a little slow

2008-06-15 Fir de Conversatie Yakov Lerner
On Sun, Jun 15, 2008 at 3:36 PM, misi [EMAIL PROTECTED] wrote: Hello, would like to use vim to edit large files (600mb). Unfortunatelly, it looks like opening such large files even on a Pentium 3.4Ghz with PATA disk takes quite some time (ubuntu, kernel 2.6.22-14). I know that vim creates

Request For Feedback: timeout per-mapping wish, like :nnoremap timeout=200lhs rhs

2008-06-06 Fir de Conversatie Yakov Lerner
I'd lile to hear people feedback about timeout per-mapping wish, like: :noremap timeout=200XYZ .. I have certain mappings for which wish to define smaller timeout that my usual keyboard timeout. Does anybody have feedback ? Yakov

vimdiff with one non-existent and one existent file does not show contents ?

2008-05-27 Fir de Conversatie Yakov Lerner
cd /tmp rm -f nosuchfile # make sure there is no such file man 1 ls ls.txt # get some text vimdiff -U NONE -u NONE ls.txt nosuchfile # as expected vimdiff -U NONE -u NONE nosuchfile ls.txt # ??? where is contents of right pane ??? Thanks Yakov

Re: clientserver --remote-send and map

2008-05-23 Fir de Conversatie Yakov Lerner
On Fri, May 23, 2008 at 7:54 PM, Philippe Fremy [EMAIL PROTECTED] wrote: Tony Mechelynck wrote: On 22/05/08 15:52, Philippe Fremy wrote: [...] The conclusion seems pretty clear: mapping code is not executed when sending keys through --remote-send. Is that a bug ? [...] I believe

Re: clientserver --remote-send and map

2008-05-22 Fir de Conversatie Yakov Lerner
On Wed, May 21, 2008 at 6:49 PM, Philippe Fremy [EMAIL PROTECTED] wrote: Hi, I am playing with --remote-send. I have the following problem: d:\work\vimWrapper\vimWrapper1\pyvimwrapper\testsgvim --servername HOP --remote -send :map F4 icoucouLTCRLTESCjCR This sets the function key

Re: UTF-8 bomb showing up after :%!sort

2008-05-20 Fir de Conversatie Yakov Lerner
On Mon, May 19, 2008 at 11:01 PM, Bram Moolenaar [EMAIL PROTECTED] wrote: :se fileencoding=utf8 bomb :%!sort The problem is with using an encoding that the sort command doesn't understand [utf8] Maybe sort does understand utf8 (gnu sort definitely does), but vim does not

Re: D-Bus in vim, and collaborative editing

2008-05-19 Fir de Conversatie Yakov Lerner
On Sat, May 17, 2008 at 4:45 PM, Alban Crequy [EMAIL PROTECTED] wrote: The D-Bus connection is an Unix socket. When vim fires a signal from the Does it require a daemon or something ? That is a burden of additional dependency that I would not like, personally. Why not use vim-remote mechanism

Re: authoritative source repository

2008-05-17 Fir de Conversatie Yakov Lerner
On Thu, May 15, 2008 at 8:59 PM, John Calixto [EMAIL PROTECTED] wrote: Hi folks, Could somebody please explain the Vim source repos to me? There seems to be activity in both the CVS and SVN repos - which one is The Authoritative Vim Repository? How do merges occur? Who is responsible

Re: Updated floating point patch

2008-04-13 Fir de Conversatie Yakov Lerner
On Sat, Apr 12, 2008 at 4:58 PM, Bram Moolenaar [EMAIL PROTECTED] wrote: Here is an update for the floating point patch. The 'g' argument for printf() was implemented and a few bug fixes. This is to be applied to the original source code, without the older floating point patch. I would

shell highlighting problem, after command name 'locale'

2008-03-06 Fir de Conversatie Yakov Lerner
I see problem with shell highlighting with the following piece, apparently caused by the command named 'locale'. I am using latest runtime files. from rsync. Does anybody see incorrect highlighting, too ? -- #!/bin/bash utf-off() { echo export LANG=C;

Re: upgrading vim on linux

2008-03-06 Fir de Conversatie Yakov Lerner
You can try the scriptvim7-install.sh (attached) which downloads, builds and installs latest vim7 in one command without arguments. Description and download link ia at: http://www.vim.org/scripts/script.php?script_id=1473 Invocation: sh ./vim7-install.sh Or save the script directly from

Re: shell highlighting problem, after command name 'locale'

2008-03-06 Fir de Conversatie Yakov Lerner
On Thu, Mar 6, 2008 at 12:11 PM, Vladimir Marek [EMAIL PROTECTED] wrote: On Thu, Mar 06, 2008 at 10:13:16AM +0200, Yakov Lerner wrote: I see problem with shell highlighting with the following piece, apparently caused by the command named 'locale'. I am using latest runtime files

collaborative editing clarification Was: New features to vote on and sponsoring

2008-02-03 Fir de Conversatie Yakov Lerner
Hello Bram, You wrote: add collaborative editing: changes made to a buffer show up in another Vim in a second I'd like to ask for some clarifications. Clarification about perceived behaviour, not about implementation: 1. two-way collaboration or one-way collaboration ? Vim instance B attaches

Re: encrypt/decrypt functions for a session

2007-12-02 Fir de Conversatie Yakov Lerner
Charles E Campbell wrote: Any good way to get the vim process's pid? How about under Windows? Maybe a patch to add getpid() function to vimscript is not bad idea ? Even without relation to Charles ciphering troubles. Can this be added to the todo ? Yakov

Re: encrypt/decrypt functions for a session

2007-11-30 Fir de Conversatie Yakov Lerner
On Nov 29, 2007 12:23 AM, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Hello! I don't see any way to encrypt/decrypt strings in the vim function library, but there is a way to encrypt a file buffer. Netrw tries to make use of ftp, etc and its associated passwords simpler by retaining

Re: anchoring filename completion to the end of filename

2007-10-23 Fir de Conversatie Yakov Lerner
On 10/22/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: Would you add to the todo list some way to lock the filename completion to the end of the filename ? Currently, the :e *aTab automatically adds the * at the end. This shows not files endnig

Re: Possibility of a console server through a socket?

2007-10-22 Fir de Conversatie Yakov Lerner
On 10/22/07, Nikolai Weibull [EMAIL PROTECTED] wrote: How difficult would it be to implement a console server using sockets? if_xsrvcmd.c looks quite complicated, but I get the felling that a simple socket interface wouldn't require quite as much code. Anyone have any thoughts on this?

Re: doc nitpicking

2007-10-11 Fir de Conversatie Yakov Lerner
The screen is not redrawn then, thus you have to use CTRL-L or :redraw! if the command did display something. I do not think this paragraph can be interpreted ambiguously. The first part - The screen is not redrawn then - I see it as information not operational, it does not contradict

Re: doc nitpicking

2007-10-11 Fir de Conversatie Yakov Lerner
On 10/11/07, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/11/07, ap [EMAIL PROTECTED] wrote: On Oct 10, 10:22 pm, Yakov Lerner [EMAIL PROTECTED] wrote: :help :! says: :silent !{cmd} The screen is not redrawn then, thus you have to use CTRL-L

Re: doc nitpicking

2007-10-11 Fir de Conversatie Yakov Lerner
On 10/11/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: :help :! says: :silent !{cmd} The screen is not redrawn then, thus you have to use CTRL-L or :redraw! if the command did display something. The last part (if the command did display

Re: Trial patch for variable tabstops

2007-10-06 Fir de Conversatie Yakov Lerner
On 10/5/07, Matthew Winn [EMAIL PROTECTED] wrote: I've been working on an implementation of the non-uniform tabstops that were discussed about a month ago, and I have a patch ready for trying out. I've done some testing on Linux and Windows XP; the parts I'm able to test seem to be OK and on

Re: Trial patch for variable tabstops

2007-10-06 Fir de Conversatie Yakov Lerner
On 10/6/07, Matthew Winn [EMAIL PROTECTED] wrote: On Sat, 6 Oct 2007 10:22:53 +0200, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/5/07, Matthew Winn [EMAIL PROTECTED] wrote: I've been working on an implementation of the non-uniform tabstops that were discussed about a month ago

Re: Trial patch for variable tabstops

2007-10-06 Fir de Conversatie Yakov Lerner
On 10/6/07, Matthew Winn [EMAIL PROTECTED] wrote: On Sat, 6 Oct 2007 10:22:53 +0200, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/5/07, Matthew Winn [EMAIL PROTECTED] wrote: I've been working on an implementation of the non-uniform tabstops that were discussed about a month ago

Re: vim : process.c ?

2007-09-30 Fir de Conversatie Yakov Lerner
On 9/30/07, A.Politz [EMAIL PROTECTED] wrote: I am student of computer science. In the next semester I'll have to do some practical work supervised by a professor. Now what I really would like to do in this project, is giving vim the ability to start and manage subprocesses. What I have

No use of 'el' (clear to end of line) ?

2007-09-24 Fir de Conversatie Yakov Lerner
I work on 60 lines x 120 columns miniterm over 9600 baud. The speed is satisfactory except one case: when vim draws '~' in every line on the init screen. This drawing is very slow, takes several seconds to fill the screen. I took the vim output log and noticed that vim fills every line

Re: :catch value of a variable

2007-09-24 Fir de Conversatie Yakov Lerner
On 9/21/07, Nikolai Weibull [EMAIL PROTECTED] wrote: On 9/21/07, Ben Schmidt [EMAIL PROTECTED] wrote: Most commands do not take variables/expressions as input directly but need to be constructed using the :exe command. I don't see any good reason why :catch should differ. For one

Re: Searching for Vim scripts

2007-09-06 Fir de Conversatie Yakov Lerner
On 9/4/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Hello Vim users, So far we only had the possibility to search for scripts on the Vim website. Of course you could use your favorite search engine, but then you would find any type of file, not just Vim scripts. I have now added a search

Re: weird up/down arrows behaviour on braces 7.1.87

2007-08-28 Fir de Conversatie Yakov Lerner
On 8/27/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: I get weird up/down behaviour when cursor traverses the braces. vim 7.1.87, no custom plugins. This is apparently somehow related to matchparen. The testfile is x.c below. Here is what happens if I press down

Re: weird up/down arrows behaviour on braces 7.1.87

2007-08-28 Fir de Conversatie Yakov Lerner
On 8/28/07, Yakov Lerner [EMAIL PROTECTED] wrote: On 8/27/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: I get weird up/down behaviour when cursor traverses the braces. vim 7.1.87, no custom plugins. This is apparently somehow related to matchparen

weird up/down arrows behaviour on braces 7.1.87

2007-08-27 Fir de Conversatie Yakov Lerner
I get weird up/down behaviour when cursor traverses the braces. vim 7.1.87, no custom plugins. This is apparently somehow related to matchparen. The testfile is x.c below. Here is what happens if I press down starting from the beginning of file, position 1: 1. Down. instead of going to line 2,

Re: weird up/down arrows behaviour on braces 7.1.87

2007-08-27 Fir de Conversatie Yakov Lerner
On 8/27/07, Yakov Lerner [EMAIL PROTECTED] wrote: I get weird up/down behaviour when cursor traverses the braces. vim 7.1.87 , no custom plugins. This is apparently somehow related to matchparen. The testfile is x.c below. Here is what happens if I press down starting from the beginning

undo after :retab

2007-08-15 Fir de Conversatie Yakov Lerner
Undo after retab modifies 'tabstop' in a way that doesn't look consistent or correct. Test case: - vim -u NONE -U NONE itababcesc :set ts=4 :retab 8 u -- After the last u, tabstop changes to 8. But we expect the screen to return to