From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Re: problem of display property [Re: list-charset-chars and unicode-bmp] Date: 30 Jan 2003 21:56:02 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <86d6meqrvh.fsf@gerd.free-bsd.org> References: <200301300426.NAA18495@etlken.m17n.org> <1438-Thu30Jan2003220712+0200-eliz@is.elta.co.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043961527 20599 80.91.224.249 (30 Jan 2003 21:18:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2003 21:18:47 +0000 (UTC) Cc: handa@m17n.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 18eM53-0005LX-00 for ; Thu, 30 Jan 2003 22:18:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18eMAs-0007MQ-00 for ; Thu, 30 Jan 2003 22:24:42 +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 18eM1i-0003XF-01 for emacs-devel@quimby.gnus.org; Thu, 30 Jan 2003 16:15:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18eM1L-0003Tt-00 for emacs-devel@gnu.org; Thu, 30 Jan 2003 16:14:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18eLq4-0006Rq-00 for emacs-devel@gnu.org; Thu, 30 Jan 2003 16:03:12 -0500 Original-Received: from mailout08.sul.t-online.com ([194.25.134.20]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eLjb-0002iN-00 for emacs-devel@gnu.org; Thu, 30 Jan 2003 15:56:31 -0500 Original-Received: from fwd00.sul.t-online.de by mailout08.sul.t-online.com with smtp id 18eLjU-0001PD-0G; Thu, 30 Jan 2003 21:56:25 +0100 Original-Received: from gerd.free-bsd.org (520015515780-0001@[217.230.108.73]) by fwd00.sul.t-online.com with esmtp id 18eLjM-1GVjl2C; Thu, 30 Jan 2003 21:56:16 +0100 Original-Received: from gerd.free-bsd.org (localhost [127.0.0.1]) by gerd.free-bsd.org (8.12.6/8.12.6) with ESMTP id h0UKu9uX000718; Thu, 30 Jan 2003 21:56:09 +0100 (CET) (envelope-from gerd.moellmann@t-online.de) Original-Received: (from gerd@localhost) by gerd.free-bsd.org (8.12.6/8.12.6/Submit) id h0UKu2x8000715; Thu, 30 Jan 2003 21:56:02 +0100 (CET) X-Authentication-Warning: gerd.free-bsd.org: gerd set sender to gerd.moellmann@t-online.de using -f Original-To: Eli Zaretskii In-Reply-To: <1438-Thu30Jan2003220712+0200-eliz@is.elta.co.il> Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Sender: 520015515780-0001@t-dialin.net Original-cc: jsbien@mimuw.edu.pl Original-cc: emacs-devel@gnu.org 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:11235 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11235 "Eli Zaretskii" writes: > > For instance, it seems to me that doing this is possible. > > > > (1) call init_iterator with ROW == NULL > > (2) call reseat with POS == (line-beginning-position) > > (3) call move_it_to with TO_CHARPOS == (point) > > (4) it->hpos is the current column. > > I'm not sure; does this really work? Including some unusual > situations like display tables, overlays/text properties, and other > calamities that affect how text is displayed? The only thing the glyph_row pointer in struct it is used for is for filling out glyhs. Everything else should be the same with or without filling glyhs.