From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: Customize fringe Date: Sat, 11 May 2002 11:12:51 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <5xu1pgsxtc.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021108561 15061 127.0.0.1 (11 May 2002 09:16:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 11 May 2002 09:16:01 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 176Syv-0003uo-00 for ; Sat, 11 May 2002 11:16:01 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 176T8Q-0003PQ-00 for ; Sat, 11 May 2002 11:25:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 176Syl-000609-00; Sat, 11 May 2002 05:15:51 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 176SwH-0005v9-00 for ; Sat, 11 May 2002 05:13:18 -0400 Original-Received: from latte-eth2-dhcp128.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.3/8.12.3) with ESMTP id g4B9DE5p022819; Sat, 11 May 2002 11:13:15 +0200 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: <5xu1pgsxtc.fsf@kfs2.cua.dk> (storm@cua.dk's message of "10 May 2002 01:31:27 +0200") Mail-Copies-To: nobody Original-Lines: 31 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3834 storm@cua.dk (Kim F. Storm) writes: > Simon Josefsson writes: > >> What do you think of this? > > I would like you to wait implementing anything like this. > It is on my TODO list to make fringe configurable > per buffer/window rather than per frame. > > Something like variables left-margin-width / right-margin-width > and functions set-window-margin / window-margin. > > Once that is in place, various modes may fine-tune their > use of the fringe (e.g. gdb may explicitly enable the left > fringe for the arrow, and speedbar may turn off both fringes > by default). Hm. Aren't these separate issues? Fine tuning for each mode would require per buffer fringes. But the overall customization by the user to disable fringes works if default-frame-alist and all existing frames are modified. If the fine tuning exist, it can override the frame wide decision not to have fringes. My main goal is that it should not be very difficult for the user to just disable fringes everywhere, much like you can disable the toolbar and menubar everywhere today. Fine tuning is useful for re-enabling fringes in those modes where the user wants them, but couldn't that be added to fringe.el later? But I won't do anything if you and others object, of course.