From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uday S Reddy Newsgroups: gmane.emacs.devel Subject: Re: Moving cursor on another window Date: Thu, 20 Jan 2011 12:13:07 +0000 Message-ID: <4D3826D3.3020706@cs.bham.ac.uk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295525636 26796 80.91.229.12 (20 Jan 2011 12:13:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 12:13:56 +0000 (UTC) Cc: tcross@une.edu.au, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 20 13:13:51 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 1PftOg-0007i1-6Y for ged-emacs-devel@m.gmane.org; Thu, 20 Jan 2011 13:13:50 +0100 Original-Received: from localhost ([127.0.0.1]:57649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PftOf-000427-4t for ged-emacs-devel@m.gmane.org; Thu, 20 Jan 2011 07:13:49 -0500 Original-Received: from [140.186.70.92] (port=42624 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PftOa-00040N-SY for emacs-devel@gnu.org; Thu, 20 Jan 2011 07:13:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PftOZ-0007LA-Nr for emacs-devel@gnu.org; Thu, 20 Jan 2011 07:13:44 -0500 Original-Received: from smtp-out4.blueyonder.co.uk ([195.188.213.7]:60771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PftOZ-0007Km-IK for emacs-devel@gnu.org; Thu, 20 Jan 2011 07:13:43 -0500 Original-Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1PftOW-0007pn-1r; Thu, 20 Jan 2011 12:13:40 +0000 Original-Received: from [92.232.137.113] (helo=[192.168.1.100]) by asmtp-out2.blueyonder.co.uk with esmtpa (Exim 4.72) (envelope-from ) id 1PftOB-0004xz-74; Thu, 20 Jan 2011 12:13:19 +0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:134814 Archived-At: Dear Martin and Stefan, Thanks for the responses. I understand the point about window-point now. The reason for my asking the question is that I was trying to narrow down a possible bug in Emacs 23.2.92 pretest. The same problem has also been mentioned with the recent revisions in the Emacs trunk The way the problem is exhibited in the VM mail reader is that the cursor in the Summary window doesn't move after moving to a different message. This movement is done in a function called vm-set-summary-pointer which is called from different places in VM. Some of these calls work fine but others don't. I was trying to narrow down the difference between the contexts, but I couldn't really find much difference. (vm-set-summary-pointer has the correct calls to set the window-point and I don't think anything is wrong with its code. It has been working fine for ages.) On the surface, this seems similar to the problem mentioned by Thierry Volpato a couple of days ago. More details at the VM bug report https://bugs.launchpad.net/vm/+bug/703775 Cheers, Uday