GNU bug report logs - #7123
23.2; large blank left margin with variable-width font

Previous Next

Package: emacs;

Reported by: Bill Richter <richter <at> math.northwestern.edu>

Date: Tue, 28 Sep 2010 17:03:02 UTC

Severity: normal

Found in version 23.2

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7123 in the body.
You can then email your comments to 7123 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Tue, 28 Sep 2010 17:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bill Richter <richter <at> math.northwestern.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 28 Sep 2010 17:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bill Richter <richter <at> math.northwestern.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; large blank left margin with variable-width font
Date: Tue, 28 Sep 2010 11:42:17 -0500
In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
 of 2010-09-28 on poisson.math.northwestern.edu
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-xpm=no' '--with-jpeg=no' '--with-gif=no' '--with-tiff=no' '--prefix=/rhome/2/richter/gnu''

I just made emacs in dir emacs-23.2 on Scientific Linux, and typed 

src/emacs -Q -fn -adobe-helvetica-medium-r-normal--24-240-75-75-p-130-iso8859-1 &

There is a large blank left margin no matter what buffer I am editing.
Right now it comes out as far as the 2nd u in 
U:** - *mail to bUg-gnu-emacs <at> gnu.org*:
 in the minibuffer.

My experiments indicate that this bug occurs with any variable-width
font, and it never happens with a fixed-width font.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Tue, 28 Sep 2010 23:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: 23.2; large blank left margin with variable-width font
Date: Tue, 28 Sep 2010 19:23:01 -0400
[Message part 1 (text/plain, inline)]
This happens for me too on Scientific Linux 5.5, with both the current
emacs-23 branch and trunk. An image of

emacs-23.2 -Q -fn '-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1'

is attached. The frame is also very wide.

