From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antoine Levitt Subject: org-agenda-switch-to switches to weird place Date: Tue, 11 Oct 2011 17:57:48 +0200 Message-ID: <87lisrwmf7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDeif-0004Ln-9v for emacs-orgmode@gnu.org; Tue, 11 Oct 2011 11:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDeiZ-0002jz-Gr for emacs-orgmode@gnu.org; Tue, 11 Oct 2011 11:58:17 -0400 Received: from lo.gmane.org ([80.91.229.12]:40180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDeiZ-0002jn-Bk for emacs-orgmode@gnu.org; Tue, 11 Oct 2011 11:58:11 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RDeiV-00036H-GZ for emacs-orgmode@gnu.org; Tue, 11 Oct 2011 17:58:07 +0200 Received: from portable55.ceremade.dauphine.fr ([193.48.71.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Oct 2011 17:58:07 +0200 Received: from antoine.levitt by portable55.ceremade.dauphine.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Oct 2011 17:58:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I use org-capture to store information (such as appointments), then view them in the agenda. I use RET (org-agenda-switch-to) in the agenda view to modify them. For instance, for an entry like * TODO Some task SCHEDULED: !<2011-10-11 Tue> , point is at "!", which is inconvenient, because most of the time I want to modify the heading of the entry ("Some task"). A nice place to put the point would be at the %? specifier of org-capture-templates, if specified. Apparently, org-capture does the job of inserting a marker for org-agenda-switch-to to come back to, so it should be able to figure out if %? was specified, and if yes, where. I couldn't manage to do it, though. Could someone take a look at this?