From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuan MEI Newsgroups: gmane.emacs.devel Subject: Re: Redisplay issue Date: Wed, 2 Dec 2015 20:55:25 -0800 Message-ID: References: <83fuzqr1iz.fsf@gnu.org> <8337vqqwz7.fsf@gnu.org> <83y4dhonng.fsf@gnu.org> <83two4olqj.fsf@gnu.org> <83h9k3mphx.fsf@gnu.org> <834mg2kvj7.fsf@gnu.org> <83d1upj6ml.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1449118538 21087 80.91.229.3 (3 Dec 2015 04:55:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2015 04:55:38 +0000 (UTC) Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 03 05:55:38 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a4Lvd-0000dQ-Pf for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2015 05:55:38 +0100 Original-Received: from localhost ([::1]:33346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Lvc-0001ks-OV for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2015 23:55:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4LvX-0001kd-8o for emacs-devel@gnu.org; Wed, 02 Dec 2015 23:55:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4LvW-0001s9-FA for emacs-devel@gnu.org; Wed, 02 Dec 2015 23:55:31 -0500 Original-Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]:35913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4LvS-0001rS-NE; Wed, 02 Dec 2015 23:55:26 -0500 Original-Received: by igcph11 with SMTP id ph11so3769307igc.1; Wed, 02 Dec 2015 20:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1mMSLFEi21KJF5om36wMCjvW5a0AZzsqXcg/lP9zMow=; b=JYO5uHAdsjW4coDoqY8afKdCOjidGCCvL6SS84syUE586ixg+T3bHWjV6FePmrv65M 8TFgCgOnBvXru6wbPtpy9ZX/0lnskXsfYWzvyAvEPED5Dxq4WWfc0cbHOMPiQbXmladK BQ+GgMaakifcOSi/97P9vyr4q710huU8c/kZ7yNLBqF5ZKG77XOcaceUd5UMOJHhfrB/ eEhuTTzva7KaokvraUvORNVCmya1s62fsIGowDHM895DPQAgP8usCC+ScK79JdQmaFMr xmYGoYAIvD8iLR+gd7DeiLypS4RKoXrLH7uslZWwZTyknxFdqbn7DwHWpAOajQEgcjbx cIcw== X-Received: by 10.50.153.69 with SMTP id ve5mr4284238igb.80.1449118525999; Wed, 02 Dec 2015 20:55:25 -0800 (PST) Original-Received: by 10.107.14.143 with HTTP; Wed, 2 Dec 2015 20:55:25 -0800 (PST) In-Reply-To: <83d1upj6ml.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195791 Archived-At: > When did you last update from the repository? I believe this bug was > solved a week ago, in commit d5fdffecdfad305d9c933ae3cad75a5e4e73878c. OK, this problem is gone. > If your sources include the changes in that commit, please show a GDB > backtrace when Emacs aborts. > > A stub in the dark: does the change below fix the Cairo build, per > chance? > > diff --git a/src/xdisp.c b/src/xdisp.c > index d1a10ca..7221032 100644 > --- a/src/xdisp.c > +++ b/src/xdisp.c > @@ -30268,6 +30268,7 @@ expose_area (struct window *w, struct glyph_row *row, XRectangle *r, > struct glyph *last; > int first_x, start_x, x; > > + block_input (); > if (area == TEXT_AREA && row->fill_line_p) > /* If row extends face to end of line write the whole line. */ > draw_glyphs (w, 0, row, area, > @@ -30310,6 +30311,7 @@ expose_area (struct window *w, struct glyph_row *row, XRectangle *r, > first - row->glyphs[area], last - row->glyphs[area], > DRAW_NORMAL_TEXT, 0); > } > + unblock_input (); > } > Unfortunately this did not solve the problem. And I noticed something: comparing with and without cairo, even though the number of lines of text and other geometric parameters are identical (no .Xdefaults or any changes in .emacs.d/, the window (frame) height for with and without cairo are different. Something about font handling are different? Thanks, Yuan