unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* (frame-width) is not accurate
@ 2007-03-27  2:08 Davin Pearson
  2007-03-31  8:16 ` Davin Pearson
  0 siblings, 1 reply; 2+ messages in thread
From: Davin Pearson @ 2007-03-27  2:08 UTC (permalink / raw)
  To: help-gnu-emacs

To: bug-gnu-emacs@gnu.org
Subject:
--text follows this line--
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing
list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600)
 of 2004-03-11 on NYAUMO
configured using `configure --with-gcc (3.2)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENZ
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

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)
)


Recent input:
j a s d h f k j s d h f k j a h s d k f j h a s d k
j f h a s k d j f h k j a s d h f k j s d a h f f f
f f f g <help-echo> <down-mouse-1> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-1> C-d m y <tab> f o n <tab>
<return> M-x r e p o r t - e m <tab> <return>

Recent messages:
Loading d:/home/mylisp/mystart.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
140
call-interactively: Quit
140
Loading ebuff-menu...done
<<< Press Return to bury the buffer list >>>

Mark set
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (frame-width) is not accurate
  2007-03-27  2:08 (frame-width) is not accurate Davin Pearson
@ 2007-03-31  8:16 ` Davin Pearson
  0 siblings, 0 replies; 2+ messages in thread
From: Davin Pearson @ 2007-03-31  8:16 UTC (permalink / raw)
  To: help-gnu-emacs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-31  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27  2:08 (frame-width) is not accurate Davin Pearson
2007-03-31  8:16 ` Davin Pearson

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).