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: Mon, 07 Dec 2015 12:36:51 -0500 Message-ID: References: <87mvttsvsj.fsf@fastmail.fm> <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> <83bna4gajl.fsf@gnu.org> <83twnveewy.fsf@gnu.org> <838u56dy6o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449509832 15905 80.91.229.3 (7 Dec 2015 17:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Dec 2015 17:37:12 +0000 (UTC) Cc: John Wiegley , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 07 18:37:04 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 1a5zih-0008Va-S9 for ged-emacs-devel@m.gmane.org; Mon, 07 Dec 2015 18:37:04 +0100 Original-Received: from localhost ([::1]:55755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5zih-0001cf-Ac for ged-emacs-devel@m.gmane.org; Mon, 07 Dec 2015 12:37:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5zid-0001bM-7o for emacs-devel@gnu.org; Mon, 07 Dec 2015 12:36:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5zic-00087l-Br for emacs-devel@gnu.org; Mon, 07 Dec 2015 12:36:59 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5ziX-00087H-Ek; Mon, 07 Dec 2015 12:36:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A+FgA731xV/yr292hcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJC6ICQjPIwEBAQEGAQEBAR6LOoUFB4QtBYwwqFQjhBYggngBAQE X-IPAS-Result: A0A+FgA731xV/yr292hcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJC6ICQjPIwEBAQEGAQEBAR6LOoUFB4QtBYwwqFQjhBYggngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="184681811" Original-Received: from 104-247-246-42.cpe.teksavvy.com (HELO pastel.home) ([104.247.246.42]) by ironport2-out.teksavvy.com with ESMTP; 07 Dec 2015 12:36:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E65EA6009F; Mon, 7 Dec 2015 12:36:51 -0500 (EST) In-Reply-To: <838u56dy6o.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Dec 2015 18:24:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.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:195953 Archived-At: > I don't think we know what _is_ the right solution for the more > general problem. We don't have any experience and AFAIK no packages > that need such a solution. It's a bit of a cats&dog situation, tho. The conflicts with other packages are a strong deterrent to the use of the margin. > So I think we should be very cautious with adding non-trivial display > features, and be sure they have important use cases backing them up > that we want to support for the observable future. Which is why I suggested we go with a purely Elisp library layed on top of the current display features. That lets us play freely with various design options. Contrary to the redisplay code, such a library will have to do its job at the time the margin-display-properties are added to the buffer, rather than at the time they're rendered on screen. Stefan