From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: columns displayed on one line in frame / window Date: Fri, 5 Jun 2009 14:28:52 -0700 Message-ID: References: <8548E7CE4DBE4C96AA496AECB512B41B@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244237371 18972 80.91.229.12 (5 Jun 2009 21:29:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 21:29:31 +0000 (UTC) To: "'Mickey Ferguson'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 05 23:29:28 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MCgyb-00087N-86 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jun 2009 23:29:25 +0200 Original-Received: from localhost ([127.0.0.1]:44340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCgya-0005jb-7s for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Jun 2009 17:29:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCgyE-0005hk-CH for help-gnu-emacs@gnu.org; Fri, 05 Jun 2009 17:29:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCgy9-0005hP-TR for help-gnu-emacs@gnu.org; Fri, 05 Jun 2009 17:29:01 -0400 Original-Received: from [199.232.76.173] (port=44647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCgy9-0005hM-Nl for help-gnu-emacs@gnu.org; Fri, 05 Jun 2009 17:28:57 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:40711) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MCgy9-0004Tp-Ct for help-gnu-emacs@gnu.org; Fri, 05 Jun 2009 17:28:57 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n55LTfTs009106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Jun 2009 21:29:42 GMT Original-Received: from abhmt006.oracle.com (abhmt006.oracle.com [141.146.116.15]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n55LTtjO000519; Fri, 5 Jun 2009 21:29:55 GMT Original-Received: from dradamslap1 (/24.5.184.4) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 05 Jun 2009 14:28:52 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcnlX/lcYByA4lp4QDS2VijcJ91bWQAkohWQAApWzQAAAXTk0A== In-Reply-To: X-Source-IP: abhmt006.oracle.com [141.146.116.15] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4A298E15.0093:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64979 Archived-At: > (defun big-font-mode () > "Use larger font" > (interactive) > (set-default-font > "-raster-Terminal-bold-r-normal-normal-12-90-96-96-c-*-ms-oemlatin") > (set-frame-height (selected-frame) (-(max-lines) 6)) > (fit-max-lines 6)) > > I then did an eval-region on the two lines from big-font-mode > that change the font, and it was at exactly that point that > the window frame no longer limited itself to 81 columns, but > instead showed 91 columns. I don't have a lot of time, myself, to look at this. But in Emacs 22.3 (-Q), if I enter these 80 columns of text: 01234567890123456789012345678901234567890123456789012345678901234567890123456789 And then I do this: (set-default-font "-raster-Terminal-bold-r-normal-normal-12-90-96-96-c-*-ms-oemlatin") I too see extra space to the right of the existing text. And I can enter 10 more chars on the same line, just as you described. Worse, if I move the cursor over the characters, from the right, one or more of them disappear. `C-l' brings them back, of course; it's just a display problem. Similarly, even *Help* displays (e.g. `C-h f') have characters that are jammed together or missing altogether. Likewise, minibuffer prompts. Seems like a bug, to me. I don't see this with other fonts. Maybe it has something to do with raster fonts (which I don't normally use). If I were you, I would report it using `M-x send-emacs-bug-report'. However, the bug seems to be fixed in Emacs 23 - I don't see it there. And FWIW, the font in question looks pretty normal in Emacs 23, whereas in Emacs 22 it is very wide and super heavy (bold) - extremely ugly. I'm on MS Windows, which could make a difference wrt fonts. But (frame-parameter nil 'font) shows "-raster-Terminal-bold-r-normal-normal-12-90-96-96-c-*-ms-oemlatin".