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: Wed, 18 Oct 2017 12:29:08 +0300 Message-ID: <3fdce54f-f704-66df-75db-843dbd98ec50@yandex.ru> 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1508319023 29197 195.159.176.226 (18 Oct 2017 09:30:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 09:30:23 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 28855@debbugs.gnu.org To: Eli Zaretskii , Paul Rankin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 18 11:30:17 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 1e4kfy-0005or-3q for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 11:30:10 +0200 Original-Received: from localhost ([::1]:43535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4kg2-0003mu-F8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 05:30:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4kfw-0003kk-Tc for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 05:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4kfr-0004Yg-24 for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 05:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4kfq-0004Y6-UY for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 05:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4kfq-00036e-OI for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 05:30: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 09:30: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.150831896011838 (code B ref 28855); Wed, 18 Oct 2017 09:30:02 +0000 Original-Received: (at 28855) by debbugs.gnu.org; 18 Oct 2017 09:29:20 +0000 Original-Received: from localhost ([127.0.0.1]:47304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4kf9-00034s-Rp for submit@debbugs.gnu.org; Wed, 18 Oct 2017 05:29:20 -0400 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:56021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4kf8-00034b-5h for 28855@debbugs.gnu.org; Wed, 18 Oct 2017 05:29:18 -0400 Original-Received: by mail-lf0-f42.google.com with SMTP id p184so5037510lfe.12 for <28855@debbugs.gnu.org>; Wed, 18 Oct 2017 02:29:18 -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=u9julWb+GW1TJQLWBnXwtteHjLAxeb8cmCrEqvlfP0U=; b=tVb+rpsCYh6SOBRm1jZ3tROFRreZPAh5KEIsqFYpzYNpe0AaJ07dXsNBjr73ebYFN7 SeBy+oC7eQRDi7XNQUIKgiQOSWjyW290t3TwuF04Rbsvh0iXvLLd7v12qIT4NOSIeTS8 lPz2I3kYjeNayqk/Efn4tYVA33DfkcbIg+Dh90zaZC9EapEqJcVCSTlyhLxi20e6PDPO g5mUUm/XyhIOOK6ZDwGcXap7swrzZEvR7x+WP8DH3dx2Oq2P2QTSxsiX1FnhL0tIMfK3 g2Jeb6HaREFhPFKgXbuF/e4Ie8CpxdvRH/eCLG4iKOb/vwAxS1iwX7S9qghEHuLtz+rc 7Kcg== 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=u9julWb+GW1TJQLWBnXwtteHjLAxeb8cmCrEqvlfP0U=; b=i0G3onFL4f/kmvLiR1WJV1w0EXk1tWov/y26KteMA7apx1BwUPmBkS+v66d2ldfDUc Owlrk30XgXAUkVNcka0+Jlloa2kI6m7DhxA6RvAXomzNqw8qoWr1bV0cSAAmPhRUl0wb szIAhYlN+Lbd/mdbJNOpK+xRjxyuNrjMumQUVOH+7DtacH3a/qj2bjphvnpQQnNzJ1rG cst379WPl8zyHp4B1Q6DqIVkjP6QHPSkI37Mm+csXFJ1L/DPB30stdH0CasQWh6vRp/g 2sivfVd6dSheE+Y8yDPAqB0fWNwndftg/rNPo7fI02nZi/qQMSYaeUn00IIJptYe9qPx V9vA== X-Gm-Message-State: AMCzsaUjM0YecAVYwN8ScdSgs4Uxue8Sp4zwV5oiU7Kq8fSm1y1F+rBj zzQV/+i499inFxbFOTs1Rr7dupSq X-Google-Smtp-Source: ABhQp+RT+VD1M+BLC4QOLIxJL7bwBML3rKBbRsx8luRV/CGig2Wqxwbmndpz2sUJxI03CwvMrn0C2g== X-Received: by 10.25.43.9 with SMTP id r9mr3898875lfr.128.1508318951858; Wed, 18 Oct 2017 02:29:11 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id t7sm2925010ljd.53.2017.10.18.02.29.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 02:29:10 -0700 (PDT) In-Reply-To: <83po9nf58h.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:138661 Archived-At: Hi Eli, On 10/16/17 7:05 PM, Eli Zaretskii wrote: > 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. FTR, I'd have preferred for the line numbers to be considered outside of the window edge, together with fringes and margins. And I still don't see any downside to it (except it might be harder to implement). As it is now, third-party code has to adapt instead, by handling the line numbers specially. > 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? > > What do people think? Dmitry, what about company-mode popups, for > example? Not sure. What about them? We don't use align-to in the popups (though we could, for space-only offsets, now that I've read about this spec; not sure if the change will be worth it, performance or memory-wise). And as for align-to's used in the buffer text, we probably don't support them very well, but the proposed change shouldn't make it any worse, I think.