From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: wilnerthomas--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57313: Request: Resizing window with text scaling Date: Sun, 21 Aug 2022 06:33:12 +0200 (CEST) Message-ID: Reply-To: wilnerthomas@tutanota.com 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="19249"; mail-complaints-to="usenet@ciao.gmane.io" To: 57313@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 21 06:34:17 2022 Return-path: Envelope-to: geb-bug-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 1oPcfA-0004pB-PE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 06:34:16 +0200 Original-Received: from localhost ([::1]:50570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPcf9-0002b5-2A for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 00:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPcez-0002aw-M2 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 00:34:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPcew-0001zv-FX for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 00:34:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPcew-0005Fg-6B for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 00:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: wilnerthomas@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Aug 2022 04:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57313 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Bug Gnu Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.166105640220138 (code B ref -1); Sun, 21 Aug 2022 04:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Aug 2022 04:33:22 +0000 Original-Received: from localhost ([127.0.0.1]:33660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPceI-0005Ej-7H for submit@debbugs.gnu.org; Sun, 21 Aug 2022 00:33:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPceC-0005EX-2A for submit@debbugs.gnu.org; Sun, 21 Aug 2022 00:33:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPceB-0002N2-Qz for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 00:33:15 -0400 Original-Received: from w1.tutanota.de ([81.3.6.162]:35130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPceA-0001sX-65 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 00:33:15 -0400 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 92F0BFBF8D4 for ; Sun, 21 Aug 2022 04:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1661056392; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=KNusGZCMGZTYfev+4WmFQG6tMpjUWnu2ip48gFG3Dyw=; b=LFlY+MInDhX/7knJa8IVVpJxCJZSEPdyxsLJYI1IhNEgzEBeRIuszBC8b0MFZbmn fhTZfLFjpqqI1vqPe/GzpdEI4xgsYptFfDFwLgqZsKsk37gL/q7rVE7mi4HD5ExA+OE uhjpvyzaAXDeHoU/jkYnV+SqXNFJUasuONdeZ+OPiDwaImudo1yPxUzmlkcN1BeVT6a qg49ET+A1ZZ6FNuiKKuP+LJx1Ms30qHzR27xJrA8HbGADzQOW/Pve/ojRnnaktP5ipe TytajqBK0FzX5m2qWrs/5hmQaancoYLQAZq2c52tTi0X6fpmYkEnGBh0Q9TUy/ItEZj 4StHNxhChg== Received-SPF: pass client-ip=81.3.6.162; envelope-from=wilnerthomas@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240276 Archived-At: I frequently use=C2=A0 `text-scale-increase'=C2=A0 and=C2=A0 `text-scale-de= crease'=C2=A0 in=C2=A0 `face-remap-p.el' to increase and decrease the height of the default face in the current buff= er. Yet at times, in addition to the increase and decrease in height, I would a= lso like for the=20 window to get resized as well.=C2=A0=20 I have seen an implementation by Drew, namely=C2=A0 `face-remap+', that mak= es the current window take notice of the text scaling. But I have noticed that the window frequently resizes in a way that makes a= line continue on the next line, even when the text originally had some space between the= end of the line and the window edge.=C2=A0=20 =C2=A0=C2=A0=20 A further problem occurs because standard functions defined in `face-remap.= el'=C2=A0 get redefined. It would be beneficial if emacs had the facility to scale the window with t= he text scaling in the current window.=C2=A0 But with the functionality being separate from the cu= rrent=C2=A0 `text-scale-increase' and=C2=A0 `text-scale-decrease'.