From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.help Subject: relative line numbers and folding: how to make they play along? Date: Mon, 11 Jul 2016 12:11:45 -0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1468269717 19227 80.91.229.3 (11 Jul 2016 20:41:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 20:41:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 22:41:53 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMi1V-0000Iu-N9 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 22:41:49 +0200 Original-Received: from localhost ([::1]:35954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMi1U-00084g-Ul for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 16:41:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcs9-0000eX-HN for help-gnu-emacs@gnu.org; Mon, 11 Jul 2016 11:11:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMcs7-0006N2-Bm for help-gnu-emacs@gnu.org; Mon, 11 Jul 2016 11:11:48 -0400 Original-Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:33708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcs7-0006Mv-5Q for help-gnu-emacs@gnu.org; Mon, 11 Jul 2016 11:11:47 -0400 Original-Received: by mail-oi0-x22c.google.com with SMTP id u201so151605804oie.0 for ; Mon, 11 Jul 2016 08:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=EYoP12GamfeFSPrjPZAR5+JaYZel9mmkk6ugeb0+iRI=; b=grhp4jiZwc0EpsLNCUOEKD3zxQxgLRiMquq5EEUJBSctAKflJRWZpggWws74MmJBKu 1WBwZECVrfi01bZQuvWFit5fSWVyL+tvUqt2O+9jTD03LeTy7HRQSltjAVLS+RayB53l lmTrNBqHSEqEZA6eHBKzt3R3aqD9XevuAYiL+P//vpoxJnGSL+Ir8oayEErt+ytMPcyr HkqWF5d7xwDGg5OmRhOowNrH8XTU7bdl62y1YB4LcIPdlFKwzL8Bs3UNJCwdLoCdDYXu dE6YXQw1BMuQJG2R+l5vocfDv/RsG/Y018zcPceI913HGmhvymgdbbsqnFy/TFuhtPoc 9+XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EYoP12GamfeFSPrjPZAR5+JaYZel9mmkk6ugeb0+iRI=; b=dS6pCTJnQX34zFR/z0Gh8A2+GiO5W0hBAj0cSc3UE6Ms3gySJVm/xjOXS1H9++qm/4 VFxO+rgD4A1k2FBdncU15fe8+hVEDpcKdBx+IR6x/n8pjc8ExWSyj0Kcp/rmM6plogEC 9EcJz+ryDBIecJFs4EfOlERkAxq/HEkt+5eh77WN9YRe4sAs4YXAdkq5snIQbW9Qq5i2 xL9QiRuH5IKpNVJeLkfbOTaW6ubgF4vMD3g/QbCJJnQc3rkAhsZuFXC8jc0tNcDNBBbC K6yx8QoylN1CsZ9FEhr7EXzQNVEkfDe17Y6aVmVed+TvKtQoK7UfOIxNalqkiVd13nXC ghUA== X-Gm-Message-State: ALyK8tKUI9FDRnm2K2Em1OJVt7u5JYDhLhyhlFHd7ffi6PeLti3/lNxXUtt3DSHvMsQg5juaSKfGCyF8bknYzw== X-Received: by 10.202.169.7 with SMTP id s7mr5662232oie.21.1468249906279; Mon, 11 Jul 2016 08:11:46 -0700 (PDT) Original-Received: by 10.202.236.3 with HTTP; Mon, 11 Jul 2016 08:11:45 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22c X-Mailman-Approved-At: Mon, 11 Jul 2016 16:41:01 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110783 Archived-At: Hi good people, there was some discussion in spacemacs about the relative line number behaviour in emacs: https://github.com/syl20bnr/spacemacs/issues/6536 In essence, currently relative line numbers in emacs are rendered useless if folding is applied to the buffer. Here's a nice example: left is emacs, right is vim: https://cloud.githubusercontent.com/assets/8352747/16707876/4bd64c22-45b5-11e6-8d13-ae9c994cbb02.png One of the spacemacs maintainers specifically said: "I should note that due to how folding and line numbers work in Emacs this would be nigh impossible to fix." I find that difficult to believe given how people in emacs community praise about emacs infinite extensibility. So I ask you, do we have tools to fix this behaviour or do we need a patch in emacs itself? Thanks in advance, Filipe Silva