all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* columns displayed on one line in frame / window
@ 2009-06-04 22:01 Mickey Ferguson
  2009-06-05 15:40 ` Drew Adams
  0 siblings, 1 reply; 6+ messages in thread
From: Mickey Ferguson @ 2009-06-04 22:01 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

I have emacs 21.3.1 running on XP SP3.  When I evaluate the expression
using M-: (Meta-colon),
 
    (frame-width)
 
it returns 72.  However, if I look at the number of columns I can
display before the line wraps, it's actually 80.  Isn't frame-width
supposed to be the same as the number of columns that can fit on one
line?  (I'm using a fixed-width font, specifically
 
  (set-default-font
"-raster-Terminal-bold-r-normal-normal-12-90-96-96-c-*-ms-oemlatin")
 
Likewise, if I set the frame width with
 
    (set-frame-width (selected-frame) 72)
 
it sets up the window so that 80 columns fit on one line.  What gives?
Or is there another function I should use to obtain the number of
columns that fit on one line, and likewise, another function to set how
many fit on one line?

[-- Attachment #2: Type: text/html, Size: 8148 bytes --]

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

end of thread, other threads:[~2009-06-05 21:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 22:01 columns displayed on one line in frame / window Mickey Ferguson
2009-06-05 15:40 ` Drew Adams
2009-06-05 17:28   ` Mickey Ferguson
2009-06-05 17:48     ` Drew Adams
2009-06-05 20:34   ` Mickey Ferguson
2009-06-05 21:28     ` Drew Adams

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.