From: "Mickey Ferguson" <MFerguson@plantcml.com>
To: <help-gnu-emacs@gnu.org>
Subject: columns displayed on one line in frame / window
Date: Thu, 4 Jun 2009 15:01:10 -0700 [thread overview]
Message-ID: <B7C31281351E1646814F4A6E3A15895C059748@costarica.peinet.peinc.com> (raw)
[-- 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 --]
next reply other threads:[~2009-06-04 22:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 22:01 Mickey Ferguson [this message]
2009-06-05 15:40 ` columns displayed on one line in frame / window 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B7C31281351E1646814F4A6E3A15895C059748@costarica.peinet.peinc.com \
--to=mferguson@plantcml.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.
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).