From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Problem binding mouse-1 to Info-mouse-follow-nearest-node Date: Mon, 11 Apr 2011 17:50:55 +0300 Message-ID: <83zknwrgds.fsf@gnu.org> References: <4DA2CB77.805@gmx.at> <4DA2F5BC.6040400@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1302533581 2562 80.91.229.12 (11 Apr 2011 14:53:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2011 14:53:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 11 16:52:54 2011 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.69) (envelope-from ) id 1Q9IU1-0006Lt-FA for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2011 16:52:53 +0200 Original-Received: from localhost ([127.0.0.1]:46597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9IU0-0002qp-Rz for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2011 10:52:52 -0400 Original-Received: from [140.186.70.92] (port=43748 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9ITu-0002oB-B5 for emacs-devel@gnu.org; Mon, 11 Apr 2011 10:52:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9ITt-0005OK-2O for emacs-devel@gnu.org; Mon, 11 Apr 2011 10:52:46 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:43322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9ITs-0005OA-PJ for emacs-devel@gnu.org; Mon, 11 Apr 2011 10:52:45 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LJH00700T58KK00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Mon, 11 Apr 2011 17:52:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.31.148]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJH007TWTBT9JA0@a-mtaout23.012.net.il>; Mon, 11 Apr 2011 17:52:43 +0300 (IDT) In-reply-to: <4DA2F5BC.6040400@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 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:138395 Archived-At: > Date: Mon, 11 Apr 2011 14:36:12 +0200 > From: martin rudalics > CC: emacs-devel@gnu.org > > Could you reproduce the behavior I described on your machine? I couldn't try that where I wrote the previous message, but I can now. Yes, I see it. And no, it wasn't introduced after the lex-bind merge, because I see it in revision 103755 (I happen to have a binary for that revision in one of my branches). The immediate problem which triggers the error is that deactivate-mark is called after Info-mouse-follow-nearest-node already changed the node displayed in the *info* buffer, which involves narrowing the buffer to a different range of character positions, and that causes the region to reference the portion of the buffer outside the current restriction.