From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Tue, 4 Jul 2017 08:00:00 -0300 Message-ID: References: <83y3s9pm2a.fsf@gnu.org> <83zicmntaq.fsf@gnu.org> <83van9o6l8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cc160f3bf4005537bc861" X-Trace: blaine.gmane.org 1499166043 17016 195.159.176.226 (4 Jul 2017 11:00:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 11:00:43 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: James Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 13:00:39 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSLZO-00046W-DL for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 13:00:38 +0200 Original-Received: from localhost ([::1]:40418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSLZS-0000BB-5d for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 07:00:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSLYt-00009V-J8 for emacs-devel@gnu.org; Tue, 04 Jul 2017 07:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSLYp-0002yL-L2 for emacs-devel@gnu.org; Tue, 04 Jul 2017 07:00:07 -0400 Original-Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:35874) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSLYo-0002vp-0r; Tue, 04 Jul 2017 07:00:02 -0400 Original-Received: by mail-oi0-x231.google.com with SMTP id x187so43584799oig.3; Tue, 04 Jul 2017 04:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qd+gPL8dCKz2qcY6O5ts5EuaOMhGJW/Zia2oPk5KPRg=; b=m7W+lQofkAdYIceJnWkcKEtn8bLA+XDFH3YjYzlnlBTJyPqFJfkpy1Pz7QDYHE7XjJ u5t3DSGg4AKfMLB8LzxqRmJxHqdZSLo1hY7ME+CXzxj+uEABZ1XJumuTy37G3pavzImg 1kUi+VLVnTQaMBnxdIbwUnrL9PDPXbSccgQoNaTrgdwQrg9lbvH4EkcWH/vIbMk+S+pR 2fUiQGFks6RP7JzBXnxgKrQ+5xTPJnzJdS4Zp3NjlV18ZvHZBV5NOnV+R8GSqdVKyBTQ DFewbsLEqRiKJVO2IIlISxLzhBd/HdYfizcjpWgrD6XHI+nM3WwYmgYeaRaNmRMwzatU xDSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qd+gPL8dCKz2qcY6O5ts5EuaOMhGJW/Zia2oPk5KPRg=; b=dYGdiZ9iQagVKuOrm1BaBqdKEK0SmtL9lX/qi0HYTf7ZviN/NERAERt+AntcA8IPRs M6eklR8CLoVULBmsd4AiiOXWt0FoGCdcDE1lTGzg/JMggClXtxto+/hCqf8ZWrxxFNKA JD2bjClsE68XMSvT4imoFETfxjiul2IKEEDj3CvYW+eYjkTc02rlUGy4Oee7IMg+B/KL yQSEwkg8b28FDeB9upVnAX4NSPwkaNlwZdYjZkH41Fk0p/pBpXkg/S+YILAFCkTj4jxw bren1SK68drmKnGQx/0vFPCqdeUZ8PCPPV8cw3VnsgVACmvmEW4DBcevUME2KaYReLaF nZgw== X-Gm-Message-State: AKS2vOxvQ8m5Lw7zu3+Th8xuFKgyG2/z6mF1N+MGDm4PHky29p1WFrQc asA8ZuElAHNGuVCw0GkuLm/gO9FOrw== X-Received: by 10.202.62.6 with SMTP id l6mr24407844oia.118.1499166001051; Tue, 04 Jul 2017 04:00:01 -0700 (PDT) Original-Received: by 10.182.2.73 with HTTP; Tue, 4 Jul 2017 04:00:00 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216152 Archived-At: --001a113cc160f3bf4005537bc861 Content-Type: text/plain; charset="UTF-8" Eli, one more question are we able to customize the how the faces of the numbers look? It would be great if the numbers had one face and current line number had another face so we could assign different colors to each in our current theme. thanks again. On Tue, Jul 4, 2017 at 7:57 AM, Filipe Silva wrote: > Eli, I was just able to begin some testing on visual relative line numbers > now and I must say that is truly joyful. The speed, the precision, coupled > with evil mode, absolutety fantastic. What a great feature. What a great > editor. > > Just opened a huge org mode file with the visual option and it is working > just as expected. One thing I noticed though that can be an improvement: > > When working with really large files, 10k+ lines long, having the current > line display the abs line number can feel "to much" because all lines have > max 2 number and the current line has 5 number so the fringe has to grow > extra 3 columns just to acommodate the current abs line number of the > current line. > > Would it be possible to have like a toggle mechanism to switch the current > line number of the current line from abs to nothing or even to zero? that'd > be a great addition to this already awesome feature. > > Thanks again Eli,will continue testing. > > > > On Mon, Jul 3, 2017 at 2:04 PM, James Nguyen wrote: > >> Eli Zaretskii writes: >> >> >> Debugger entered--Lisp error: (args-out-of-range 1) >> >> signal(args-out-of-range (1)) >> > >> > Thanks, I fixed this now. >> >> Thanks, works for me! >> >> > --001a113cc160f3bf4005537bc861 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Eli, one more question are we able to customize the how the = faces of the numbers look? It would be great if the numbers had one face an= d current line number had another face so we could assign different colors = to each in our current theme.

thanks again.

On Tue, Jul 4, 2017 at 7:5= 7 AM, Filipe Silva <filipe.silva@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Eli, I was just able to begin = some testing on visual relative line numbers now and I must say that is tru= ly joyful. The speed, the precision, coupled with evil mode, absolutety fan= tastic. What a great feature. What a great editor.=C2=A0

Just op= ened a huge org mode file with the visual option and it is working just as = expected. One thing I noticed though that can be an improvement:=C2=A0
<= br>
When working with really large files, 10k+ lines long, having the cu= rrent line display the abs line number can feel "to much" because= all lines have max 2 number and the current line has 5 number so the fring= e has to grow extra 3 columns just to acommodate the current abs line numbe= r of the current line.=C2=A0

Would it be possible to have like a= toggle mechanism to switch the current line number of the current line fro= m abs to nothing or even to zero? that'd be a great addition to this al= ready awesome feature.

Thanks again Eli,will continue testing.


On Mon, Jul 3, 2017 at 2:0= 4 PM, James Nguyen <james@jojojames.com> wrote:
Eli Zaretskii <eliz@gnu.org> writes:

>> Debugger entered--Lisp error: (args-out-of-range 1)
>>=C2=A0 =C2=A0signal(args-out-of-range (1))
>
> Thanks, I fixed this now.

Thanks, works for me!



--001a113cc160f3bf4005537bc861--