From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: gdb-ui / fring coredump question
Date: Wed, 2 Feb 2005 21:09:52 +1300 [thread overview]
Message-ID: <16896.35536.685152.154254@farnswood.snap.net.nz> (raw)
In-Reply-To: <fc339e4a05020122283400ca5a@mail.gmail.com>
> > By default, if the fringe is present, both arrow and breakpoint icons
> > should display there. The only way that I can get breakpoint icons to
> > display in the margin when the fringe is present, is to make the fringe
> > under eight pixels wide
>
> I'm confused what you mean above. Do you mean that you _want_ to use
> the margin for breakpoint icons, but that there's some strange
> interaction between the fringe and margin such that this doesn't work
> when the fringe is 8 or more pixels wide? That sounds a bit strange.
No. I mean thats the only way I can see that behaviour.
> I'd think that the most desirable method would be to use the fringe
> for both;...
Yes. That's what should happen.
> > (what value do you have for fringe-mode?).
>
> fringe-mode's value is nil
This should be easy to debug if you instrument gdb-put-breakpoint-icon with
Edebug, click on the fringe to set a breakpoint, and step through the
function. The first gdb-put-string (anachronistic name) puts a bitmap in the
fringe (if reached), while put-image puts an image in the margin.
I've noticed that, in my case, although fringe-mode is nil, so that the
fringes should have the default width (8 pixels), (window-fringes) gives (10
11 nil). Just a guess, but if you are using a different toolkit (GTK?) perhaps
(window-fringes) gives something different again with a car of less than 8.
This is Kim's code so he can probably shed more light.
[Note for Kim: The doco for the variable fringe-mode mentions 'toggle-fringe'
but there doesn't appear to be any such function.]
> Another problem I saw in passing with the both-fringe-and-margins mode
> is that for some reason once the margin had been displayed, it would
> sometimes start blinking on and off (I mean, it would display first
> without the margin, then redisplay with the margin, etc). I don't
> have an easy test case for this though.
I have seen something similar in an xterm but both-fringe-and-margins
mode shouldn't happen ordinarily. Lets debug one problem at a time.
Nick
next prev parent reply other threads:[~2005-02-02 8:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 4:22 gdb-ui / fring coredump question Miles Bader
2005-02-01 6:58 ` Miles Bader
2005-02-01 8:56 ` Kim F. Storm
2005-02-02 6:20 ` Miles Bader
2005-02-01 19:48 ` Nick Roberts
2005-02-01 20:08 ` Nick Roberts
2005-02-02 6:28 ` Miles Bader
2005-02-02 8:09 ` Nick Roberts [this message]
2005-02-02 13:18 ` Robert J. Chassell
2005-02-02 21:31 ` Nick Roberts
2005-02-02 23:00 ` Kim F. Storm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16896.35536.685152.154254@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).