From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property Date: Thu, 19 Oct 2017 01:52:31 +0300 Message-ID: References: <1508125091.3713406.1139815176.12F59A69@webmail.messagingengine.com> <83po9nf58h.fsf@gnu.org> <3fdce54f-f704-66df-75db-843dbd98ec50@yandex.ru> <83h8uwe730.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1508367211 28314 195.159.176.226 (18 Oct 2017 22:53:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 22:53:31 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 28855@debbugs.gnu.org, Stefan Monnier , John Wiegley To: Eli Zaretskii , martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 19 00:53:25 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1e4xD1-00048h-2Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Oct 2017 00:53:07 +0200 Original-Received: from localhost ([::1]:46814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4xD6-00062x-Oo for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 18:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4xD0-00062s-HM for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 18:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4xCw-0000hI-L5 for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 18:53:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4xCw-0000hA-HS for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 18:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4xCw-0006pG-9i for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 18:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Oct 2017 22:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28855-submit@debbugs.gnu.org id=B28855.150836716226208 (code B ref 28855); Wed, 18 Oct 2017 22:53:02 +0000 Original-Received: (at 28855) by debbugs.gnu.org; 18 Oct 2017 22:52:42 +0000 Original-Received: from localhost ([127.0.0.1]:48847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4xCb-0006od-Ty for submit@debbugs.gnu.org; Wed, 18 Oct 2017 18:52:42 -0400 Original-Received: from mail-wm0-f53.google.com ([74.125.82.53]:48049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4xCZ-0006oN-So for 28855@debbugs.gnu.org; Wed, 18 Oct 2017 18:52:40 -0400 Original-Received: by mail-wm0-f53.google.com with SMTP id t69so12635153wmt.2 for <28855@debbugs.gnu.org>; Wed, 18 Oct 2017 15:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5iBC9wk83Lut9sWo4+AUX0Cxy9xCYeWXfKW2I3pRHXA=; b=vLhdo1pSVUEw99G1mW5P3EBKEk+BWf5/svMK0dXP4m2btYElDoFw34j09C2x0bvYGA ghBVe+yt9pG23T/CUSmIdX5+A7k63jfMc/6BoGXudsePL1tH+CZiW0Z6UmlYX3BWooHp NOUnfIL4z1AUtNI9sY5FMV/ITGClzTeLklwwaLdXCdA/kKbrvLw3b+/T4oNyjNk9nZ+i QScuAZOd/G88XBrdz+dqUmuKxiekF++jFY1K/qQUHNYc4RcufaSV/76uCvUqUiS09FtG G7nPSSIalnhUduDJ9Rg1mgyggFUkv1AhymU0GBgqIXuHW9llrcjhCxD4VmA1Lc+K8Vz3 n9cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5iBC9wk83Lut9sWo4+AUX0Cxy9xCYeWXfKW2I3pRHXA=; b=VdjVUFy5XaKm976AnRomilQcJvtMYOpHBOA5Kpcdh8kmqmtlX9tqun8MzHwZce1MQP +54G3Lhr3QxrWMNU7dtNJ158wKctgnDwX5bU7DtLMqCpB/ocfUFuilFmA8kYWhmPWHWj WPR5UX3t5pA+sANMDHFKs4FMMA5hTbSnAHw4moitN/FQpbvuchhC9U+0p3URAlDuEXPQ /3JzYZU2QbVFLL8bWcbN9/i5ttQXeioSG9jHE5cE0PbVStgAe7DDw0cfRAtHI4RpSEZR Rhk2tTUwNwTrY40amVNWSM7N7u6Vybc6E8dSlFyBW6qnfjNwcNkeCnpy6/O9eiIkPyPa ZBKg== X-Gm-Message-State: AMCzsaWX4Rr8Gvh47J4mRQvvSlcb2gVK+r3Zix9qN1hEPHXcvh9nDf4W ULZ0uqwhqX0ChIZfS3d0sb8= X-Google-Smtp-Source: ABhQp+RjoJzwPFp0UEbL7RTlUm9Kvt8rwGhNcqK53mvVzDkkxeIlf3UOGChfa5qz+pehNolXdDUeqQ== X-Received: by 10.80.208.222 with SMTP id g30mr133265edf.246.1508367154180; Wed, 18 Oct 2017 15:52:34 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id m1sm9119165edd.76.2017.10.18.15.52.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 15:52:33 -0700 (PDT) In-Reply-To: <83h8uwe730.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138696 Archived-At: On 10/18/17 7:47 PM, Eli Zaretskii wrote: > Well, "harder to implement" is very relevant here ;-) > > Also, "outside of the window edge" has implications besides text > layout, and I trust Martin's judgment (which happens to match mine) > that we should try letting those sleeping dogs lie. I get that it might have been too difficult to work out in time for Emacs 26, but here's hoping we'll get it sorted out in some later release. > In any case, this opinion of yours probably means that having > :align-to automatically update its offsets to account for the line > numbers is in the direction you wanted Emacs to go, albeit not all the > way, right? I mean, it does make Emacs behave as if line numbers were > not part of the text area in this case. Yes, but it might be not as beneficial when some other features do react to line numbers. Still, seems like the better choice here. >> As it is now, third-party code has to adapt instead, by handling the >> line numbers specially. > > Yes. But this is nothing new, it happens with almost every > display-related feature. Not every new feature has to become a new display-related feature, though.