help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (frame-width) is not accurate


From: Davin Pearson
Subject: Re: (frame-width) is not accurate
Date: 31 Mar 2007 01:16:02 -0700
User-agent: G2/1.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]