From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: exporting subtree moves point Date: Tue, 13 Sep 2011 10:00:11 +0100 Message-ID: <87vcsw4y1w.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3Oqv-00048i-K7 for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 05:00:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3Oqm-0002XP-6x for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 05:00:25 -0400 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:53527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3Oqm-0002X2-2q for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 05:00:16 -0400 Received: from pinto.chemeng.ucl.ac.uk ([128.40.74.171] helo=localhost) by vscani-e.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1R3Oqh-0005J5-T5 for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 10:00:11 +0100 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 Hello, I often export just a sub-tree ("C-c C-e 1 p" say). At the end of the export, my point has moved to the enclosing headline and mark is at the end of the contents of that sub-tree. This is a little annoying in that I am often making small changes to see the effect on the final exported document, especially when playing around with tikz. Therefore, I find myself having to move back manually to where I was before the export. Is there an easy way to get back to where I was beyond setting a bookmark or register location manually? Or is there a way to have org put me back to where I was (save-excursion of some sort maybe)? If I remember to set a mark myself, I can get back to there by C-x C-SPC. Maybe I should just advise the export command? Suggestions welcome! Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.7 (release_7.7.280.gdbf0)