From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#16058: 24.3.50; X protocol error: BadAlloc... Date: Mon, 09 Dec 2013 21:11:50 +0400 Message-ID: <52A5F9D6.4000302@yandex.ru> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> <838uvuynxv.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386609138 23072 80.91.229.3 (9 Dec 2013 17:12:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2013 17:12:18 +0000 (UTC) Cc: thierry.volpiatto@gmail.com, 16058@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 09 18:12:21 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 1Vq4NZ-0001Ur-EF for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Dec 2013 18:12:21 +0100 Original-Received: from localhost ([::1]:45009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq4NY-0003nS-Vb for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Dec 2013 12:12:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq4NN-0003dg-Ru for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 12:12:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq4NG-0004Lq-Tu for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 12:12:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq4NG-0004Li-Pn for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 12:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vq4NG-0000Kc-C1 for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 12:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Dec 2013 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16058 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16058-submit@debbugs.gnu.org id=B16058.13866091161255 (code B ref 16058); Mon, 09 Dec 2013 17:12:02 +0000 Original-Received: (at 16058) by debbugs.gnu.org; 9 Dec 2013 17:11:56 +0000 Original-Received: from localhost ([127.0.0.1]:40399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq4NA-0000KB-01 for submit@debbugs.gnu.org; Mon, 09 Dec 2013 12:11:56 -0500 Original-Received: from forward2l.mail.yandex.net ([84.201.143.145]:51495) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq4N6-0000K1-Oa for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 12:11:53 -0500 Original-Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward2l.mail.yandex.net (Yandex) with ESMTP id 273C21AC0E78; Mon, 9 Dec 2013 21:11:51 +0400 (MSK) Original-Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id B63006A0230; Mon, 9 Dec 2013 21:11:50 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qHWKnoloPc-Bo8SviTU; Mon, 9 Dec 2013 21:11:50 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1386609110; bh=YGmHl3CDPJmz9P5+Sm+AaAGR/C477ImtS4CEbNUbpWU=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Unh1uWIR9UEXsEd6s7uZO6fiCgsQb8Z+EciCqvSuVMi2D9hvD19KxCtGSvOgv/FK8 53BdGGzOff6Ls4s3Sy9rn3FoNFzzZjeRuGMzJRIxpvgM7BSoLdzBA4xKMMt2I7gmO4 FmAsASNnJakmvwrWt+HoaZTtnZmHXvv9spS+C3os= Authentication-Results: smtp16.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <838uvuynxv.fsf@gnu.org> 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:81651 Archived-At: On 12/09/2013 08:43 PM, Eli Zaretskii wrote: >> [2:text/x-patch Hide Save:invalidate_desired_row_bug16058.patch (356B)] >> >> === modified file 'src/xdisp.c' >> --- src/xdisp.c 2013-12-04 18:46:47 +0000 >> +++ src/xdisp.c 2013-12-09 08:30:57 +0000 >> @@ -11937,6 +11937,8 @@ >> int max_x = it->last_visible_x; >> struct glyph *last; >> >> + /* Don't extend on a previously drawn tool bar items (Bug#16058). */ >> + row->enabled_p = 0; >> prepare_desired_row (row); >> row->y = it->current_y; > > Isn't it better to just call clear_glyph_row explicitly? Hm...not sure, what about enabling enabled_p and preserving reversed_p? And, of course, thanks for reviewing it. Dmitry