From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: More enhancements to fringe bitmaps. Date: 13 Feb 2004 00:35:00 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <16426.48548.766163.869974@nick.uklinux.net> <16427.45300.93906.19878@nick.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076625750 11143 80.91.224.253 (12 Feb 2004 22:42:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2004 22:42:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Feb 12 23:42:24 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArPXM-0007Vf-00 for ; Thu, 12 Feb 2004 23:42:24 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArPXL-00041p-00 for ; Thu, 12 Feb 2004 23:42:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArPXL-0005jK-SA for emacs-devel@quimby.gnus.org; Thu, 12 Feb 2004 17:42:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ArPRZ-0003y5-Nv for emacs-devel@gnu.org; Thu, 12 Feb 2004 17:36:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ArPQw-0003lP-IN for emacs-devel@gnu.org; Thu, 12 Feb 2004 17:36:18 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArPQK-0003Zi-Oq for emacs-devel@gnu.org; Thu, 12 Feb 2004 17:35:08 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id C99FA5EE1B9; Thu, 12 Feb 2004 23:35:01 +0100 (CET) Original-To: Nick Roberts In-Reply-To: <16427.45300.93906.19878@nick.uklinux.net> Original-Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19904 Nick Roberts writes: > > As a side note, I also find it hard to get used to NOT being able > > to set a break-point with the mouse in a source buffer which is > > not "side-shifted". > > But you can set a breakpoint, by clicking in the fringe, using the code that > you wrote (the local variable gud-minor-mode needs to be non-nil, though). Ok, so that's the missing link... when is that variable set? > > > I don't see why the two approaches cannot live side by side, i.e. let > > it be a user option whether the breakpoint should be in the display > > margin or in the fringe (when available, and it has a width >= 8 > > pixels): > > > > I.e. something like.. > > I would prefer to have just one approach. If the general preference is to > use the fringe then I'll move the breakpoint icons there. I would prefer the fringes when available -- but as you say, the display margins are the only option on text-only terminals. So you need to support both (but you don't need to support icons for the display margins though). > > > The new code I added explicitly handles the overlay arrow as an > > overlay also in the fringe, i.e. the > icon is shown above another > > bitmap (eg. a breakpoint icon) in the same position. > > This certainly makes the fringe more attractive. That was the intention :-) -- Kim F. Storm http://www.cua.dk