From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Rankin 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: Tue, 17 Oct 2017 10:47:11 +1000 Message-ID: <1508201231.2707210.1141020784.023AF671@webmail.messagingengine.com> References: <1508125091.3713406.1139815176.12F59A69@webmail.messagingengine.com> <83po9nf58h.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508201301 19340 195.159.176.226 (17 Oct 2017 00:48:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2017 00:48:21 +0000 (UTC) Cc: 28855@debbugs.gnu.org, Dmitry Gutov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 17 02:48:16 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 1e4G3E-0003lr-Cb for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 02:48:08 +0200 Original-Received: from localhost ([::1]:35920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4G3L-0000Vh-Sy for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 20:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4G3C-0000SJ-Kt for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 20:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4G38-00007o-Nh for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 20:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4G38-00007h-K8 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 20:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4G38-0006gJ-A5 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 20:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 00:48: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.150820123425627 (code B ref 28855); Tue, 17 Oct 2017 00:48:02 +0000 Original-Received: (at 28855) by debbugs.gnu.org; 17 Oct 2017 00:47:14 +0000 Original-Received: from localhost ([127.0.0.1]:44495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4G2M-0006fG-Kl for submit@debbugs.gnu.org; Mon, 16 Oct 2017 20:47:14 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4G2L-0006f9-2q for 28855@debbugs.gnu.org; Mon, 16 Oct 2017 20:47:13 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9AE6F20E0C; Mon, 16 Oct 2017 20:47:11 -0400 (EDT) Original-Received: from web5 ([10.202.2.215]) by compute3.internal (MEProxy); Mon, 16 Oct 2017 20:47:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lCx46on3dxqxlup22 UzsdOCGk1pqYwg4Ft2Apfr80cA=; b=nBivcnuf5JeA1LQ6LVJbRFL+YPJxwmxaP fxfIZAJmGj1uuoQIaYmGYaJmhOfLLiQ5Yh035PMDc3LSV6HgQdA9OZaLUendfjH3 4wtF/a96qj2tw0MzGNAu0AsiHq7rrYJHgm5zoZEijcPFYb+4GKCSsoFzSFfNMUTl E4QC3f3Xu2t6sJKrRmXVoJpawOvRT9z/+2yf38G0ilNzQQQAWDIh50QHSgs6sNcD GZvAt/+A5qqWEEuy161pwrMkJktnU9+KqBQTvv5qtvtrN+sj5a1bmOqi6MEnXsr6 w8xl7ILF+LXUqzvYF8wj7eRHp1sLm4jIf458bktxtl8Vs4hwnz2eA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lCx46o n3dxqxlup22UzsdOCGk1pqYwg4Ft2Apfr80cA=; b=jq8QEY3lHTfX9leYFb+2Ix BNsVkFv9kWbGwib5HWOKjC7GPim9AM8JPfDq2nUuv/9YafeFAcNO0Ly4R3L88CrK 0wTs6PvnAn9HkWau/oVGTGv6ayZvWdGZ6MyMltmu3C+fIDiv8KqacJVMDnR6Fvsn iFABdHw9oZIT68ALkNHcJb+gzEUxgnaUVb0T0+XY1h7/zwACJ3SvECbLSp+yEU1e txq4wB+BCebAwDo04RrwxortNvMlOvB49TzhrimqtDlVQgar+G/Ceub1QDTxedi7 Kph37hIVF/3dSX6KJBHJGHJART8T4NGXTOnwVYWdFmJXPmrllF7x6a6n0bJUfoSg == X-ME-Sender: Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id 75F3C9E303; Mon, 16 Oct 2017 20:47:11 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface - ajax-26fdae60 In-Reply-To: <83po9nf58h.fsf@gnu.org> 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:138564 Archived-At: On Tue, 17 Oct 2017, at 02:05 AM, Eli Zaretskii wrote: > Right, :align-to still counts from the window edge, even when line > numbers are displayed, whereas you expected it to count from the end > of the line-number display. linum-mode.el (in 26.x) manages to display line numbers without interfering= , so it=E2=80=99s really just about display-line-numbers-mode. > When this was briefly discussed during development, we decided not to > change the reported window dimensions and geometry, including those of > the text area, to account for the screen estate taken by the > line-number display. But maybe :align-to should be an exception, when > used to align buffer text (as opposed to header-line or mode-line)? > Though I'm bothered whether some users of :align-to may not want this > automatic offset. :align-to is a very popular feature; does anyone > know or imagine why a Lisp program would NOT like such an offset? Citing other discussions is not really relevant, if there=E2=80=99s a probl= em there=E2=80=99s a problem. User expectation is if a user writes codes fo= llowing the Elisp manual, the expectation is that it should continue to wor= k. In this case, using :align-to should align to its specified value.