all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Davin Pearson" <davin.pearson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: (frame-width) is not accurate
Date: 31 Mar 2007 01:16:02 -0700	[thread overview]
Message-ID: <1175328962.276203.304560@l77g2000hsb.googlegroups.com> (raw)
In-Reply-To: <1174961286.910387.307160@y80g2000hsf.googlegroups.com>

On Mar 27, 2:08 pm, "Davin Pearson" <davin.pear...@gmail.com> wrote:
> When I execute the function (frame-width) it returns the value 140 but
> but by manually counting the maximum column I get the value 122.  Why
> doesn't (frame-width) return the correct value?  I am using Windows
> XP.  Note that I have executed the following commands in my ~/.emacs
> file:
>
> (progn
>    (set-default-font "-misc-fixed-medium-r-normal--10-*-*-*-c-60-
> iso8859-1")
>    (set-frame-size     (caadr (current-frame-configuration)) 140 43)
> )

Just in case anybody was thinking about replying to my message, I have
worked out how to get the function frame-width to return the correct
value.  It was something to do with the set-default-font command.

      reply	other threads:[~2007-03-31  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27  2:08 (frame-width) is not accurate Davin Pearson
2007-03-31  8:16 ` Davin Pearson [this message]

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=1175328962.276203.304560@l77g2000hsb.googlegroups.com \
    --to=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@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 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.