From unknown Tue Jun 17 20:15:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8379 <8379@debbugs.gnu.org> To: bug#8379 <8379@debbugs.gnu.org> Subject: Status: The width of linum window is not adjusted after face-remapping Reply-To: bug#8379 <8379@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:15:18 +0000 retitle 8379 The width of linum window is not adjusted after face-remapping reassign 8379 emacs submitter 8379 nixie severity 8379 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 29 21:48:27 2011 Received: (at submit) by debbugs.gnu.org; 30 Mar 2011 01:48:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4kWI-0007fH-Q0 for submit@debbugs.gnu.org; Tue, 29 Mar 2011 21:48:27 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4kUy-0007cv-IN for submit@debbugs.gnu.org; Tue, 29 Mar 2011 21:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4kUs-0007b6-EQ for submit@debbugs.gnu.org; Tue, 29 Mar 2011 21:46:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:43192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4kUs-0007b2-C6 for submit@debbugs.gnu.org; Tue, 29 Mar 2011 21:46:58 -0400 Received: from [140.186.70.92] (port=47554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4kUr-00047C-JD for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 21:46:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4kUq-0007ao-Lo for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 21:46:57 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:46770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4kUq-0007ah-IT for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 21:46:56 -0400 Received: by yib18 with SMTP id 18so398570yib.0 for ; Tue, 29 Mar 2011 18:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=UTt6FuUDCYfAHscvOoaxtbBYD8+/GldIwcXQuMvLW8A=; b=KHv7NMbIB/oNDGPlS4GhkCbdPMX7s98ERO81NSe3goAvsVwPZbDZ7NNK64NBSUNRMZ 8ws+f1fqR7mhCCDnOOoz2zOW7zpYJJZWZfQWjqobq6uD+YopwzkYzi2CVJMmSp3KYDVr yeE4iA+nxOlFWcNF9HkchuzXI3CRGBPneOl8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=x3Rscq3d7xF/4RZ76Qt3osx8M145avnJ5CTCsOnvFPnKli8md03XCsozkONPD04+0d dDr9pquScydS6wOpr0LIdhBcxGntKHQ2rts85HdFtkh+S4/OXM/dC2dQBsbHOuUf9gbM GRuZruweeRkLgEP4rFNUBevRo+eBpnebLIjOU= Received: by 10.236.186.35 with SMTP id v23mr825988yhm.40.1301449615561; Tue, 29 Mar 2011 18:46:55 -0700 (PDT) Received: from [192.168.2.14] ([222.92.128.242]) by mx.google.com with ESMTPS id p4sm2781565yhm.87.2011.03.29.18.46.50 (version=SSLv3 cipher=OTHER); Tue, 29 Mar 2011 18:46:55 -0700 (PDT) Subject: The width of linum window is not adjusted after face-remapping From: nixie To: "bug-gnu-emacs@gnu.org" Content-Type: text/plain; charset="UTF-8" Date: Wed, 30 Mar 2011 10:43:49 +0900 Message-ID: <1301449429.2448.36.camel@nixie-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 29 Mar 2011 21:48:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Hi, I am green hand in emacs, and starting using GNU Emacs since 23.1. I found that the width of linum window is not changed with (text-scale-increase) or (text-scale-decrease) function. This is annoying especially when I increase the text size, because the line number can not be fully viewed. currently, I use some alleviating code like below to solve this problem. But I think it does not have generality. Does someone have any good suggestion on it? Or it can be solved in a more elegant and general way. I wish that it would be solved in future version of GNU Emacs. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun rescale-window-margin-by-faceremapping (win) (let ((width (car (window-margins))) (scale (cadr (assoc ':height (assoc 'default face-remapping-alist))))) (if (numberp scale) (progn (set-window-margins win (ceiling (* width scale)) (cdr (window-margins win))) (force-window-update)) nil))) (defadvice linum-update-window (after scaling-margin-width last (win) activate) (rescale-window-margin-by-faceremapping win) ad-return-value) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Thanks for any help. -- nixie From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 29 22:19:12 2011 Received: (at 8379) by debbugs.gnu.org; 30 Mar 2011 02:19:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4l03-0008PL-PF for submit@debbugs.gnu.org; Tue, 29 Mar 2011 22:19:12 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4l01-0008P8-8v for 8379@debbugs.gnu.org; Tue, 29 Mar 2011 22:19:10 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p2U2J1H6032232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 Mar 2011 02:19:03 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2U2J0Zm003911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2011 02:19:01 GMT Received: from abhmt018.oracle.com (abhmt018.oracle.com [141.146.116.27]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2U2J0Tw022223; Tue, 29 Mar 2011 21:19:00 -0500 Received: from dradamslap1 (/10.159.51.102) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Mar 2011 19:19:00 -0700 From: "Drew Adams" To: "'nixie'" , <8379@debbugs.gnu.org> References: <1301449429.2448.36.camel@nixie-desktop> Subject: RE: bug#8379: The width of linum window is not adjusted afterface-remapping Date: Tue, 29 Mar 2011 19:18:56 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1301449429.2448.36.camel@nixie-desktop> Thread-Index: AcvufzNa8+TBXs5ISwuiL9RoQK+3UQAAUE3g 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.0A090203.4D929315.0063,ss=1,fgs=0 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8379 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > I found that the width of linum window is not changed with > (text-scale-increase) or (text-scale-decrease) function. > This is annoying especially when I increase the text size, because the > line number can not be fully viewed. Yes, indeed. http://www.emacswiki.org/emacs/face-remap%2b.el From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 06:40:07 2011 Received: (at 8379) by debbugs.gnu.org; 30 Mar 2011 10:40:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4soo-0002Ox-Hs for submit@debbugs.gnu.org; Wed, 30 Mar 2011 06:40:06 -0400 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4soj-0002OG-IK for 8379@debbugs.gnu.org; Wed, 30 Mar 2011 06:40:02 -0400 Received: by qwg5 with SMTP id 5so699907qwg.3 for <8379@debbugs.gnu.org>; Wed, 30 Mar 2011 03:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=0N+j45wTiBMD2eftkk+0TM8zpHU2uTBaBNggjcXrJY0=; b=Y3hlvch0IPX6r8RF7vTWj7sQrxpH2IhFKDt4kXWgbqEOaCfzcm5hvJPpKZdaSAIssT 9fydMrqexjeNG85+wNvhHHgr3MHri1DcawR+Re4njuStr1ODcyDjUuBs6hgnmP966FOj PvproZtQATp+TzZ7xSkjurI5eueTujCcantX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=kSvtWoP8sVVbUflmvu89MxbGPXuRum7GgMeAWPV3vyb/5jkG7y4Gw0I4IHBZRnBDkP YMv5PC3aLV3N63szTwNETMcLGMoa8E7kH3rCNpbiLsaINafrCFRyA6kTPs3lWaF9oBRR tqaYuCAWpX9ByxYJuSX+CZLKQtLyicfcN99MA= Received: by 10.229.68.106 with SMTP id u42mr765803qci.284.1301481596119; Wed, 30 Mar 2011 03:39:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.94.207 with HTTP; Wed, 30 Mar 2011 03:39:16 -0700 (PDT) In-Reply-To: <1301449429.2448.36.camel@nixie-desktop> References: <1301449429.2448.36.camel@nixie-desktop> From: Juanma Barranquero Date: Wed, 30 Mar 2011 12:39:16 +0200 Message-ID: Subject: Re: bug#8379: The width of linum window is not adjusted after face-remapping To: nixie Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8379 Cc: 8379@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) forcemerge 1255 8379 thanks > 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=3D1255 =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 09:19:56 2011 Received: (at 8379) by debbugs.gnu.org; 30 Mar 2011 13:19:56 +0000 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 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 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 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 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 Received: from dradamslap1 (/10.159.51.102) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 30 Mar 2011 06:19:43 -0700 From: "Drew Adams" To: "'Juanma Barranquero'" , "'nixie'" References: <1301449429.2448.36.camel@nixie-desktop> Subject: RE: bug#8379: The width of linum window is not adjusted afterface-remapping Date: Wed, 30 Mar 2011 06:19:39 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8379 Cc: 8379@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 09:54:27 2011 Received: (at 8379) by debbugs.gnu.org; 30 Mar 2011 13:54:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vqs-00009i-DK for submit@debbugs.gnu.org; Wed, 30 Mar 2011 09:54:26 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vqq-00009X-Lm for 8379@debbugs.gnu.org; Wed, 30 Mar 2011 09:54:25 -0400 Received: by yxk30 with SMTP id 30so505568yxk.3 for <8379@debbugs.gnu.org>; Wed, 30 Mar 2011 06:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=2ukYNzGn1yvvO2MYq4+dbCWDEMRWi9C9310ixIx8fw8=; b=YV0BKh1IzNj1XyoG0enpD49oTyv2SUpXS9cLLsirTRuiBqD8l8AzvMZF391ZcCiH3z mJWbDmfQ9UPEtvFsh1twoxwAsqwH4ATPyohXa+atzNdcIwEt92vtfZtAhMujHzumOsqy 5JZ1y+c8fZWt8OZky0UEngNBMI7vi9RXyjHXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ewVdlw2Sfjq48Wd170wN/b6p5Rz/bZCw2BJ/VpZkUDbAbJjXc6SRuZzymXnCGyO6pI W6dJQyWIPwzMWFUsT3yuC2ysIRDA6ndP0VZVvNFjsplEmCB8sa9SjLMoKEPjhG9ib5BG wVfFYSehxTPrQLhwX6SKkbdTTQiq9U3jn4Hao= Received: by 10.236.95.135 with SMTP id p7mr1758679yhf.184.1301493259129; Wed, 30 Mar 2011 06:54:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.182.17 with HTTP; Wed, 30 Mar 2011 06:53:39 -0700 (PDT) In-Reply-To: References: <1301449429.2448.36.camel@nixie-desktop> From: Juanma Barranquero Date: Wed, 30 Mar 2011 15:53:39 +0200 Message-ID: Subject: Re: bug#8379: The width of linum window is not adjusted afterface-remapping To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8379 Cc: nixie , 8379@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Wed, Mar 30, 2011 at 15:19, Drew Adams wrote: > Well if Emacs Dev now recognizes that this is a bug or a missing feature It is filed as a bug, that does not mean we all agree about its status. > (Stefan > called the _lack_ of window resizing for text scaling "one of its greates= t > features"), Yes, but, if I'm reading correctly the old thread, he didn't say that there wasn't a bug, only that the bug is not in text scaling, but in applications (like linum) that can be affected for it and do not plan accordingly. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 05:35:20 2011 Received: (at 8379) by debbugs.gnu.org; 31 Mar 2011 09:35:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5EHg-0003Rb-Bj for submit@debbugs.gnu.org; Thu, 31 Mar 2011 05:35:20 -0400 Received: from mail-yi0-f44.google.com ([209.85.218.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5EHd-0003RP-Qi for 8379@debbugs.gnu.org; Thu, 31 Mar 2011 05:35:18 -0400 Received: by yic13 with SMTP id 13so872423yic.3 for <8379@debbugs.gnu.org>; Thu, 31 Mar 2011 02:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=KUP3kcFBVf5wqJKQxq0UO1fzHSosG6UlHbht8JOf2DA=; b=r9j/veOIAlxXJgywzDm5SqEOK6sKpuKDyGExZ7frq7dczS7O0LP5aGq4est0gre5hR 1U1CHPaE9yUvbGT8Z4cL+U3sLbq9Wd0MZbn5iZtkPiJKqwWos1/KktlnfZSuzbSEtudu crAqL/rbqC+pT2Fm/v3GXZWDU91CqEeLW5PDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=HblEEBagQ4Uj2Gowf6X1j+5h5Sa0pHpCtidGDxGqFinB4/EJ3hDjLnUeAMfQWUocFR yYXjGkkWVOoRkUlAXB9IBPz/4KVRykRdq2R6rBk2I0nqGCQs9XoYZamu903nYPhj6lyp 62FCktXiBI4xlfGkPBrKDARViAnvyjPB6d3c0= Received: by 10.236.185.161 with SMTP id u21mr3491301yhm.99.1301564112449; Thu, 31 Mar 2011 02:35:12 -0700 (PDT) Received: from [192.168.2.14] ([222.92.128.242]) by mx.google.com with ESMTPS id l74sm487306yhn.45.2011.03.31.02.35.00 (version=SSLv3 cipher=OTHER); Thu, 31 Mar 2011 02:35:08 -0700 (PDT) Subject: Re: bug#8379: The width of linum window is not adjusted afterface-remapping From: nixie To: Juanma Barranquero In-Reply-To: References: <1301449429.2448.36.camel@nixie-desktop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 31 Mar 2011 18:31:59 +0900 Message-ID: <1301563919.2220.14.camel@nixie-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 8379 Cc: 8379@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) > forcemerge 1255 8379 > thanks >> 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 Sorry for not kindly reading the threads archives. > Yes, but, if I'm reading correctly the old thread, he didn't say that > there wasn't a bug, only that the bug is not in text scaling, but in > applications (like linum) that can be affected for it and do not plan > accordingly. > > Juanma yes, i think it is not a bug in text scaling. But i don't think fix it in applications (maybe not only the linum) is a good idea. I wonder if there is a pure and smart window adjusting function. -- nixie From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 09:22:51 2011 Received: (at 8379) by debbugs.gnu.org; 31 Mar 2011 13:22:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5Hpq-0000pm-Ow for submit@debbugs.gnu.org; Thu, 31 Mar 2011 09:22:51 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5Hpo-0000pX-5v for 8379@debbugs.gnu.org; Thu, 31 Mar 2011 09:22:48 -0400 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 p2VDMetk030138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 31 Mar 2011 13:22:41 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2VDMdIo031270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 Mar 2011 13:22:40 GMT Received: from abhmt016.oracle.com (abhmt016.oracle.com [141.146.116.25]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2VDMdjV009885; Thu, 31 Mar 2011 08:22:39 -0500 Received: from dradamslap1 (/10.159.35.11) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 31 Mar 2011 06:22:39 -0700 From: "Drew Adams" To: "'nixie'" , "'Juanma Barranquero'" References: <1301449429.2448.36.camel@nixie-desktop> <1301563919.2220.14.camel@nixie-desktop> Subject: RE: bug#8379: The width of linum window is not adjusted afterface-remapping Date: Thu, 31 Mar 2011 06:22:35 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1301563919.2220.14.camel@nixie-desktop> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcvvhvCDzUrUwXy0Tc+m8jB9+a5qugAH5Npw X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4D948020.0064:SCFSTAT5015188,ss=1,fgs=0 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8379 Cc: 8379@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > I wonder if there is a pure and smart window adjusting function. Did you look at face-remap+.el? In what way does it not adjust the window as needed? From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 10:40:51 2011 Received: (at 8379) by debbugs.gnu.org; 31 Mar 2011 14:40:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5J3K-0002bm-Dj for submit@debbugs.gnu.org; Thu, 31 Mar 2011 10:40:50 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5J3H-0002bY-S1 for 8379@debbugs.gnu.org; Thu, 31 Mar 2011 10:40:48 -0400 Received: by yxk30 with SMTP id 30so961152yxk.3 for <8379@debbugs.gnu.org>; Thu, 31 Mar 2011 07:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=mJ4Xr1SS5psPOoyY5N06Z7L0cupP6NrD7TWhP2N3gu8=; b=Xl8IeWDFcRIg46jifOQcNR/fJG81EI0Qr+12uIrxlS/nCLh1P3O8+9oR2vM1AGbz30 oD39RlVpCpl+Svz0cI6c4WnSunQSYhcvZ7yrs9gm1dGtHKfSJLfpY+o8nmxkFs0umb+7 Jz65nySkVW55ZHBkfu7Zp+sgPCRstcbQftbN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BLBWcOuBEpIiqAsbAnHq5QOSB3FMFB1w2KEXOlpUHCR8MMiHyeoVAs6sucSBEHEpiP jTl0Zn5C+eLZP7YoaT10eypF+TRsRzsWQ0hwY15/52M5MPdkzcbg/hd6N4SCaJapMYl3 2AiEnwbXgePlBpQyi2+xUx1EeYBetgrT66tYQ= Received: by 10.147.147.19 with SMTP id z19mr2716275yan.35.1301582442103; Thu, 31 Mar 2011 07:40:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.182.17 with HTTP; Thu, 31 Mar 2011 07:40:01 -0700 (PDT) In-Reply-To: <1301563919.2220.14.camel@nixie-desktop> References: <1301449429.2448.36.camel@nixie-desktop> <1301563919.2220.14.camel@nixie-desktop> From: Juanma Barranquero Date: Thu, 31 Mar 2011 16:40:01 +0200 Message-ID: Subject: Re: bug#8379: The width of linum window is not adjusted afterface-remapping To: nixie Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8379 Cc: 8379@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Thu, Mar 31, 2011 at 11:31, nixie wrote: > Sorry for not kindly reading the threads archives. No problem. It is often hard to find the relevant bug. In this case, I remembered the old one because I was involved. > yes, i think it is not a bug in text scaling. But i don't think fix it > in applications (maybe not only the linum) is a good idea. I'm not really sure. On one hand, it seems like text scaling should affect all the window (margins, etc.). On the other hand, I understand Stefan's comment that that's not what text-scaling is supposed to do. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 10:48:16 2011 Received: (at 8379) by debbugs.gnu.org; 31 Mar 2011 14:48:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5JAW-0002mC-5e for submit@debbugs.gnu.org; Thu, 31 Mar 2011 10:48:16 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5JAU-0002lz-Fc for 8379@debbugs.gnu.org; Thu, 31 Mar 2011 10:48:14 -0400 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 p2VEm7RH019094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 31 Mar 2011 14:48:08 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2VEm6Xa032693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 Mar 2011 14:48:06 GMT Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2VEm5fk019367; Thu, 31 Mar 2011 09:48:05 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 31 Mar 2011 07:48:05 -0700 From: "Drew Adams" To: "'Juanma Barranquero'" , "'nixie'" References: <1301449429.2448.36.camel@nixie-desktop> <1301563919.2220.14.camel@nixie-desktop> Subject: RE: bug#8379: The width of linum window is not adjusted afterface-remapping Date: Thu, 31 Mar 2011 07:48:04 -0700 Message-ID: <09AD97D97DFB4A4BB5E20D1D0895DCEA@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcvvsZ4LCuA5Hw05TUGuTN1hZdeX+AAALgDg X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4D949427.0040:SCFSTAT5015188,ss=1,fgs=0 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8379 Cc: 8379@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) > > yes, i think it is not a bug in text scaling. But i don't > > think fix it in applications (maybe not only the linum) > > is a good idea. > > I'm not really sure. On one hand, it seems like text scaling should > affect all the window (margins, etc.). On the other hand, I understand > Stefan's comment that that's not what text-scaling is supposed to do. There is no right or wrong answer wrt affecting the window that applies to all contexts. The behavior wrt the window should be under user and program control. Sometimes you want the window to be resized to adapt to the apparent text size change; sometimes you do not. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 11:02:12 2011 Received: (at 8379) by debbugs.gnu.org; 31 Mar 2011 15:02:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5JNz-000355-Q8 for submit@debbugs.gnu.org; Thu, 31 Mar 2011 11:02:11 -0400 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5JNx-00034u-SB for 8379@debbugs.gnu.org; Thu, 31 Mar 2011 11:02:10 -0400 Received: by qwg5 with SMTP id 5so1508810qwg.3 for <8379@debbugs.gnu.org>; Thu, 31 Mar 2011 08:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=K5wujAzGCmxdxsdizw4zjaHgqfqByadkfNb2tSneziE=; b=H9/trW/r77ROa+1cTpLz9mFIouUzf+GzDn4rAGFHhdSqwiq1qNM4fqcHY5mjmT+9CD UcK/1p6Kw8C7EhHwg98W3D571xSLAOVb7I28lnYH5zYmLO9xsC13egOtAbbux2RXxveM gKFQuXrcpJ5DVCFXRxoZzJ3lACGyDo2ucwlHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=muawF/anWN1Gtxo3alI29cV5bLieVxAhEsvuQrk+XDb1d2pd+P4xsd+aA9oodEK19j x5HVXWgzfzfJ74mngSZGEUskAdPa4sr2cku1LjmuJ32rGGKk6kmE8F8npk2qD8BaHeVR ziSE/nyia49Qv0WNWlF8ZxuaAu2rlX6aDLZPc= Received: by 10.229.68.106 with SMTP id u42mr2182745qci.284.1301583724072; Thu, 31 Mar 2011 08:02:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.182.17 with HTTP; Thu, 31 Mar 2011 07:54:30 -0700 (PDT) In-Reply-To: <09AD97D97DFB4A4BB5E20D1D0895DCEA@us.oracle.com> References: <1301449429.2448.36.camel@nixie-desktop> <1301563919.2220.14.camel@nixie-desktop> <09AD97D97DFB4A4BB5E20D1D0895DCEA@us.oracle.com> From: Juanma Barranquero Date: Thu, 31 Mar 2011 16:54:30 +0200 Message-ID: Subject: Re: bug#8379: The width of linum window is not adjusted afterface-remapping To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8379 Cc: nixie , 8379@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Thu, Mar 31, 2011 at 16:48, Drew Adams wrote: > There is no right or wrong answer wrt affecting the window that applies t= o all > contexts. =C2=A0The behavior wrt the window should be under user and prog= ram control. > Sometimes you want the window to be resized to adapt to the apparent text= size > change; sometimes you do not. You're right that there's no right or wrong answer. What I meant is that I don't know if what you call "program control" should be the responsibility of the text-scaling code (with suitable hooks to allow customization), or it's better to leave it as it is and let the applications (like linum.el) adapt to a possible rescaling. As it is now, an application has no way to know that the text in the buffer is shown rescaled/remaped, unless it periodically checks `face-remapping-alist', because remapping does not *have* to go through face-remap-* functions, so there's no hook or callback. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 12:10:47 2012 Received: (at control) by debbugs.gnu.org; 6 Mar 2012 17:10:47 +0000 Received: from localhost ([127.0.0.1]:36158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4xuR-0003Ry-7y for submit@debbugs.gnu.org; Tue, 06 Mar 2012 12:10:47 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36230) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4xuE-0003RX-25 for control@debbugs.gnu.org; Tue, 06 Mar 2012 12:10:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S4xtL-00017x-9V for control@debbugs.gnu.org; Tue, 06 Mar 2012 12:09:39 -0500 Date: Tue, 06 Mar 2012 12:09:39 -0500 Message-Id: Subject: control message for bug 10960 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) merge 1255 10960 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 10 15:17:00 2016 Received: (at control) by debbugs.gnu.org; 10 Jan 2016 20:17:00 +0000 Received: from localhost ([127.0.0.1]:45742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIMQ8-0002Og-IL for submit@debbugs.gnu.org; Sun, 10 Jan 2016 15:17:00 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:36382) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIMQ6-0002OR-Ni for control@debbugs.gnu.org; Sun, 10 Jan 2016 15:16:59 -0500 Received: by mail-wm0-f48.google.com with SMTP id l65so189305510wmf.1 for ; Sun, 10 Jan 2016 12:16:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=Roa7OfW6oNuR5k8hrffPccHU5m9FdxlU8cHShJ4yhWQ=; b=cJfUGLxU6bHR2bQfhVaOMnKgehJ3SWayDL6YwII6VSNFoE9OnmGxDFrwmrF2+LYYjx 6FikvLjaioFrZZTB5EOmjJA+CmkX8KnngQ5CbpsnPZLUiw0aAIZYTzOpmu9vdc2Qp8dU xbteLefAU11uNgTWML4ILjKvVrWNkCyEl/YEjfbIDW2mTt1I53rK7SKZo6bWMlWg92Vo vEKbOivESjEJr1hc5IGuHttk7ixZGB3PDhWexxzdkRk4J8PhPWrfLBlngpohl3Bcu8hJ nvPjRhbl0g2RgTdnJls2QAcFNz/gWUHZWfEaRI6u4MO8rixIGaDb4j/wzvoATrJ5wJVF D42g== X-Received: by 10.194.115.129 with SMTP id jo1mr131519172wjb.28.1452457013188; Sun, 10 Jan 2016 12:16:53 -0800 (PST) Received: from galloway.idiocy.org (2.d.d.e.0.6.c.f.1.4.9.b.d.f.0.8.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:80fd:b941:fc60:edd2]) by smtp.gmail.com with ESMTPSA id e77sm9589719wma.18.2016.01.10.12.16.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jan 2016 12:16:52 -0800 (PST) Date: Sun, 10 Jan 2016 20:16:51 +0000 Message-Id: To: control@debbugs.gnu.org From: Alan J Third Subject: control message for bug #1255 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) close 1255 25.1 From unknown Tue Jun 17 20:15:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Feb 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator