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

2013-06-25 Fir de Conversatie sxc4244
On Thursday, May 30, 2013 2:31:11 AM UTC-4, Nazri wrote: On Wed, Feb 6, 2013 at 11:06 PM, Bram Moolenaar b...@moolenaar.net wrote: No, I don't want to remove or deprecate existing options. It's very annoying for people who get a new Vim version, especially if they didn't install it

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

2013-06-25 Fir de Conversatie Ben Fritz
On Tuesday, June 25, 2013 12:56:01 PM UTC-5, sxc...@g.rit.edu wrote: Is there any movement with this patch? What are Bram's thoughts on it? Bram's thoughts were that he doesn't want any new option for this. But patch 7.3.1115 changes the 'number' and 'relativenumber' options so that

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

2013-05-30 Fir de Conversatie Nazri Ramliy
On Wed, Feb 6, 2013 at 11:06 PM, Bram Moolenaar b...@moolenaar.net wrote: No, I don't want to remove or deprecate existing options. It's very annoying for people who get a new Vim version, especially if they didn't install it themselves. I'm not sure the whole 'linenumber' option thing is

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

2013-05-30 Fir de Conversatie Ben Fritz
On Thursday, May 30, 2013 1:31:11 AM UTC-5, Nazri wrote: On Wed, Feb 6, 2013 at 11:06 PM, Bram Moolenaar b...@moolenaar.net wrote: No, I don't want to remove or deprecate existing options. It's very annoying for people who get a new Vim version, especially if they didn't install it

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

2013-05-30 Fir de Conversatie tooth pik
On Thu, May 30, 2013 at 02:31:11PM +0800, Nazri Ramliy wrote: On Wed, Feb 6, 2013 at 11:06 PM, Bram Moolenaar b...@moolenaar.net wrote: No, I don't want to remove or deprecate existing options. It's very annoying for people who get a new Vim version, especially if they didn't install it

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

2013-05-24 Fir de Conversatie Dmitry Gorbik
Sorry, but think this change without keeping an original behavior may just be too fast. Consider a workflow when you deal with files with a lot if lines. This is not too great for the line gutter to take a lot of space. This is actually why I use relative numbers - useful and doesn't take much

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

2013-05-24 Fir de Conversatie tooth pik
On Fri, May 24, 2013 at 12:22:44PM -0700, Dmitry Gorbik wrote: Sorry, but think this change without keeping an original behavior may just be too fast. Consider a workflow when you deal with files with a lot if lines. This is not too great for the line gutter to take a lot of space. This is

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

2013-05-24 Fir de Conversatie Dmitry Gorbik
I just thought that it will have a huge psychological effect. Right now the brain is adjusted to the way numbers go from 0. Seeing some arbitrary number right near your code is not the best thing. Bram says it's annoying for people when we mess with existing settings, isn't this one of them? A

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

2013-05-24 Fir de Conversatie Dmitry Gorbik
On Friday, May 24, 2013 2:00:29 PM UTC-7, toothpik wrote: On Fri, May 24, 2013 at 12:22:44PM -0700, Dmitry Gorbik wrote: Sorry, but think this change without keeping an original behavior may just be too fast. Consider a workflow when you deal with files with a lot if lines. This is

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: 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: 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: 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: New feature: absolute line number in relativenumber for the current line

2013-02-05 Fir de Conversatie Nazri Ramliy
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 toy-ish by now :) It contains a bugfix - set (inv|no)(nu|rnu) did not correctly set 'linenumber' as well. Earlier in the thread someone complained about the alignment

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

2013-02-05 Fir de Conversatie Nazri Ramliy
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 toy-ish by now :) It contains a bugfix - set (inv|no)(nu|rnu) did not correctly set

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

2013-02-05 Fir de Conversatie Lech Lorens
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 toy-ish by now :) It

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

2013-02-05 Fir de Conversatie Ben Fritz
On Tuesday, February 5, 2013 10:22:59 AM UTC-6, 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

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

2013-02-05 Fir de Conversatie aschneiderg
Gvim is getting the attached behaviour (number column not aligned correctly) after building 798. Is this intended ? cool feature, by the way. -- -- 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,

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

2013-02-04 Fir de Conversatie Charles Campbell
Nazri Ramliy wrote: On Fri, Feb 1, 2013 at 7:18 PM, Nazri Ramliy ayieh...@gmail.com wrote: The patch do not include Christian's fix for the problem reported by François Ingelrest. Attached is the updated (and less buggy) toy patch that include Christian's fix and test89, and also test90 for

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

