From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: column int->float diff Date: Mon, 3 Jun 2002 05:41:39 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206031141.g53BfdO20356@aztec.santafe.edu> References: <200206012105.g51L5Dp17436@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023104580 26643 127.0.0.1 (3 Jun 2002 11:43:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2002 11:43:00 +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.33 #1 (Debian)) id 17EqEl-0006vW-00 for ; Mon, 03 Jun 2002 13:42:59 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17EqYB-0005Wx-00 for ; Mon, 03 Jun 2002 14:03:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17EqE6-0007Su-00; Mon, 03 Jun 2002 07:42:18 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17EqDV-0007K7-00; Mon, 03 Jun 2002 07:41:41 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g53BfdV22737; Mon, 3 Jun 2002 05:41:39 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g53BfdO20356; Mon, 3 Jun 2002 05:41:39 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: ttn@glug.org In-Reply-To: (message from Thien-Thi Nguyen on Sat, 01 Jun 2002 19:54:32 -0700) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4563 inserting text increments the column normally, but this is not the case for images (on the same line) which add 1 to the column only: This is because the image is placed on top of one character. The indentation code only knows that it is one character. It pays no attention to the image on it. When the indentation code knows about widths of characters, then it should also check for images and use the width of the image to do its calculation. I think that if you use the `iterator' facility it will automatically handle that properly.