From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Edit source: fix 'end' initialisation Date: Thu, 13 Dec 2012 23:48:27 +0100 Message-ID: <87y5h1va9w.fsf@bzg.ath.cx> References: <50C113A4.5020501@no8wireless.co.nz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjHZx-0006m2-5f for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 17:48:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjHZt-0002Lj-GI for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 17:48:33 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:49465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjHZt-0002Lf-Aa for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 17:48:29 -0500 Received: by mail-wi0-f179.google.com with SMTP id o1so61599wic.12 for ; Thu, 13 Dec 2012 14:48:28 -0800 (PST) In-Reply-To: <50C113A4.5020501@no8wireless.co.nz> (Michael Gauland's message of "Fri, 07 Dec 2012 10:52:36 +1300") 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: Michael Gauland Cc: emacs-orgmode@gnu.org Hi Michael, sorry I overlooked this patch. It's cleaner than the solution I committed, so I reverted my commit and applied your patch. Thanks! Michael Gauland writes: > I've been able to run org-edit-src-code just fine under NTEmacs > 24.2.50.1 on Windows 7, but under GNU Emacs 23.2.1 on Debian, I got an > error: > > Wrong type argument: integer-or-marker-p, nil > > With the attached patch, I've been able to run it on both systems. The > change passes (make-marker) to (copy-marker), instead of nil. -- Bastien