From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8379: The width of linum window is not adjusted afterface-remapping Date: Wed, 30 Mar 2011 06:19:39 -0700 Message-ID: References: <1301449429.2448.36.camel@nixie-desktop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301492253 2709 80.91.229.12 (30 Mar 2011 13:37:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 13:37:33 +0000 (UTC) Cc: 8379@debbugs.gnu.org To: "'Juanma Barranquero'" , "'nixie'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 15:37:28 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vaS-0006cT-AN for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 15:37:28 +0200 Original-Received: from localhost ([127.0.0.1]:50505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4vaR-0003K9-Sg for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 09:37:27 -0400 Original-Received: from [140.186.70.92] (port=44701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4vaM-0003JC-1I for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 09:37:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4vaB-00013P-8J for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 09:37:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4vaB-000137-6h for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 09:37:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q4vJb-0007q7-5J; Wed, 30 Mar 2011 09:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2011 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8379 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8379-submit@debbugs.gnu.org id=B8379.130149119630118 (code B ref 8379); Wed, 30 Mar 2011 13:20:02 +0000 Original-Received: (at 8379) by debbugs.gnu.org; 30 Mar 2011 13:19:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vJT-0007pj-F0 for submit@debbugs.gnu.org; Wed, 30 Mar 2011 09:19:55 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vJQ-0007pX-K5 for 8379@debbugs.gnu.org; Wed, 30 Mar 2011 09:19:53 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p2UDJjUJ022427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 Mar 2011 13:19:46 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2UDJiSl023994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2011 13:19:44 GMT Original-Received: from abhmt010.oracle.com (abhmt010.oracle.com [141.146.116.19]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2UDJi9A021745; Wed, 30 Mar 2011 08:19:44 -0500 Original-Received: from dradamslap1 (/10.159.51.102) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 30 Mar 2011 06:19:43 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcvuyqbVJpnFu07zQ52kEvuII3GemQADnQIw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4D932DF1.007E,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 30 Mar 2011 09:20:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45497 Archived-At: > > I found that the width of linum window is not changed with > > (text-scale-increase) or (text-scale-decrease) function. > > This is bug#1255: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1255 Well if Emacs Dev now recognizes that this is a bug or a missing feature (Stefan called the _lack_ of window resizing for text scaling "one of its greatest features"), there's a simple solution. I proposed it as soon as text scaling was introduced, but it wasn't adopted. http://www.emacswiki.org/emacs/face-remap%2b.el This provides an option that allows for automatic resizing of the window, to go along with text resizing. That puts the behavior under user control. The window resizing can be: none, horizontal, vertical, or both. And any function or mode (e.g. linum-mode) that needs a particular type of window resizing can obviously bind or set the value locally. This is a trivial fix. It would be good if Emacs Dev gives users the choice. Here is the original thread, with a patch: http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00414.html