From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Args out of range with new auto-composition implementation Date: Fri, 12 Sep 2008 15:32:16 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1221201159 24066 80.91.229.12 (12 Sep 2008 06:32:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 06:32:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 08:33:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ke2Dj-0000rs-EK for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 08:33:31 +0200 Original-Received: from localhost ([127.0.0.1]:43153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke2Cj-0008Hx-24 for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 02:32:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ke2Ce-0008HW-AG for emacs-devel@gnu.org; Fri, 12 Sep 2008 02:32:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ke2Cc-0008HK-Uk for emacs-devel@gnu.org; Fri, 12 Sep 2008 02:32:23 -0400 Original-Received: from [199.232.76.173] (port=53771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke2Cc-0008HH-QM for emacs-devel@gnu.org; Fri, 12 Sep 2008 02:32:22 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:44191) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ke2Cc-0002FJ-9l for emacs-devel@gnu.org; Fri, 12 Sep 2008 02:32:22 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m8C6WHwc020963; Fri, 12 Sep 2008 15:32:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m8C6WHDk007023; Fri, 12 Sep 2008 15:32:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id m8C6WGZh000978; Fri, 12 Sep 2008 15:32:16 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1Ke2CW-0006gL-IR; Fri, 12 Sep 2008 15:32:16 +0900 In-reply-to: (lekktu@gmail.com) X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103837 Archived-At: In article , "Juanma Barranquero" writes: > On Thu, Sep 11, 2008 at 04:07, Kenichi Handa wrote: > > I can't reproduce that bug with the latest code. Can you? > BTW, did you see the additional info at > http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=874#10 Yes. The only possibility that happens is that w->buffer is different from current_buffer. I've thought that when current_column is called, the selected window is that same as the window showing the current buffer. But, it seems that we can't assume that. Perhaps that is the reason why it uses buffer-display-table of the current buffer instead of window-display-table as in compute_motion(). Anyway, I've just installed a workaround of not handling automatic composition if the current buffer is not associated with a window. --- Kenichi Handa handa@ni.aist.go.jp