From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: Moving cursor on another window Date: Thu, 20 Jan 2011 13:52:20 +0100 Message-ID: <87zkqvg2kb.fsf@gmail.com> References: <4D3826D3.3020706@cs.bham.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295528590 10148 80.91.229.12 (20 Jan 2011 13:03:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 13:03:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 20 14:03:06 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 1PfuAM-0003Gi-C0 for ged-emacs-devel@m.gmane.org; Thu, 20 Jan 2011 14:03:06 +0100 Original-Received: from localhost ([127.0.0.1]:45766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfu0P-0002oJ-37 for ged-emacs-devel@m.gmane.org; Thu, 20 Jan 2011 07:52:49 -0500 Original-Received: from [140.186.70.92] (port=51405 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pfu0F-0002ka-C1 for emacs-devel@gnu.org; Thu, 20 Jan 2011 07:52:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfu0C-00067d-KL for emacs-devel@gnu.org; Thu, 20 Jan 2011 07:52:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:48827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfu0C-00066F-Dg for emacs-devel@gnu.org; Thu, 20 Jan 2011 07:52:36 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pfu0A-0005va-8u for emacs-devel@gnu.org; Thu, 20 Jan 2011 13:52:34 +0100 Original-Received: from 202.211.85-79.rev.gaoland.net ([79.85.211.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 13:52:34 +0100 Original-Received: from thierry.volpiatto by 202.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 13:52:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 202.211.85-79.rev.gaoland.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.92 (gnu/linux) Cancel-Lock: sha1:nn5CaRs14LFrX5Mu61ywL7IeG2Y= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:134815 Archived-At: Uday S Reddy writes: > 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. I am actually using 23.2.92 with the changes on window.c made by Martin and all work fine, maybe you can try also to apply these changes to see if they fix your problem in VM. Also, his patch, that is for Emacs24 now, work fine also. > More details at the VM bug report https://bugs.launchpad.net/vm/+bug/703775 > > Cheers, > Uday > > > -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997