Re: New feature: absolute line number in relativenumber for the current line

2013-02-06 Fir de Conversatie Nazri Ramliy
On Wed, Feb 6, 2013 at 2:58 AM, Ben Fritz fritzophre...@gmail.com wrote: For example: :set number :set relativenumber :set linenumber=number :set number? relativenumber? linenumber? number norelativenumber linenumber=number Yes, this is what the patch does. See the

Re: Bug in colorcolumn?

2013-02-06 Fir de Conversatie Christian Brabandt
On Wed, February 6, 2013 01:07, Ben Fritz wrote: Consider: :e somefile.txt :setl colorcolumn=5 :sp :setl colorcolumn=10 :sp :setl colorcolumn=-2 I would expect the first window to have a constant highlight at the 5th column, the second to have a constant highlight at the 10th column,

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Tony Mechelynck
On 06/02/13 08:28, Ilya Esteban wrote: If you add capital letter mark, then delete it, it will reappear the next time you restart Vim. Steps to reproduce: 1) Open a file and add a mark mA 2) Exit Vim 3) Restart Vim and delete the mark using :delmarks A 4) Confirm that mark has been deleted

Re: Bug in colorcolumn?

2013-02-06 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: On Wed, February 6, 2013 01:07, Ben Fritz wrote: Consider: :e somefile.txt :setl colorcolumn=5 :sp :setl colorcolumn=10 :sp :setl colorcolumn=-2 I would expect the first window to have a constant highlight at the 5th column, the second to have a

Patch 7.3.799

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.799 Problem:The color column is not correct when entering a buffer. (Ben Fritz) Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian Brabandt) Files: src/buffer.c *** ../vim-7.3.798/src/buffer.c 2012-11-20 12:16:54.0 +0100

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Bram Moolenaar
Ilya Esteban wrote: If you add capital letter mark, then delete it, it will reappear the next time you restart Vim. Steps to reproduce: 1) Open a file and add a mark mA 2) Exit Vim 3) Restart Vim and delete the mark using :delmarks A 4) Confirm that mark has been deleted via :marks

Re: [bugreport] position of mark not updated in contrast to position of other marks

2013-02-06 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: Hi Roland! On Di, 05 Feb 2013, Roland Eggner wrote: How to reproduce printf '%s\n' 'line 2' 'line 3' example.txt LC_ALL=C vim -u NONE + -c 'norm mamggOline 1' example.txt Observed result --- :marks mark

Patch 7.3.800

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.800 Problem:The mark is not adjusted when inserting lines. (Roland Eggner) Solution: Adjust the line number. (Christian Brabandt) Files: src/mark.c *** ../vim-7.3.799/src/mark.c 2013-01-23 15:53:08.0 +0100 --- src/mark.c 2013-02-06 12:29:46.0 +0100

Patch 7.3.801

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.801 Problem::window set nu? displays the cursor line. (Nazri Ramliy) Solution: Do not update the cursor line when conceallevel is zero or the screen has scrolled. (partly by Christian Brabandt) Files: src/window.c *** ../vim-7.3.800/src/window.c 2013-01-17

Re: New featuabsolute line number in relativenumber for the current line

2013-02-06 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: Hi Nazri! On Di, 05 Feb 2013, Nazri Ramliy wrote: While working on this I noticed another bug, found in vanilla vim changeset: 4089:30b3b1da0350: $ src/vim -u NONE -U NONE src/misc1.c -c 'set nu|for i in range(5)|split|endfor' : Now we should have

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Steve Hall
On Wed, Feb 6, 2013 at 3:43 AM, Tony Mechelynck antoine.mechely...@gmail.com wrote: For Windows, I recommend whatever is newest at http://sourceforge.net/projects/cream/files/Vim/ [...] now at 7.3.762 since 3 January [...] but OTOH I expect that Steve Hall (the maintainer of the Cream site

Re: [patch] backtick inside || is concealed

