From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Ruiz Subject: org-babel-post-tangle-hook just opening tangled file Date: Wed, 8 Sep 2010 09:46:44 +0000 (GMT) Message-ID: <497246.59949.qm@web29013.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57294 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtHEu-00080p-ND for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 05:46:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtHEt-0000Wn-8r for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 05:46:48 -0400 Received: from web29013.mail.ird.yahoo.com ([212.82.110.155]:23374) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OtHEt-0000WT-06 for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 05:46:47 -0400 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 Hi=0A=0AShould=0A=0A (add-hook 'org-babel-post-tangle-hook=0A (= lambda () (save-window-excursion=0A (find-file (buff= er-file-name)))))=0A=0Awork in .emacs? =0A=0AThe purpose is simply opening = the tangled file but I think the opening happens before the tangled file ha= s finished of being written. =0A=0AI have tried=0A=0A (add-hook 'org-babel= -post-tangle-hook=0A (lambda () (save-window-excursion=0A = (find-file "anyfile"))))=0A=0Aand no problem, but the firs= t code does nothing, apparently.=0A=0AI am a beginner with elisp, so I beg = your pardon.=0A=0AMiguel Ruiz.=0A=0A=0A