From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: daniela-spit@gmx.it Newsgroups: gmane.emacs.help Subject: Re: RE: Making windows have same number of columns Date: Fri, 27 Nov 2020 00:55:15 +0100 Message-ID: References: <87wny8t89u.fsf@gmx.net> <87o8jkt0c0.fsf@gmx.net> <87k0u7udo1.fsf@gmx.net> <87czzzucqt.fsf@gmx.net> <878sanuafx.fsf@gmx.net> <871rgfu63v.fsf@gmx.net> <4b1636f4-a576-4b3e-ab2e-c54744ead9c4@default> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20339"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs , Stephen Berman To: daniela-spit@gmx.it Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 01:08:09 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kiRJ3-0005A1-1C for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 01:08:09 +0100 Original-Received: from localhost ([::1]:46368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiRJ1-0004C7-Uq for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 19:08:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiR6i-0005xd-6u for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 18:55:24 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:44097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiR6g-00073H-0k for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 18:55:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606434915; bh=x61WcUVIi5MzdX2Mg9qAurm/EfskIHZze07yIzzRmMg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=D9U6sRutYFXHprfqF/wdfHMfO5Za7dHOsAUOoJmHZTRF3JKRZK4YeLFjNz1Q3nj2q VaGtDa1hI6DrVAF2Y1+wnqiksxvWi2hpoE6fmzmnc1K0/6Rw+EacJoPWkdJBy94DZH dnT5dumDLWmkg6sZa4nQ5v3oWyT7Rw9tzuqWRjjY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Fri, 27 Nov 2020 00:55:15 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:eaavJZTRGcXq/QvlCQnbxTa8wL/6uMI0lr5dHrs3KMaUTch25ytfA6BPkDaG/gxtXbLiU IC4CEDAGuAlW1zMXdzY5BOJxb8BbtM46oQZmwoK5D9qStaFkUXkaFuJk7Dwwi5F9Nt2bTUbiPeqv d0vEKP226IRh6ivaKHQcNUdYXOn7So8kSServ5Jy3ysnK8ew1gAhyxJWSYrMtN1ll1JF2HXefr9O jtREzT1IlxYGdclcFcUCE1hHDGuCCmoA2sV4K96LhPW/VCskTDgPh1S5BKeBHYS4V3kJKj70z/US Io= X-UI-Out-Filterresults: notjunk:1;V03:K0:tSFQ5MGe/Pc=:TQGqQkTADyhB5RUXJ1PPnd irM2/kfGMdg2HG45xLSrAbVWKQNy6XslPYK7vPOw8MX8elKBeT5sAIQ3jU8NFlddiLOmJVvnS QIkOieoZsqNNNwuGWWp7mYxYAtk42SPPw9/AiN2hnZ3ZpXuNL7CyVrEpS96ThAXgeO49TJ6uP BT50wVv1KG6VG74yPTAsCapgqiI7fN4VHIUd7Tj/RR3BhWtuFQxiA8ZGMgUs+rmG7o+fir+B0 EvZ4Ohew3mSnVS1XK95H/QKPdI+RUQLi+I51/huomCnTDHHLZ2uwdKChdpO4I4oEkD3EXar/4 wjbucLtu4BN8nHw1i/6L/59VwUiWvxDfKltXYd7z0KoMzaZc1Ej59ICEbcUF/vnkAqsK+KbBo 86RQ2zQf2Gn+Nlyo3SD66B+GmLY+PaD1F1uPP+9RKG0j5VFQHiU7ItEHo3uC2eqsAKyJyEotI 6L8yL5K3Jf2rZaZ4TpRq2m09KIkVKM/GBFTGuTb7lbnqPkzcLBySjBrGbxE4FqSELeLuTnJey VXJeEjfiM1bIi2gBYiiYgB8q5gTmkHgQe6+K4hkNkyFfl/nalIWnvbnC1xd2kxjNO2N2zYEH/ 8iu7HsIqfVLqM= Received-SPF: pass client-ip=212.227.15.15; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125598 Archived-At: Have tried to use it. Have done as follows (setq dface-remap "/home/dani/el/dface-remap.el") (load dface-remap) (require 'face-remap+) When I called "C-u 1 M-x text-scale-increase" But the effect seems to be the same as it has always been. > Sent: Friday, November 27, 2020 at 12:07 AM > From: daniela-spit@gmx.it > To: "Drew Adams" > Cc: "Help Gnu Emacs" , "Stephen Berman" > Subject: Re: RE: Making windows have same number of columns > > > > > Sent: Friday, November 27, 2020 at 12:01 AM > > From: "Drew Adams" > > To: "Stephen Berman" , daniela-spit@gmx.it > > Cc: "Help Gnu Emacs" > > Subject: RE: Making windows have same number of columns > > > > > Changing the font size with text-scale-adjust has no affect on > > > window-body-width; you can only change that by using > > > shrink-window-horizontally or enlarge-window-horizontally if your fr= ame > > > has two or more side-by-side windows, or else if you change the widt= h > > > of the frame. > > > > This doesn't directly address the original question, but FWIW: > > > > Library `face-remap+.el' makes the `text-scale-*' > > functions respect this new user option: > > > > ,---- > > | text-scale-resize-window is a variable defined in `face-remap+.el'. > > | Its value is t > > | > > | Documentation: > > | Non-nil means text scaling resizes the window or frame accordingly. > > | For example, if you use `C-x C--' (`text-scale-decrease')' to make t= he > > | text smaller, then the window or frame is made smaller by a similar > > | factor. > > | > > | If the window is not alone in its frame, then the window is resized. > > | Otherwise, the frame is resized (provided you also use library > > | `fit-frame.el'). The frame is always resized both horizontally and > > | vertically. > > | > > | You can customize this variable. > > `---- > > > > One aim behind this is to not waste horizontal > > whitespace in the window when you reduce the > > displayed text size. > > Spot on, that is the fundamental problem. > > > You can likely use similar code to get the > > requested effect. > > > > https://www.emacswiki.org/emacs/download/face-remap%2b.el > > > > > >