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 display of line numbers: visual line-counting Date: Tue, 27 Jun 2017 13:26:45 -0300 Message-ID: References: <83podttfpy.fsf@gnu.org> <834lv1scfy.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cbc24a423a00552f38820" X-Trace: blaine.gmane.org 1498583317 13644 195.159.176.226 (27 Jun 2017 17:08:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Jun 2017 17:08:37 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 27 19:08:33 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 1dPtyY-00039z-6S for ged-emacs-devel@m.gmane.org; Tue, 27 Jun 2017 19:08:30 +0200 Original-Received: from localhost ([::1]:57192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPtyd-0004Wt-3d for ged-emacs-devel@m.gmane.org; Tue, 27 Jun 2017 13:08:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPtl1-0006uy-Nr for emacs-devel@gnu.org; Tue, 27 Jun 2017 12:54:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPtKD-000367-Fj for emacs-devel@gnu.org; Tue, 27 Jun 2017 12:26:50 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:36011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPtKB-00034y-Q8; Tue, 27 Jun 2017 12:26:47 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id p187so21467324oif.3; Tue, 27 Jun 2017 09:26:47 -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=z0DX+bUwxV+5QEG4BRAZnQpb+fwtNx/rFvtElvSFxCM=; b=K5ur/D8UhqR79emCzKgqkrNTxoHgFQakmtWDWjvCbc8iEalinwfJE+0N4aS+M3ytiS rwc2uG9+pqDt3xYpbqRvW9ekuYj36iBrUEmd5qDMr72bu6GlS4j6p3/SafV7UJJ0+a8I shHlDjv2/ggDLJ3weIVVECKrZrsopiRfxDvROEaViqG3Sx29+3AZ5R28/r5H9OXsBQUa x2qyaKrOdPRV80bStE+rDmVk3ZuzhprZnQ/f2L+3f0UOfLzp7ZtNfwN8ONGPiL2+lOiC VtDTwvAkHFl1mkVBAvICc8Qy+OZJRSxvkhvFVPZjJU6BGpQJQYWZkyVizZ6WlSiT5RK+ Lpeg== 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=z0DX+bUwxV+5QEG4BRAZnQpb+fwtNx/rFvtElvSFxCM=; b=smlND5o5IcuKoEq1tY4W6RpCUs2NhqjDEANj3ih/Y6S/jRH7+C1ejrn26YE3IBaEPs WFjllvFTdSus4gjgNs1J21J8hXgd1yVrG6AjAFkegxUrv2sZrx5EmV3JVyVEuxn8eSrm G0w3HNHb/5zvlQakEGqtlBio3oCGjcvKO5P1hndwuAXbSwE9kLXnd0/NXDxKPRREKH78 v2fpsavu1NwbhwgrUawTv3qBY4V0yJVzDlU17rEMF39Q+tc0JNUlqde08gT6Bn4vQ/IB NtN+VFfYIhSHMoJQ3SoJF3I2txvW9O2moF+Rveqc1ewvfLhLH20M0+gOPHzStIyj782j pLGA== X-Gm-Message-State: AKS2vOzYllNoG558xMdVUJOLGKx2FBLa8iW60WjbRJMFj6fLLiHABSUS fKAgG6zP1zgLcuPSxD6Rt4hWLbfX5w== X-Received: by 10.202.65.137 with SMTP id o131mr3806812oia.34.1498580806540; Tue, 27 Jun 2017 09:26:46 -0700 (PDT) Original-Received: by 10.182.2.73 with HTTP; Tue, 27 Jun 2017 09:26:45 -0700 (PDT) In-Reply-To: <834lv1scfy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22e 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:216025 Archived-At: --001a113cbc24a423a00552f38820 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =E2=80=8BI see Eli, you are absolutelly right. I did not know that this was= the default. It makes sense to behave as you described by default. I'd like to configure the default to what I described though, maybe through some elisp hackage=E2=80=8B. Will that be possible. It's not a unsolveable = problem if this is not possible. I can always turn off the truncation. About the Overlays, now I see what you mean. It would make sense that the relative line numbers would give me only possible places to jump to with C-n and C-p. On Tue, Jun 27, 2017 at 12:00 PM, Eli Zaretskii wrote: > > This contradicts the only set of requirements I saw posted about this > (by several people): show line numbers that are consistent with > vertical movement commands like C-n and C-p. Which means wrapped > lines should be counted, as Emacs moves visually, at least by default. --001a113cbc24a423a00552f38820 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=E2=80=8BI see Eli, y= ou are absolutelly right. I did not know that this was the default. It make= s sense to behave as you described by default.

I'd like to configure the default to what I described though, ma= ybe through some elisp hackage=E2=80=8B. Will that be possible. It's no= t a unsolveable problem if this is not possible. I can always turn off the = truncation.=C2=A0

About the Overlays, no= w I see what you mean. It would make sense that the relative line numbers w= ould give me only possible places to jump to with C-n and C-p.=C2=A0
<= br>
On Tue, Jun 27, 2017 at 12:00 PM, Eli Zaretsk= ii <= eliz@gnu.org> wrote:

This contradicts the only set of requirements I saw posted about thi= s
(by several people): show line numbers that are consistent with
vertical movement commands like C-n and C-p.=C2=A0 Which means wrapped
lines should be counted, as Emacs moves visually, at least by default.


--001a113cbc24a423a00552f38820--