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#16348: 24.3.50; Increasing internal-border-width cuts menubar and toolbar on non-toolkit builds Date: Sun, 05 Jan 2014 20:08:38 +0200 Message-ID: <83lhyuti6x.fsf@gnu.org> References: <52C9363A.9050008@gmx.at> <83wqietmef.fsf@gnu.org> <52C98CFB.4020809@gmx.at> <83r48mtl0t.fsf@gnu.org> <52C99D81.9040708@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1388945355 23218 80.91.229.3 (5 Jan 2014 18:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jan 2014 18:09:15 +0000 (UTC) Cc: 16348@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 05 19:09:21 2014 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 1Vzs8V-0004lD-Va for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jan 2014 19:09:20 +0100 Original-Received: from localhost ([::1]:58937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzs8V-0003ja-GA for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jan 2014 13:09:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzs8N-0003gb-95 for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 13:09:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzs8E-0006jn-DW for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 13:09:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzs8E-0006jb-A0 for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 13:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vzs8D-0003xJ-N2 for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 13:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2014 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16348 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16348-submit@debbugs.gnu.org id=B16348.138894533915197 (code B ref 16348); Sun, 05 Jan 2014 18:09:01 +0000 Original-Received: (at 16348) by debbugs.gnu.org; 5 Jan 2014 18:08:59 +0000 Original-Received: from localhost ([127.0.0.1]:36584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vzs8B-0003x2-06 for submit@debbugs.gnu.org; Sun, 05 Jan 2014 13:08:59 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:54881) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vzs86-0003wq-7N for 16348@debbugs.gnu.org; Sun, 05 Jan 2014 13:08:56 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MYX00700WZYIJ00@a-mtaout21.012.net.il> for 16348@debbugs.gnu.org; Sun, 05 Jan 2014 20:08:52 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MYX007LKX2SBSA0@a-mtaout21.012.net.il>; Sun, 05 Jan 2014 20:08:52 +0200 (IST) In-reply-to: <52C99D81.9040708@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:83014 Archived-At: > Date: Sun, 05 Jan 2014 18:59:29 +0100 > From: martin rudalics > CC: mituharu@math.s.chiba-u.ac.jp, 16348@debbugs.gnu.org > > >> The only practical solution I usually see is to resize the frame to > >> some other size and size it back. I doubt that this is the same as > >> resetting the enabled_p flags. > > > > What do you think it does, in addition? It reallocates the glyph > > matrices to fit the new dimensions, which clears that flag. > > > > Anyway, I'm not aware of any mechanism in the display engine to avoid > > redrawing portions of the screen, except the one that compares glyph > > rows. All the other redisplay optimizations are suppressed by setting > > windows_or_buffers_changed, and I imagine you already do that. > > > > If I'm wrong, can you point to the code that avoids redrawing those > > parts? > > If things were that easy I wouldn't have bothered you. Take the > scenario from bug 14222: > > (progn > (set-frame-parameter (selected-frame) 'scroll-bar-width 6) > (sit-for 1) > (set-frame-parameter (selected-frame) 'left-fringe 27) > (sit-for 1) > (set-frame-parameter (selected-frame) 'scroll-bar-width 6) > (sit-for 1)) > > I have inserted windows_or_buffers_changed settings all over > x_set_scroll_bar_width with no avail. But when I subsequently re-resize > the frame, it gets drawn correctly. I meant if I'm wrong about disabling the current matrix's rows.