From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14233: 24.3; Don't constrain frame size to character multiples Date: Sat, 20 Apr 2013 21:26:02 +0300 Message-ID: <83bo99ys79.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366482388 27103 80.91.229.3 (20 Apr 2013 18:26:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Apr 2013 18:26:28 +0000 (UTC) Cc: esabof@gmail.com, 14233@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 20 20:26:31 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 1UTcUY-0002Wa-BH for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2013 20:26:30 +0200 Original-Received: from localhost ([::1]:49368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTcUX-0006gZ-SM for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Apr 2013 14:26:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTcUT-0006gO-Vl for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2013 14:26:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTcUP-0005ov-Om for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2013 14:26:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTcUP-0005op-Lv for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2013 14:26:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UTcYv-0001MA-Tx for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2013 14:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2013 18:31:01 +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.13664826585201 (code B ref 14233); Sat, 20 Apr 2013 18:31:01 +0000 Original-Received: (at 14233) by debbugs.gnu.org; 20 Apr 2013 18:30:58 +0000 Original-Received: from localhost ([127.0.0.1]:33849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTcYs-0001Lq-2y for submit@debbugs.gnu.org; Sat, 20 Apr 2013 14:30:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:55158) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTcYp-0001Lg-A0 for 14233@debbugs.gnu.org; Sat, 20 Apr 2013 14:30:56 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MLK00800GJG0E00@a-mtaout22.012.net.il> for 14233@debbugs.gnu.org; Sat, 20 Apr 2013 21:26:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLK007WAGJNP480@a-mtaout22.012.net.il>; Sat, 20 Apr 2013 21:26:12 +0300 (IDT) In-reply-to: <5172D1D6.8030200@gmx.at> X-012-Sender: halo1@inter.net.il 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:73527 Archived-At: > Date: Sat, 20 Apr 2013 19:35:18 +0200 > From: martin rudalics > CC: rgm@gnu.org, esabof@gmail.com, 14233@debbugs.gnu.org > > >> One can check whether pixel-edges are equal. > > > > Yes, I think that's a better solution for that. > > But we also should try to not break code outside our code base. To some point, yes. But in this case, I think there's no other way. Or maybe introduce new APIs for pixel-unit resizing. > >> Also the frame's internal border is drawn in between toolbar and the > >> frame's root window > > > > At least on MS-Windows, I see no border. Or perhaps I don't know what > > to look for. > > With emacs -Q try > > (set-frame-parameter (selected-frame) 'internal-border-width 12) But that just proves that I was right: a tool bar is just another window, so its size should be included in the frame's text height. What am I missing? What is exactly that we are disagreeing about here? > >> > As for display margins, they do display text, don't they? > >> > >> IIUC they could display anything fringes can display > > > > No. Fringes can only display bitmaps. The cannot display text or > > images that we support in the text area or on margins. > > Yes. But I meant that display margins can display images and bitmaps as > well. The fringes can display _only_ bitmaps. No text or images of other formats. > >> BTW, I've never been able to understand the manuals and doc-strings in > >> this regard. Consider the doc-string of `set-frame-width': "Specify > >> that the frame FRAME has COLS columns." Or its manual entry: "This > >> function sets the width of FRAME, measured in characters." > > > > What's wrong with those? > > That they never explain what the "width of a frame" is. Of course, they do. Which part of "width of FRAME, measured in characters" is unclear? > The best explanation I could find is > > http://www.xemacs.org/Documentation/21.5/html/internals_29.html#SEC275 > > (in particular section 29.7 "The Displayable Area") but it still lacks > an explanation of frame fringe widths (maybe because XEmacs doesn't have > them). XEmacs has an entirely different display engine, developed independently and with somewhat different goals.