From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: xdisp.c problem? Date: Fri, 31 Jan 2003 09:34:08 -0800 (PST) Organization: Sony Electronics Inc. Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030131.093408.60851664.Takaaki.Ota@am.sony.com> References: <20030130.131322.01368777.Takaaki.Ota@am.sony.com> <20030130.155620.107709347.Takaaki.Ota@am.sony.com> <200301310358.MAA21102@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044035189 26403 80.91.224.249 (31 Jan 2003 17:46:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2003 17:46:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18efFD-0006rb-00 for ; Fri, 31 Jan 2003 18:46:27 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18efLS-0002Ag-00 for ; Fri, 31 Jan 2003 18:52:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18efGS-0007Un-00 for emacs-devel@quimby.gnus.org; Fri, 31 Jan 2003 12:47:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18efFe-00075Y-00 for emacs-devel@gnu.org; Fri, 31 Jan 2003 12:46:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18efBo-00051T-00 for emacs-devel@gnu.org; Fri, 31 Jan 2003 12:42:56 -0500 Original-Received: from mail6.fw-bc.sony.com ([160.33.98.73]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ef3Q-00019X-00 for emacs-devel@gnu.org; Fri, 31 Jan 2003 12:34:16 -0500 Original-Received: from mail2.sjc.in.sel.sony.com (mail2.sjc.in.sel.sony.com [43.134.1.111]) by mail6.fw-bc.sony.com (8.8.8/8.8.8) with ESMTP id RAA09694; Fri, 31 Jan 2003 17:34:09 GMT Original-Received: by mail2.sjc.in.sel.sony.com id RAA17929; Fri, 31 Jan 2003 17:34:09 GMT Original-To: handa@m17n.org In-Reply-To: <200301310358.MAA21102@etlken.m17n.org> X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew-3.1.52 on Emacs-21.3.50.1 (i386-msvc-nt5.0.2195) of 2003-01-31 Original-cc: gerd.moellmann@t-online.de X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11257 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11257 Fri, 31 Jan 2003 12:58:37 +0900 (JST): Kenichi Handa wrote: > It seems that Fnext_single_char_property_change is called > with POS == 0 in this code: > > L9525: pos = make_number (string_buffer_position (w, glyph->object, > L9526: string_before_pos)); > L9527: pos = Fnext_single_char_property_change (pos, Qdisplay, Qnil, limit); > > That means string_buffer_position returns 0 in your case. > > Hmmm, as this function checks only `display' property, that > is a likely result if the buffer contains overlay string. > > I've just installed the attached patch to skip such glyphs > that come from overlay string. Please try again. I've just tested the patch already applied xdips.c from the CVS this morning. It works fine now, even on this inferior system too. Thank you. -Tak