From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Better handling of window margins Date: Sat, 05 Dec 2015 10:17:42 -0500 Message-ID: References: <87mvttsvsj.fsf@fastmail.fm> <83k2oxj7d6.fsf@gnu.org> <565F2DD3.9020400@gmx.at> <838u5cka88.fsf@gnu.org> <565F3441.1020707@gmx.at> <83610gjabz.fsf@gnu.org> <566086FA.6010603@gmx.at> <83h9jzi99p.fsf@gnu.org> <83d1umiq9u.fsf@gnu.org> <83lh9agtke.fsf@gnu.org> <834mfygihw.fsf@gnu.org> <83vb8dgbo6.fsf@gnu.org> <83si3hfhvy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449328743 17861 80.91.229.3 (5 Dec 2015 15:19:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2015 15:19:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 05 16:18:54 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a5Ebt-0007b1-OH for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2015 16:18:53 +0100 Original-Received: from localhost ([::1]:46824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5Ebt-0007Re-4h for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2015 10:18:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5Ebp-0007Qy-5Y for emacs-devel@gnu.org; Sat, 05 Dec 2015 10:18:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5Ebo-0007RZ-GG for emacs-devel@gnu.org; Sat, 05 Dec 2015 10:18:49 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:1632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5Ebj-0007Qb-TU; Sat, 05 Dec 2015 10:18:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxFgA731xV/yr292hcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjEAs0EhQYDSSINwjPIwEBAQcBAQEBHos6hQUHhC0FjDCSZ5IUg1kjhBYggngBAQE X-IPAS-Result: A0AxFgA731xV/yr292hcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjEAs0EhQYDSSINwjPIwEBAQcBAQEBHos6hQUHhC0FjDCSZ5IUg1kjhBYggngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="184557971" Original-Received: from 104-247-246-42.cpe.teksavvy.com (HELO fmsmemgm.homelinux.net) ([104.247.246.42]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Dec 2015 10:17:43 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 29385AE095; Sat, 5 Dec 2015 10:17:42 -0500 (EST) In-Reply-To: <83si3hfhvy.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Dec 2015 09:56:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195922 Archived-At: >> I'm not sure whether we can handle well all possible cases, indeed. >> But if we design an API where the elements are always associated with >> lines rather than with precise buffer positions, it should >> be manageable. Maybe this API will be inconvenient for some use cases, >> of course. > Once again, my proposal handles this for all cases. AFAIK your proposal is unrelated because it only affects the size of the display margin, whereas part of the issue is to control ordering of mergin elements on specific lines. Stefan