GNU bug report logs -
#6930
24.0.50; (elisp) Layout Parameters: What is ""the standard fringe width"?
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Fri, 27 Aug 2010 22:24:02 UTC
Severity: minor
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 6930-done <at> debbugs.gnu.org (full text, mbox):
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Fri, 27 Aug 2010 15:22:49 -0700
> Cc:
>
> The text says this:
>
> The default width of the left and right fringes of windows in this
> frame (*note Fringes::). If either of these is zero, that
> effectively removes the corresponding fringe. A value of `nil'
> stands for the standard fringe width, which is the width needed to
> display the fringe bitmaps.
>
> If Lisp code wants to know how wide the left fringe is for a certain
> frame, it can look at the value of parameter `left-fringe' (and at
> variable `fringe-mode'). But if parameter `left-fringe' is nil, then
> the fringe width is what?
This works for me:
(frame-parameter FRAME 'left-fringe) => 8
FRAME can be nil, meaning the currently selected frame.
Calling frame-parameter is the standard way of accessing values of
frame parameters.
So I'm closing this bug.
This bug report was last modified 14 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.