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#29279: Sharing the margins Date: Wed, 15 Nov 2017 00:39:34 +0200 Message-ID: <0547e92c-a574-0fe4-6122-1d11b24ee3c5@yandex.ru> References: <0a54e927-cab1-1f1d-4996-85bb36949a33@yandex.ru> <83375imbaa.fsf@gnu.org> <83o9o6kp61.fsf@gnu.org> <83h8tykm99.fsf@gnu.org> <83375glvx4.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 1510699222 5060 195.159.176.226 (14 Nov 2017 22:40:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Nov 2017 22:40:22 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 29279@debbugs.gnu.org, joostkremers@fastmail.fm To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 14 23:40:18 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 1eEjsG-0000WU-4D for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Nov 2017 23:40:13 +0100 Original-Received: from localhost ([::1]:33842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEjsN-0003av-FS for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Nov 2017 17:40:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEjsE-0003aq-RA for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 17:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEjsA-0004jC-TM for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 17:40:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60287) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eEjsA-0004iv-Pb for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 17:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eEjsA-0007PT-HW for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 17:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2017 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29279-submit@debbugs.gnu.org id=B29279.151069918528456 (code B ref 29279); Tue, 14 Nov 2017 22:40:02 +0000 Original-Received: (at 29279) by debbugs.gnu.org; 14 Nov 2017 22:39:45 +0000 Original-Received: from localhost ([127.0.0.1]:40735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEjrt-0007Ou-0y for submit@debbugs.gnu.org; Tue, 14 Nov 2017 17:39:45 -0500 Original-Received: from mail-wm0-f44.google.com ([74.125.82.44]:40001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEjrr-0007Oe-Mb for 29279@debbugs.gnu.org; Tue, 14 Nov 2017 17:39:43 -0500 Original-Received: by mail-wm0-f44.google.com with SMTP id b189so17702113wmd.5 for <29279@debbugs.gnu.org>; Tue, 14 Nov 2017 14:39:43 -0800 (PST) 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=Esl0MIOA/byimrWHz45K0+d6V7nmobNqPd/wOHpVIvw=; b=UHL8xNFDdlbI4oQTrD/eaLkKW843CHRGX4uVC7zhK+ZUqcmpFEDV1GQopJJ0uXIUou AgxwVrO7yKTM5uRPp0Lc/1Jk8Z4Vglz7PwQ4xfobNvMkpHWCkwJ9EHBRah3tgC2gdcWN uDMg33vUDJPI/gDafTGKCHX884RsXwP4xkrmM6clE1QSDlv5FOaXqe4kcFEc4Q5Wu/1Y TKBaKUb7/hETp0XmeX95/h6yGienKcPApNFhnti9fO0d+aMday3HQ9NlzdNt7Is1Ht24 UhO+425H8P9lzWZFwrEfyxfUFjWUJLMxFTfz9zAaRDrxGr/OljVBpI6Awy2cmSkpc3Tq 0+Pw== 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=Esl0MIOA/byimrWHz45K0+d6V7nmobNqPd/wOHpVIvw=; b=aEH25RsJ54ykiGfmx2jGrKXiJ+R30GunUR5MCDQjj9Q9umO0VCfrtWRcH9HuEaXhd+ bRvBhLCleeVY5veW7YlA9ib0PoJ51upDDl1GygDcH/7icIXfPDHXkQewSrlF4qzZ5Vye 7ruLWgl3I5SdwfqukOh5JV125G3BSWhfFK9r/Lu2klaTdq6ZKB7ppCDr0EECXBa/pkTe TwVIOXEdyLI9OyqdRGWKUGaSAF8f5CqSoXMXINfWB5QEYIHbcbnsl2TTYYl9H1/iw87I V+9yt/c/pIVxLjD2HuxgTDZyNBqtbEiEEGTzDDT+oLB6nK/JT59gxuIngjJvZ+SnISB5 KEoQ== X-Gm-Message-State: AJaThX4T5dJB+av9oMDluQuWA0Doql47o9COjuF76uyIcdnCAY98nOCf TrFOQLrrQe36osFO4xtt/Lk= X-Google-Smtp-Source: AGs4zMb97wZCkHaZsPALWNzGAINKHPIjsf4cHjC+MbtOUeJUSOsx6gH5Gs70N7CP0m70k3fcwJWFiA== X-Received: by 10.28.57.11 with SMTP id g11mr7972478wma.92.1510699177654; Tue, 14 Nov 2017 14:39:37 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id b206sm815267wme.11.2017.11.14.14.39.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Nov 2017 14:39:36 -0800 (PST) In-Reply-To: <83375glvx4.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:139908 Archived-At: On 11/14/17 5:30 PM, Eli Zaretskii wrote: >> So I'd personally prefer to have all padding on one side. > > But then requests for the rightmost (or leftmost) column will go > unsatisfied, for apparently no good reason. It might be just a matter of interpretation: even if all the padding is on the right, the "rightmost" column will remain such, among all the visible columns. Alternatively, the new function will be able to set the padding to "justify" as well, but I doubt a lot of users will like it. >> Doesn't the use of the special area trigger the window configuration >> changes as well, in similar situations? > > No, and I still hope we can avoid the need to do that. > tabulated-list-mode came close, but I eventually succeeded in making > it happy with the other hooks. > >> After all, it also changes the accessible window body width, right? > > It depends on your POV. My POV is that it doesn't, since the window > dimensions and the dimensions of the text area are unaltered. At > least one other person disagreed (vociferously). But the effects are almost entirely the same, aren't they? Both the change of margin width and the change of line numbers column width force the reflowing of buffer contents display. If the latter doesn't have to run window-configuration-change-hook, maybe the margin changes don't have to either, and "other hooks" will suffice as well?