2013-02-06 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: Backtick inside || is concealed in the help files. For example, line 174 in quickref.txt is: |`a| `{a-z} go to mark {a-z} within current file If conceallevel is set to 2, the line is displayed as follows: a `{a-z} go to mark {a-z}

Re: New feature: absolute line number in relativenumber for the current line

2013-02-06 Fir de Conversatie Bram Moolenaar
Lech Lorens wrote: On 5 February 2013 17:02, Nazri Ramliy ayieh...@gmail.com wrote: On Tue, Feb 5, 2013 at 5:11 PM, Nazri Ramliy ayieh...@gmail.com wrote: Attached is an updated patch for the 'linenumber' option (it's getting hairier and hairier! But not that much. I'd say it's less

Re: [PATCH] add option to toggle the default remap behavior for feedkeys()

2013-02-06 Fir de Conversatie Bram Moolenaar
René Köcher wrote: the attached patch adds support for a new option called 'feedkeysremap' or 'fkrm'. By default this option is always enabled resulting in feedkeys() behaving just as it did before the patch (keys will be remapped unless the optional mode parameter is set to 'n').

Re: [PATCH] Add runtime files for the Clojure programming language

2013-02-06 Fir de Conversatie Bram Moolenaar
Sung Pae wrote: Attached is a patch adding runtime files (syntax, indent, ftplugin, and an autoloaded completion script) for the Clojure programming language. Thanks. I'll include the files later. Please don't forget to send me updates when you make improvements. Hello, A

Patch 7.3.802

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.802 Problem:After setting 'isk' to a value ending in a comma appending to the option fails. Solution: Disallow a trailing comma for 'isk' and similar options. Files: src/charset.c *** ../vim-7.3.801/src/charset.c2013-01-30 17:30:14.0 +0100 ---

Re: New feature: absolute line number in relativenumber for the current line

2013-02-06 Fir de Conversatie Lane East
在 2013年1月30日星期三UTC+8上午5时33分42秒,Bram Moolenaar写道: Nazri Ramliy wrote: On Tue, Jan 29, 2013 at 6:21 PM, Paul Ruane wrote: Whilst it is not that hard to scan the status line, I find that I hit this glitch in my workflow many, many times a day: when I want to know what line I

Re: Patch 7.3.799

2013-02-06 Fir de Conversatie Ben Fritz
On Wednesday, February 6, 2013 5:15:41 AM UTC-6, Bram Moolenaar wrote: Patch 7.3.799 Problem:The color column is not correct when entering a buffer. (Ben Fritz) Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian Brabandt) Probably it's

Re: New feature: absolute line number in relativenumber for the current line

2013-02-06 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: Lech Lorens wrote: On 5 February 2013 17:02, Nazri Ramliy ayieh...@gmail.com wrote: On Tue, Feb 5, 2013 at 5:11 PM, Nazri Ramliy ayieh...@gmail.com wrote: Attached is an updated patch for the 'linenumber' option (it's getting hairier and hairier! But not that much. I'd

Re: Patch 7.3.802

2013-02-06 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: Patch 7.3.802 Problem:After setting 'isk' to a value ending in a comma appending to the option fails. Solution: Disallow a trailing comma for 'isk' and similar options. Files: src/charset.c Hello, Bram! This patch appears to be missing from

[PATCH] add option to toggle the default remap behavior for feedkeys()

2013-02-06 Fir de Conversatie René Köcher
Am 06.02.2013 um 16:06 schrieb Bram Moolenaar b...@moolenaar.net: René Köcher wrote: the attached patch adds support for a new option called 'feedkeysremap' or 'fkrm'. By default this option is always enabled resulting in feedkeys() behaving just as it did before the patch (keys will be

:gundo and :gredo

2013-02-06 Fir de Conversatie Ben Fritz
In the new todo.txt I noticed: 9 :gundo command: global undo. Undoes changes spread over multiple files in the order they were made. Also :gredo. Both with a count. Useful when tests fail after making changes and you forgot in which files. I think it would also be useful to have

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Ilya Esteban
Thanks for the clarification. I think it would make sense to change the behavior so that when exiting Vim the viminfo file just saves all the currently active marks, rather than the union of the current marks + all the deleted marks. Two reasons: 1) All files with marks get loaded into hidden

Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-06 Fir de Conversatie Bram Moolenaar
Roland Eggner wrote: :mksession writes wrong column number of cursor position in presence of multibyte characters. I have been using vim-7.3.135 with this patch applied for several months … it works for me: I do not see the problem. How to reproduce? Your patch can't be right, the l

Re: Update of tutor.ja.*

2013-02-06 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: I have updated Japanese tutor files again. Some typos are fixed. I'll include them, thanks. -- BEDEVERE: Look! It's the old man from scene 24 - what's he Doing here? ARTHUR: He is the keeper of the Bridge. He asks each traveler five questions ... GALAHAD:

Patch 7.3.803

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.803 (after 7.3.792) Problem:Substitute with confirmation and then q does not replace anything. (John McGowan) Solution: Do not break the loop, skip to the end. Files: src/ex_cmds.c, src/testdir/test80.in, src/testdir/test80.ok *** ../vim-7.3.802/src/ex_cmds.c

Re: Issue 104 in vim: Incorrect commentstring option for lisp

2013-02-06 Fir de Conversatie vim
Comment #1 on issue 104 by mybeawdh...@gmail.com: Incorrect commentstring option for lisp http://code.google.com/p/vim/issues/detail?id=104 Is there an issue with this patch? It's simple enough, and I think it's in the right place. This bug affects commands like 'zf' and plugins like

Re: Issue 104 in vim: Incorrect commentstring option for lisp

2013-02-06 Fir de Conversatie vim
Comment #2 on issue 104 by fritzoph...@gmail.com: Incorrect commentstring option for lisp http://code.google.com/p/vim/issues/detail?id=104 At the top of lisp.vim you can see: Vim filetype plugin Language: Lisp Maintainer:Sergey Khorev sergey.kho...@gmail.com URL:

Patch 7.3.804

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.804 (after 7.3.799) Problem:Compiler warning for tiny build. (Tony Mechelynck) Solution: Add #ifdefs around variable. Files: src/buffer.c *** ../vim-7.3.803/src/buffer.c 2013-02-06 12:14:36.0 +0100 --- src/buffer.c2013-02-06 18:42:05.0 +0100

Re: Patch 7.3.799: Warning in tiny build (but not in huge build)

2013-02-06 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: On 06/02/13 12:15, Bram Moolenaar wrote: Patch 7.3.799 Problem:The color column is not correct when entering a buffer. (Ben Fritz) Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian Brabandt) Files:

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Ben Fritz
On Wednesday, February 6, 2013 11:23:34 AM UTC-6, Ilya Esteban wrote: Thanks for the clarification. I think it would make sense to change the behavior so that when exiting Vim the viminfo file just saves all the currently active marks, rather than the union of the current marks + all the

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Bram Moolenaar
Ilya Esteban wrote: [reordered] On Wednesday, February 6, 2013 3:33:35 AM UTC-8, Bram Moolenaar wrote: The mark is stored in the viminfo file. When exiting Vim the current marks and the ones in the viminfo file are merged. You can see this if you set the mark elsewhere, then

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Christian Brabandt
Hi Ilya! [please reformat your lines to some 70 chars] On Mi, 06 Feb 2013, Ilya Esteban wrote: 1) All files with marks get loaded into hidden buffers on startup. So if you have a bunch of files you once marked, they will keep getting loaded even if you dont need them anymore (with the

Re: [patch] backtick inside || is concealed

2013-02-06 Fir de Conversatie Ken Takata
Hi Bram, I found another problem in the help.vim. `` is concealed. For example, line 177 in quickref.txt is: |``| `` go to the position before the last jump But this line is displayed as: `` go to the position before the last jump Attached patch

Patch 7.3.805

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.805 Problem:Lua version 5.2 is not detected properly on Arch Linux. Solution: Adjust autoconf. (lilydjwg) Files: src/configure.in, src/auto/configure *** ../vim-7.3.804/src/configure.in 2013-01-30 14:55:34.0 +0100 --- src/configure.in2013-02-06

Patch 7.3.806

2013-02-06 Fir de Conversatie Bram Moolenaar
Patch 7.3.806 Problem:Compiler warnings in Perl code when building with Visual studio 2012. (skeept) Solution: Add type casts. (Christian Brabandt, 2013 Jan 30) Files: src/if_perl.xs *** ../vim-7.3.805/src/if_perl.xs 2012-09-21 12:50:44.0 +0200 ---

Re: [patch] backtick inside || is concealed

2013-02-06 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: I found another problem in the help.vim. `` is concealed. For example, line 177 in quickref.txt is: |``| `` go to the position before the last jump But this line is displayed as: `` go to the position before the last jump

Re: Patch 7.3.806

2013-02-06 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: Patch 7.3.806 ...snip... Hello, Bram! 7.3.806 is missing from ftp.home.vim.org . Regards, Chip Campbell -- -- 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

Re: Patch 7.3.806

2013-02-06 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: Bram Moolenaar wrote: Patch 7.3.806 ...snip... Hello, Bram! 7.3.806 is missing from ftp.home.vim.org . Got distracted. It's there now. -- BRIDGEKEEPER: What is your favorite editor? GAWAIN: Emacs ... No, Viiimmm! Monty Python

Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-06 Fir de Conversatie Roland Eggner
On 2013-02-06 Wednesday at 18:24 +0100 Bram Moolenaar wrote: Roland Eggner wrote: :mksession writes wrong column number of cursor position in presence of multibyte characters. I have been using vim-7.3.135 with this patch applied for several months … it works for me: I do not

Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-06 Fir de Conversatie Bram Moolenaar
Roland Eggner wrote: :mksession writes wrong column number of cursor position in presence of multibyte characters. I have been using vim-7.3.135 with this patch applied for several months … it works for me: I do not see the problem. How to reproduce? Your patch

Re: [BugReport] Mark deletion doesnt persist between Vim sessions

2013-02-06 Fir de Conversatie Roland Eggner
On 2013-02-06 Wednesday at 09:23 -0800 Ilya Esteban wrote: On Wednesday, February 6, 2013 3:33:35 AM UTC-8, Bram Moolenaar wrote: The mark is stored in the viminfo file. When exiting Vim the current marks and the ones in the viminfo file are merged. You can see this if you set the mark

Re: [bugreport] position of mark not updated in contrast to position of other marks

2013-02-06 Fir de Conversatie Roland Eggner
On 2013-02-05 Tuesday at 21:42 +0100 Christian Brabandt wrote: On Di, 05 Feb 2013, Roland Eggner wrote: How to reproduce printf '%s\n' 'line 2' 'line 3' example.txt LC_ALL=C vim -u NONE + -c 'norm mamggOline 1' example.txt Observed result ---

Re: [PATCH] Add runtime files for the Clojure programming language

2013-02-06 Fir de Conversatie Sung Pae
On Wed, Feb 06, 2013 at 04:06:01PM +0100, Bram Moolenaar wrote: The syntax file is using the old style HiLink command. You can just use hi def. Gladly. I believe this was simply cargo-culted from existing syntax files. Should I also remove the if version 600 syntax clear …