From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#14233: 24.3; Don't constrain frame size to character multiples Date: Mon, 22 Apr 2013 18:11:12 +0200 Message-ID: References: <2r7gjy2gyy.fsf@fencepost.gnu.org> <83bo991z00.fsf@gnu.org> <517257A0.4080607@gmx.at> <071A708E-3A98-4D11-A15F-7AB92D5200DD@swipnet.se> <51727563.70905@gmx.at> <5172908F.7090206@swipnet.se> <83sj2lz6nm.fsf@gnu.org> <5172EBEF.7030301@swipnet.se> <5173B0D8.4010408@gmx.at> <9CE9273D-8550-478F-8CB9-0C0D693C0BB8@swipnet.se> <5175042E.5020508@gmx.at> <5064BF03-8A61-4C0E-AA6C-5197A177B61A@swipnet.se> <517558ED.7080907@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1366647138 24471 80.91.229.3 (22 Apr 2013 16:12:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2013 16:12:18 +0000 (UTC) Cc: "esabof@gmail.com" , "14233@debbugs.gnu.org" <14233@debbugs.gnu.org> To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 22 18:12:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UUJLm-0004vY-Ns for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2013 18:12:18 +0200 Original-Received: from localhost ([::1]:32783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJLm-0006VC-8o for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2013 12:12:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJLg-0006Mv-VZ for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2013 12:12:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUJLf-0002zZ-HE for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2013 12:12:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJLf-0002zI-EI for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2013 12:12:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UUJQM-0000hB-4X for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2013 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2013 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14233 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14233-submit@debbugs.gnu.org id=B14233.13666473772559 (code B ref 14233); Mon, 22 Apr 2013 16:17:02 +0000 Original-Received: (at 14233) by debbugs.gnu.org; 22 Apr 2013 16:16:17 +0000 Original-Received: from localhost ([127.0.0.1]:37295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UUJPa-0000fA-NP for submit@debbugs.gnu.org; Mon, 22 Apr 2013 12:16:16 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:62301) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UUJPT-0000ea-VX for 14233@debbugs.gnu.org; Mon, 22 Apr 2013 12:16:12 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 58440CC4C for <14233@debbugs.gnu.org>; Mon, 22 Apr 2013 18:11:13 +0200 (CEST) Original-Received: (qmail 8357 invoked by uid 89); 22 Apr 2013 16:10:20 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 22 Apr 2013 16:10:20 -0000 Original-Received: from [172.20.199.240] (jansiphone [172.20.199.240]) by coolsville.localdomain (Postfix) with ESMTPSA id 0719B7FA058; Mon, 22 Apr 2013 18:11:13 +0200 (CEST) In-Reply-To: <517558ED.7080907@gmx.at> X-Mailer: iPhone Mail (10B329) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73580 Archived-At: Hello.=20 22 apr 2013 kl. 17:36 skrev martin rudalics : > >> The interface to the window subsystem will be the function > >> > >> change_frame_size (struct frame *f, int new_width, int new_height, > >> bool pretend, bool delay, bool safe, bool pixelwise) > >> > >> which processes new_width and new_height in terms of pixels if pixelwis= e > >> is non-nil. >=20 > I meant 1 here. >=20 > > This is insane. it means changing lots and lots of calls, and makes merg= ing between branches harder. >=20 > Currently, change_frame_size doesn't know anything about the various > platforms' requirements going beyond those of the frame's text area. I don't understand what you are trying to say.=20 > > Make a new function (change_frame_size_pixelwise for example), with the a= rguments above, and let change_frame_size call it with the last argument fal= se. >=20 > And how would change_frame_size know what the new pixel dimensions of > the frame's text area are? As Emacs has always done, multiply by canonical character pixel size.=20 The point is that for X and NS there are probably just a few places where pi= xel size is needed. Better to have a new name anyway so that we see it is a= different function. This helps in backports, for example.=20 Jan D.=20=