From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#36250: [PATCH] Allow Emacs to be resized arbitrarily Date: Sun, 16 Jun 2019 21:42:25 +0300 Message-ID: <1560710545.19774.2@yandex.ru> References: <1560707992.19774.0@yandex.ru> <20190616180122.20341-1-Hi-Angel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20738"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36250@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 16 20:48:04 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcaCC-0005It-Qb for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2019 20:48:04 +0200 Original-Received: from localhost ([::1]:42122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcaCA-0008Ia-6j for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2019 14:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59178) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcaBB-0007WX-8P for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 14:47:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hca7K-0002fE-Rr for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 14:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hca7K-0002f7-PJ for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hca7K-0007PU-MV for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2019 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36250 X-GNU-PR-Package: emacs Original-Received: via spool by 36250-submit@debbugs.gnu.org id=B36250.156071055828445 (code B ref 36250); Sun, 16 Jun 2019 18:43:02 +0000 Original-Received: (at 36250) by debbugs.gnu.org; 16 Jun 2019 18:42:38 +0000 Original-Received: from localhost ([127.0.0.1]:41434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hca6w-0007Oj-3x for submit@debbugs.gnu.org; Sun, 16 Jun 2019 14:42:38 -0400 Original-Received: from forward106p.mail.yandex.net ([77.88.28.109]:45934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hca6t-0007OT-Sw for 36250@debbugs.gnu.org; Sun, 16 Jun 2019 14:42:36 -0400 Original-Received: from mxback18g.mail.yandex.net (mxback18g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:318]) by forward106p.mail.yandex.net (Yandex) with ESMTP id B78C51C80C78; Sun, 16 Jun 2019 21:42:27 +0300 (MSK) Original-Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback18g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id cIJMys0ukx-gRDCtVoF; Sun, 16 Jun 2019 21:42:27 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1560710547; bh=PN8VyFjsCJwrJdRwA2QO++5FP9nav6ZnbThJ7KGhNPM=; h=In-Reply-To:Cc:To:Subject:From:References:Date:Message-Id; b=BK4HKLttzEHO5M5jDp4lLSVB8+VD1qxX/5TWfuyzNfhM+ri0U0+qiE4S+OfGs5c+2 SjhCs0byelTLxa5TJlQygKqSx38/ItUx8nGTpIgNA1/npXNTHaJx2igkDmVh8IhjmZ u2SU+wr6cE08ooTEF/SKL+NpJlLPI1cP7ZgyQE9o= Authentication-Results: mxback18g.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QYKFBENuH7-gQruvX6j; Sun, 16 Jun 2019 21:42:26 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) In-Reply-To: <837e9lv15t.fsf@gnu.org> X-Mailer: geary/3.33.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160684 Archived-At: =F7 =F7=D3, =C9=C0=CE 16, 2019 at 21:24, Eli Zaretskii =20 =CE=C1=D0=C9=D3=C1=CC: >> From: Konstantin Kharlamov >> Date: Sun, 16 Jun 2019 21:01:22 +0300 >>=20 >> This constraint disallows standard compliant window managers to make >> Emacs fullscreen on certain screen resolutions (ones that are not >> multiple of width_inc and height_inc), or to expand Emacs to fill=20 >> free >> space on the screen (on certain sizes too). >>=20 >> It doesn't seem to do anything useful otherwise; besides some WMs >> (like i3wm) just ignore this property anyway. >>=20 >> * src/xterm.c (x_wm_set_size_hint): don't set width_inc,=20 >> height_inc, and >> GDK_HINT_RESIZE_INC. >> * src/gtkutil.c (x_wm_set_size_hint): don't set width_inc,=20 >> height_inc, and >> PResizeInc. >> * src/emacsgtkfixed.c (XSetWMSizeHints): don't set width_inc and=20 >> height_inc. >=20 > Thanks, but after so many years of doing this stuff the way we do, and > without any experts in this domain on board, I think we need to leave > behind a "fire escape" -- a variable that users could set from Lisp to > get back the old behavior. There are too many window managers out > there, and we cannot be sure none of them need the old code. As I noted, "unconstrained behavior" is widely tested. At the very=20 least, it's tested by users of i3wm. We always can revert the code. Let's not pile up maintainance burden by=20 adding lots of variables for unnecessary behavior unless it's really=20 needed. =