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: Thu, 09 May 2002 21:46:29 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <877kmd7bf5.fsf@tc-1-100.kawasaki.gol.ne.jp> <87helh5f96.fsf@tc-1-100.kawasaki.gol.ne.jp> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020973696 17653 127.0.0.1 (9 May 2002 19:48:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 May 2002 19:48:16 +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 175ttg-0004ac-00 for ; Thu, 09 May 2002 21:48:16 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 175u2R-0003XJ-00 for ; Thu, 09 May 2002 21:57:19 +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 175ttY-0001LZ-00; Thu, 09 May 2002 15:48:08 -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 175ts6-0001Gi-00; Thu, 09 May 2002 15:46:38 -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 g49Jka5p007983; Thu, 9 May 2002 21:46:37 +0200 Original-To: Miles Bader In-Reply-To: <87helh5f96.fsf@tc-1-100.kawasaki.gol.ne.jp> (Miles Bader's message of "10 May 2002 03:48:37 +0900") Mail-Copies-To: nobody Original-Lines: 48 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:3785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3785 Miles Bader writes: > Simon Josefsson writes: >> Either you have a fringe or you don't. Same as menubar and toolbar. >> Size, content, color etc is additional configuration. IMHO. But I >> see your point. > > My point was that, unlike menus or toolbars, people will _usually_ want to > do something besides turning fringes entirely on or off (presuming they > want to do anything at all), and that as a result, having `fringe-mode' + > adjustments is the wrong user-interface to this functionality. Ok. I based the design from what I wanted out of it. If other people want to do more fine tuned things, I guess it is easy to add. > Note that this is unlike the closest analogue (I think), scrollbars -- > it's common for people to want to simply turn scrollbars on or off, but > the scrollbar location is merely a detail. I disagree -- I rather disable the scrollbar than to have on the left. The location is not a detail. > I expect a common case for the fringes, though will to be to want to > toggle between full-fringes and right-side-only. This simply doesn't map > well to the name `fringe-mode'. Compare with scroll-bar-mode and menu-bar-mode, is it really that different? Given scroll-bar-mode and menu-bar-mode in the past, I'd go look for a fringe-mode to customize the fringes, but maybe that's just me. > As to what the right interface is, I'm not really sure; I guess it depends > a lot on what people want to do with the fringes (personally, I think > they're fine, though I might want to use half/half if we could get it to > use some alternate bitmaps for that case). I want on/off, you suggested half/half and left only and right only. Are there more? >> If I didn't preload it, my fringes didn't go away when I started >> emacs. I had to (require 'fringe). Maybe I did something wrong? It >> looks similar to tool-bar-mode, scroll-bar-mode etc though. > > That sort of detail should be taken care of by the dependencies in your > defcustoms. [e.g., with the :require parameter] I'll try to do it some other way -- that part was cut'n'paste from how scroll-bar-mode handled customize.