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: Re: relative line numbers and folding: how to make they play along? Date: Wed, 13 Jul 2016 00:43:45 -0300 Message-ID: References: <8360sbcvbz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1468381471 11557 80.91.229.3 (13 Jul 2016 03:44:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2016 03:44:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 13 05:44:25 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 1bNB60-0007di-SW for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jul 2016 05:44:25 +0200 Original-Received: from localhost ([::1]:44955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNB5w-0007F1-Pr for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 23:44:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNB5T-00073E-Ni for help-gnu-emacs@gnu.org; Tue, 12 Jul 2016 23:43:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNB5R-0007U2-OX for help-gnu-emacs@gnu.org; Tue, 12 Jul 2016 23:43:50 -0400 Original-Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:35718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNB5O-0007Tg-SH; Tue, 12 Jul 2016 23:43:47 -0400 Original-Received: by mail-oi0-x235.google.com with SMTP id r2so52429685oih.2; Tue, 12 Jul 2016 20:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fc0ZWNF2mc227NMwCat+H11svXWa1HWWP7wIei5U/wU=; b=PZYXusZdk6kIMEWdDdJZPGpN/tkDpb5tpmPYChTSRjI/ar03wJ7DYVhAM38dLwVO4I hv7MbskWwF4t8weT2QOyuHKPjGBr4Gx9XS8skagBNNuoD3eCf6Ne+aJvzLGHCWVfa74Y jUGSEM97qK6H6duCkHZa9nOvg3d//npOBsPi0/2ZAZwtdtgBd6K28oBdwKWDpekCwvh7 4ipO4YA0eFsaa87yDnhmiYvmN1js8P9UPqAeEFtMj4Ok5hKoz2ACMgnz19FDgzkyrmzH KRGxZu7+sNUKyo/5i+XToHHHIyIVmTesk/Wn3lXC063mcN+IEnn7DW1Kxf0ZakeJoNBD /uxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fc0ZWNF2mc227NMwCat+H11svXWa1HWWP7wIei5U/wU=; b=GNBKlnZ3ezZWjVLZ4qdOOrO2bhMHkv8Fgf0xakuPfAvi+TF3YzdZneagBNdEEMiPeT nyyWn0CFAj6BAAIMEu22/CQ5yhzf7Fw6zg5oLcSlYb/9R0c2ZOr61fhJKHIo9XSvPTzM Fa5Hawz+kGigTzTArBJWOZkbYpp371yShgYoJiD6umuJh1TZoBSgAKIXpJYAuUYzRqix SdI80guonevsBvGp2mspwPZ4EhIp5mMQWMW4kJd2OZbd4Z5zptlHdrk4cfER6WFa59NZ W+a+6RAWFcvuqz7MPgWVdbOgKwcD0/y9JhjvLvwJPssFsZ2JjDRETfP+rMYeEvwb1Qz2 1Elg== X-Gm-Message-State: ALyK8tIBRyfn0gCoVODG1qma6YwyHIQ39n9FiiJ8ofcY+UVqZZ7uM0GUK/c53+NrkuMoj1VZhPtgQMsoqocmoA== X-Received: by 10.157.48.106 with SMTP id w39mr3777991otd.108.1468381425634; Tue, 12 Jul 2016 20:43:45 -0700 (PDT) Original-Received: by 10.202.114.196 with HTTP; Tue, 12 Jul 2016 20:43:45 -0700 (PDT) In-Reply-To: <8360sbcvbz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::235 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:110802 Archived-At: Is there a way, from emacs -Q, of setting relative line numbers as shown here? https://cloud.githubusercontent.com/assets/8352747/16707876/4bd64c22-45b5-11e6-8d13-ae9c994cbb02.png On Tue, Jul 12, 2016 at 1:51 AM, Eli Zaretskii wrote: > > From: Filipe Silva > > Date: Mon, 11 Jul 2016 12:11:45 -0300 > > > > 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. > > What are "relative line numbers" in Emacs? I see nothing in these > discussions that describes how (with what commands/packages) the line > numbers were produced in Emacs. So it's hard to tell anything > intelligent about this issue. > > > 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. > > The right place and way to discuss this is by filing a bug report with > all the specifics, including a recipe for reproducing the issue, > preferably starting from "emacs -Q". > > Thanks in advance. > >