all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 6930-done@debbugs.gnu.org
Subject: bug#6930: 24.0.50; (elisp) Layout Parameters: What is ""the standard fringe width"?
Date: Sat, 28 Aug 2010 11:18:14 +0300	[thread overview]
Message-ID: <83sk1zkv5l.fsf@gnu.org> (raw)
In-Reply-To: <69C7B1DB961B42BC919820FB3B331292@us.oracle.com>

> From: "Drew Adams" <drew.adams@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.





  reply	other threads:[~2010-08-28  8:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27 22:22 bug#6930: 24.0.50; (elisp) Layout Parameters: What is ""the standard fringe width"? Drew Adams
2010-08-28  8:18 ` Eli Zaretskii [this message]
2011-04-10 20:44 ` Chong Yidong

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sk1zkv5l.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=6930-done@debbugs.gnu.org \
    --cc=drew.adams@oracle.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.