From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: Agenda and excursion Date: Thu, 13 May 2010 09:07:30 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36184 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCWXq-0007kd-NJ for emacs-orgmode@gnu.org; Thu, 13 May 2010 07:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCUOL-0002Q4-4h for emacs-orgmode@gnu.org; Thu, 13 May 2010 05:07:42 -0400 Received: from lo.gmane.org ([80.91.229.12]:51225) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCUOK-0002Pn-Um for emacs-orgmode@gnu.org; Thu, 13 May 2010 05:07:41 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OCUOI-0004do-UB for emacs-orgmode@gnu.org; Thu, 13 May 2010 11:07:39 +0200 Received: from 94-21-240-140.pool.digikabel.hu ([94.21.240.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 May 2010 11:07:38 +0200 Received: from levelhalom by 94-21-240-140.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 May 2010 11:07:38 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Often I do something in an org buffer and then display the agenda to see my tasks. Then later I switch back to that buffer with switch-to-buffer and find that building of the agenda moved the cursor from the point I was to the end of the buffer. It's a bit annoying. Shouldn't org-agenda use save-excursion in org buffers, so the cursor is not moved from the point the user left it? Building of the agenda shouldn't affect the buffer state this way since it's a reading operation.