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: Wed, 24 Apr 2013 22:09:00 +0200 Message-ID: <004BEB10-9044-45AC-8F85-7BC225C293C2@swipnet.se> References: <2r7gjy2gyy.fsf@fencepost.gnu.org> <83bo991z00.fsf@gnu.org> <517257A0.4080607@gmx.at> <8338ul1rmb.fsf@gnu.org> <517275A0.1040702@gmx.at> <83wqrxzbc7.fsf@gnu.org> <51729A6A.7090404@gmx.at> <83mwstyxre.fsf@gnu.org> <5172D1D6.8030200@gmx.at> <83bo99ys79.fsf@gnu.org> <5173B0B2.9070607@gmx.at> <51750438.5060106@gmx.at> <8C0357F6-5720-42E5-90EB-B83416F0344E@swipnet.se> <51762F4D.7070101@gmx.at> <8361zdxll8.fsf@gnu.org> <51777DF3.5030206@gmx.at> <83fvyfx3c1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1366834213 11443 80.91.229.3 (24 Apr 2013 20:10:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 20:10:13 +0000 (UTC) Cc: esabof@gmail.com, 14233@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 24 22:10:15 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 1UV618-0006dv-Ti for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 22:10:15 +0200 Original-Received: from localhost ([::1]:39860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV618-0002yH-EW for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 16:10:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV610-0002p7-Os for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2013 16:10:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV60t-0000AF-28 for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2013 16:10:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV60s-0000AB-V1 for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2013 16:09:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UV65m-00014Q-Ke for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2013 16:15: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: Wed, 24 Apr 2013 20:15: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.13668344473967 (code B ref 14233); Wed, 24 Apr 2013 20:15:02 +0000 Original-Received: (at 14233) by debbugs.gnu.org; 24 Apr 2013 20:14:07 +0000 Original-Received: from localhost ([127.0.0.1]:41576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UV64s-00011w-PP for submit@debbugs.gnu.org; Wed, 24 Apr 2013 16:14:07 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:37246) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UV64p-00011Y-UG for 14233@debbugs.gnu.org; Wed, 24 Apr 2013 16:14:05 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 88DB09D8D for <14233@debbugs.gnu.org>; Wed, 24 Apr 2013 22:08:56 +0200 (CEST) Original-Received: (qmail 23254 invoked by uid 89); 24 Apr 2013 20:08:00 -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; 24 Apr 2013 20:08:00 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 026077FA058; Wed, 24 Apr 2013 22:08:55 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1503) 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:73650 Archived-At: Hello. 24 apr 2013 kl. 20:50 skrev Stefan Monnier : >> Could be, but if we want to change that, we need to come up with some >> useful idea of how to deal with a situation where you have the fringe >> between the display margins and the rest of the text area. Surely, = in >> this case you must include the display margins in the window >> dimensions, but OTOH the fringes separate the window into 2 disjoint >> areas. >=20 > FWIW, I haven't followed all the details of this discussion, but it > seems to be about "how do we adjust the size of the frame when some > display elements are added/removed". If so, then one answer is "never > adjust it". Of course with frames measured in "lines =D7 columns" = this > comes with its own set of problems, but if we switch to measuring = frames > in pixels, the problem should hopefully become simpler. I don't see how. The problem is what to do with leftover pixels when = the removed element isn't a multiple of the character size. Measuring = the frame in pixels does not help when removing, for example, a tool bar = that is 1.5 character high. It is the same problem, what to do with 0.5 = character height. Now if windows are measured in pixels, we can give = those pixels to windows, but frames measured in pixels does not help. Jan D.