From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: A small hack to document programs externally Date: Mon, 03 Feb 2014 13:11:20 +0100 Message-ID: References: <87wqifrdub.fsf@bzg.ath.cx> <87ha8gy3kz.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAIOQ-0008Rt-9t for emacs-orgmode@gnu.org; Mon, 03 Feb 2014 07:12:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAIOK-0003Im-9v for emacs-orgmode@gnu.org; Mon, 03 Feb 2014 07:12:50 -0500 In-Reply-To: <87ha8gy3kz.fsf@bzg.ath.cx> (Bastien's message of "Mon, 03 Feb 2014 09:59:08 +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: Bastien Cc: Org Mode Hi Bastion, Bastien writes: > The most common error it catches is (goto-char 1) which should be > (goto-char (point-min)) -- This way narrowing and other commands that > change (point-min) will not interfere. Otherwise this is just using > `with-temp-buffer', which fits best here IMO. Thanks a lot! I'm still reading the giraffe book so there is much yet to learn. I pushed this updated version on worg. Alan