2013-02-04 Fir de Conversatie John Little
On Tuesday, February 5, 2013 3:22:09 AM UTC+13, Charles Campbell wrote: Thank you -- I'll try it out (but I'm having troubles getting gtk enabled for vim for some odd reason, and am working on that) Just in case you haven't, you've tried yum-builddep? (I mucked about for a while before

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

2013-02-03 Fir de Conversatie Nazri Ramliy
On Fri, Feb 1, 2013 at 7:18 PM, Nazri Ramliy ayieh...@gmail.com wrote: The patch do not include Christian's fix for the problem reported by François Ingelrest. Attached is the updated (and less buggy) toy patch that include Christian's fix and test89, and also test90 for testing the new option

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

2013-02-01 Fir de Conversatie Nazri Ramliy
On Fri, Feb 1, 2013 at 8:42 AM, Charles E Campbell drc...@campbellfamily.biz wrote: When some users of some simulation s/w I helped write have a problem, I usually end up with 10-150G long debugging traces; I usually break these up into 1G chunks and edit (more usually, examine) these. So I

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

2013-02-01 Fir de Conversatie David Fishburn
On Thu, Jan 31, 2013 at 7:42 PM, Charles E Campbell drc...@campbellfamily.biz wrote: Ben Fritz wrote: I only rarely edit files with 1 or more lines. Most of the time for me, my 'rnu' column takes 4 columns, and my 'nu' column takes 5. I don't care about the extra width, and would

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

2013-01-31 Fir de Conversatie Charles E Campbell
Ben Fritz wrote: I only rarely edit files with 1 or more lines. Most of the time for me, my 'rnu' column takes 4 columns, and my 'nu' column takes 5. I don't care about the extra width, and would probably never turn off the option to show the absolute number on the current line if there

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

2013-01-31 Fir de Conversatie François Ingelrest
On Wed, Jan 30, 2013 at 12:31 PM, Bram Moolenaar wrote: This looks like a good solution. I'll include it. With Christian's addition. I think I found a case where the 'relativenumber' option is reset. I'm sending this report in this thread, although I don't know if it's caused by the recent

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

2013-01-30 Fir de Conversatie Christian Brabandt
On Wed, January 30, 2013 08:07, Nazri Ramliy wrote: On Tue, Jan 29, 2013 at 10:51 PM, Nazri Ramliy ayieh...@gmail.com wrote: For better distinction the current line number ca be left-aligned (for left-to-right text orientation) to make it look different than the relative-line-numbers (I made

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

2013-01-30 Fir de Conversatie Bram Moolenaar
Nazri Ramliy wrote: On Tue, Jan 29, 2013 at 10:51 PM, Nazri Ramliy ayieh...@gmail.com wrote: For better distinction the current line number ca be left-aligned (for left-to-right text orientation) to make it look different than the relative-line-numbers (I made no attempt at this in the

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

2013-01-30 Fir de Conversatie Paul Ruane
Fantastic, thanks guys. -- -- 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 --- You received this message because you are subscribed to the Google Groups

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

2013-01-30 Fir de Conversatie Axel Bender
I think the current line number (rnu) should be idented like the rest (even if LineNr should be identical to CursorLineNr). Right now it looks a little bit ragged on the left side. What speaks against right-aligning the current line number? -- -- You received this message from the vim_dev

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

2013-01-29 Fir de Conversatie Paul Ruane
Hi, I asked on the Vim reddit (http://www.reddit.com/r/vim/comments/ 17gg56/) if anyone knew how to achieve this with existing functionality or plug-in but apparently not. I would simply like to have the option, when relativenumber is turned on, to have the current line show the absolute line

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

2013-01-29 Fir de Conversatie Nazri Ramliy
On Tue, Jan 29, 2013 at 6:21 PM, Paul Ruane paul.ru...@oniony.com 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 am on, I intuitively scan the gutter for the line number. I then

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

2013-01-29 Fir de Conversatie Charles Campbell
Paul Ruane wrote: Hi, I asked on the Vim reddit (http://www.reddit.com/r/vim/comments/ 17gg56/) if anyone knew how to achieve this with existing functionality or plug-in but apparently not. I would simply like to have the option, when relativenumber is turned on, to have the current line show

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

2013-01-29 Fir de Conversatie Ben Fritz
On Tuesday, January 29, 2013 10:18:28 AM UTC-6, Charles Campbell wrote: Paul Ruane wrote: Hi, I asked on the Vim reddit (http://www.reddit.com/r/vim/comments/ 17gg56/) if anyone knew how to achieve this with existing functionality or plug-in but apparently not. I would simply

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

2013-01-29 Fir de Conversatie Christian Brabandt
On Tue, January 29, 2013 15:51, Nazri Ramliy wrote: On Tue, Jan 29, 2013 at 6:21 PM, Paul Ruane paul.ru...@oniony.com 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 am on, I

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

2013-01-29 Fir de Conversatie Bram Moolenaar
Nazri Ramliy wrote: On Tue, Jan 29, 2013 at 6:21 PM, Paul Ruane paul.ru...@oniony.com 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 am on, I intuitively scan the gutter for

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

2013-01-29 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: I think the information is useful. Who is against showing the current line number instead of zero? Is the width of the column a problem? Not if its optionally a part of relative numbering. Regards, C Campbell -- -- You received this message from the vim_dev

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

2013-01-29 Fir de Conversatie Ben Fritz
On Tuesday, January 29, 2013 4:48:18 PM UTC-6, Charles Campbell wrote: Bram Moolenaar wrote: I think the information is useful. Who is against showing the current line number instead of zero? Is the width of the column a problem? Not if its optionally a part of

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

2013-01-29 Fir de Conversatie Nazri Ramliy
On Tue, Jan 29, 2013 at 10:51 PM, Nazri Ramliy ayieh...@gmail.com wrote: For better distinction the current line number ca be left-aligned (for left-to-right text orientation) to make it look different than the relative-line-numbers (I made no attempt at this in the patch below). Here's a new