unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: gdb-ui / fring coredump question
Date: Wed, 2 Feb 2005 13:18:16 +0000 (UTC)	[thread overview]
Message-ID: <m1CwKOe-0004QeC@rattlesnake.com> (raw)
In-Reply-To: <16896.35536.685152.154254@farnswood.snap.net.nz> (message from Nick Roberts on Wed, 2 Feb 2005 21:09:52 +1300)

   ... if you are using a different toolkit (GTK?) perhaps
   (window-fringes) gives something different again with a car of less
   than 8.

No.  (window-fringes)  gives you   (8 8 nil)
*unless* you specify a non-default font size.


Using yesterdays's GNU Emacs CVS snapshot,  Tue, 2005 Feb  1  13:09 UTC
GNU Emacs 21.3.50.49 (i686-pc-linux-gnu, GTK+ Version 2.4.14)
started with

    emacs -Q

[I evaluated

  (custom-set-faces '(fringe ((((class color)) (:background "blue")))))

to see the fringes.]

The default:

    (window-fringes)  evaluates to     (8 8 nil)

    and fringe-mode   evaluates to     nil

After I evaluated

    (set-frame-font "10x20")

 (window-fringes)  evaluates to     (10 10 nil)

 and fringe-mode   continues to evaluate to     nil

Incidently, to set-fringe-mode on the left only, I must load "fringe";
otherwise I enter the debugger.

(progn
  (load "fringe")
  ;; Fringe only on left
  (set-fringe-mode '(nil . 0)))

Then (window-fringes)  evaluates to     (10 0 nil)
for the larger font and

    (8 0 nil) for the default

and fringe-mode    evaluates to    (nil . 0)

--
    Robert J. Chassell
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

  reply	other threads:[~2005-02-02 13:18 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
2005-02-02 13:18       ` Robert J. Chassell [this message]
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=m1CwKOe-0004QeC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    /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).