In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
Windowing system distributor `The X.Org Foundation', version 11.0.70101000

[bug7123.png (image/png, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Wed, 29 Sep 2010 04:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: 23.2; large blank left margin with variable-width font
Date: Wed, 29 Sep 2010 13:53:35 +0900
In article <ycr5gdsbai.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:

> --=-=-=
> This happens for me too on Scientific Linux 5.5, with both the current
> emacs-23 branch and trunk. An image of

> emacs-23.2 -Q -fn '-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1'

> is attached. The frame is also very wide.

I've just installed a fix in emacs-23 branch.  Please try
again.

---
Kenichi Handa
handa <at> m17n.org




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 29 Sep 2010 06:27:02 GMT) Full text and rfc822 format available.

Notification sent to Bill Richter <richter <at> math.northwestern.edu>:
bug acknowledged by developer. (Wed, 29 Sep 2010 06:27:02 GMT) Full text and rfc822 format available.

Message #16 received at 7123-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 7123-done <at> debbugs.gnu.org
Subject: Re: bug#7123: 23.2; large blank left margin with variable-width font
Date: Wed, 29 Sep 2010 02:29:17 -0400
Version: 23.3
stop

Kenichi Handa wrote:

> I've just installed a fix in emacs-23 branch.  Please try again.

Works for me, thaks.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Wed, 29 Sep 2010 19:25:02 GMT) Full text and rfc822 format available.

Message #19 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Bill Richter <richter <at> math.northwestern.edu>
To: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2; large blank left margin
	with variable-width font)
Date: Wed, 29 Sep 2010 14:27:30 -0500
Hi, can you tell me how to install the fixed new version?  Or when the
next official release will be?


   X-Loop: help-debbugs <at> gnu.org
   From: help-debbugs <at> gnu.org (GNU bug Tracking System)
   X-Gnu-PR-Message: they-closed 7123
   X-Gnu-PR-Package: emacs
   Reply-To: 7123 <at> debbugs.gnu.org
   Date: Wed, 29 Sep 2010 06:27:02 +0000
   X-UID: 264883                                                 

   This is a multi-part message in MIME format...

   ------------=_1285741622-3278-1
   Content-Disposition: inline
   Content-Transfer-Encoding: quoted-printable
   Content-Type: text/plain; charset="utf-8"

   Your bug report

   #7123: 23.2; large blank left margin with variable-width font

   which was filed against the emacs package, has been closed.

   The explanation is attached below, along with your original report.
   If you require more details, please reply to 7123 <at> debbugs.gnu.org.


   Kenichi Handa wrote:

   > I've just installed a fix in emacs-23 branch.  Please try again.

   Works for me, thaks.



   I just made emacs in dir emacs-23.2 on Scientific Linux, and typed 

   src/emacs -Q -fn -adobe-helvetica-medium-r-normal--24-240-75-75-p-130-iso8859-1 &

   There is a large blank left margin no matter what buffer I am editing.
   Right now it comes out as far as the 2nd u in 
   U:** - *mail to bUg-gnu-emacs <at> gnu.org*:
    in the minibuffer.

   My experiments indicate that this bug occurs with any variable-width
   font, and it never happens with a fixed-width font.



   ------------=_1285741622-3278-1--





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Wed, 29 Sep 2010 19:56:02 GMT) Full text and rfc822 format available.

Message #22 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Bill Richter <richter <at> math.northwestern.edu>
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Wed, 29 Sep 2010 15:58:51 -0400
Bill Richter wrote:

> Hi, can you tell me how to install the fixed new version? 

bzr branch http://bzr.savannah.gnu.org/r/emacs/emacs-23

> Or when the next official release will be?

Sorry, no idea.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Thu, 30 Sep 2010 19:42:02 GMT) Full text and rfc822 format available.

Message #25 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Bill Richter <richter <at> math.northwestern.edu>
To: rgm <at> gnu.org
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Thu, 30 Sep 2010 14:44:04 -0500
   > Hi, can you tell me how to install the fixed new version? 

   bzr branch http://bzr.savannah.gnu.org/r/emacs/emacs-23

   > Or when the next official release will be?

   Sorry, no idea.

Thanks, Glenn.  I did a lot of Emacs bug testing years ago, on Suns,
and I'm not that good at Linux and I'm out of it.  I'll build the
fixed new version if you give me more information.  I went to the your
web site & learned only that it involved bazaar.

When & where are the new versions announced?

-- 
Best,
Bill 




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Thu, 30 Sep 2010 20:31:01 GMT) Full text and rfc822 format available.

Message #28 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Bill Richter <richter <at> math.northwestern.edu>
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Thu, 30 Sep 2010 16:33:36 -0400
Bill Richter wrote:

> I'll build the fixed new version if you give me more information. I
> went to the your web site & learned only that it involved bazaar.

1) Install the bzr utility from http://bazaar.canonical.com .

Eg on Scientific Linux you can use

yum --enablerepo=dag install bzr

or you can build from source using

python setup.py install --prefix=/wherever/you/like

2) Run the command

bzr branch http://bzr.savannah.gnu.org/r/emacs/emacs-23

to fetch the sources.

3) configure, make, etc

> When & where are the new versions announced?

http://lists.gnu.org/mailman/listinfo/info-gnu-emacs




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Fri, 01 Oct 2010 18:54:02 GMT) Full text and rfc822 format available.

Message #31 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Bill Richter <richter <at> math.northwestern.edu>
To: rgm <at> gnu.org
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Fri, 1 Oct 2010 13:56:20 -0500
Thanks, Glenn.  I failed to install bzr using python & the source
bzr-2.3b1.tar.gz.  The only thing that will work is a bzr rpm that I
can install by
rpm -ihv 
as I'm working on a machine without net access, so I can't e.g. do 
yum --enablerepo=dag install bzr

   http://lists.gnu.org/mailman/listinfo/info-gnu-emacs

Thanks, I signed up.

-- 
Best,
Bill 




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Fri, 01 Oct 2010 19:39:01 GMT) Full text and rfc822 format available.

Message #34 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Bill Richter <richter <at> math.northwestern.edu>
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Fri, 01 Oct 2010 15:41:25 -0400
Bill Richter wrote:

> as I'm working on a machine without net access, so I can't e.g. do 
> yum --enablerepo=dag install bzr

Err, if you don't have net access, you won't be able to retrieve the
sources with bzr even if you do install it. You should probably just
wait for 23.3.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Sat, 02 Oct 2010 01:54:02 GMT) Full text and rfc822 format available.

Message #37 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Bill Richter <richter <at> math.northwestern.edu>
To: rgm <at> gnu.org
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Fri, 1 Oct 2010 20:56:20 -0500
   Err, if you don't have net access, you won't be able to retrieve
   the sources with bzr even if you do install it.

I realized that after I wrote, Glenn.  Why don't you have a tar.gz
file?  BTW is RMS still active in the Emacs biz?

-- 
Best,
Bill 




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Sun, 03 Oct 2010 00:36:02 GMT) Full text and rfc822 format available.

Message #40 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Bill Richter <richter <at> math.northwestern.edu>
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Sat, 02 Oct 2010 20:38:26 -0400
Bill Richter wrote:

> Why don't you have a tar.gz file?

A combination of lack of demand for development snapshots, and lack of
a volunteer to make them.

The relevant patch looks simple, if you want to try applying it to
stock Emacs 23.2. (I have not tested that.)

*** src/xfont.c	2010-01-13 08:35:10 +0000
--- src/xfont.c	2010-09-29 00:52:03 +0000
***************
*** 861,867 ****
  
        val = Ffont_get (font_object, QCavgwidth);
        if (INTEGERP (val))
! 	font->average_width = XINT (val);
        if (font->average_width < 0)
  	font->average_width = - font->average_width;
        if (font->average_width == 0
--- 861,867 ----
  
        val = Ffont_get (font_object, QCavgwidth);
        if (INTEGERP (val))
! 	font->average_width = XINT (val) / 10;
        if (font->average_width < 0)
  	font->average_width = - font->average_width;
        if (font->average_width == 0

> BTW is RMS still active in the Emacs biz?

Peripherally the last few years, but it could always change again in
future.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Sun, 03 Oct 2010 01:30:03 GMT) Full text and rfc822 format available.

Message #43 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Bill Richter <richter <at> math.northwestern.edu>, 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;	large blank left margin
	with variable-width font)
Date: Sun, 03 Oct 2010 02:32:28 +0100
On 03/10/10 01:38, Glenn Morris wrote:
> Bill Richter wrote:
>
>> Why don't you have a tar.gz file?
>
> A combination of lack of demand for development snapshots, and lack of
> a volunteer to make them.


Well, raw unstable dev snapshot tarballs are often just automagically 
handled by web frontend interfaces to VCS, human intervention not 
required, server just tars up an export of a revision from the repo.

Okay, apparently /not/ in the case of bzr on savannah - and n.b. the 
functionality is still lacking from launchpad/loggerhead upstream [1] 
(oddly), so reenabling the apparently disabled loggerhead on savannah 
wouldn't help.

However, circuitously, the web frontend to an unofficial import of emacs 
into git does happen to make them [2][3]

*** Of course, _don't_ use such a snapshot unless you're prepared for 
development code that might eat your socks or worse.


[1] https://bugs.launchpad.net/loggerhead/+bug/240580

[2] http://repo.or.cz/w/emacs.git/tree
[3] http://repo.or.cz/w/emacs.git/snapshot/HEAD.tar.gz




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7123; Package emacs. (Sun, 03 Oct 2010 01:39:01 GMT) Full text and rfc822 format available.

Message #46 received at 7123 <at> debbugs.gnu.org (full text, mbox):

From: Bill Richter <richter <at> math.northwestern.edu>
To: rgm <at> gnu.org
Cc: 7123 <at> debbugs.gnu.org
Subject: Re: bug#7123: closed (Re: bug#7123: 23.2;
	large blank left margin with variable-width font)
Date: Sat, 2 Oct 2010 20:41:30 -0500
Glenn, thanks for the src/xfont.c.  It works fine!  

-- 
Best,
Bill 




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 31 Oct 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.