From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: (no subject) Date: Fri, 04 May 2018 07:38:43 +0200 Message-ID: <877eokf09o.fsf@luisa.c0t0d0s0.de> References: <871sesbyno.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fETQj-0007Aa-SA for emacs-orgmode@gnu.org; Fri, 04 May 2018 01:38:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fETQg-0002Ac-Os for emacs-orgmode@gnu.org; Fri, 04 May 2018 01:38:53 -0400 Received: from mout.gmx.net ([212.227.17.20]:40307) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fETQg-00025b-FM for emacs-orgmode@gnu.org; Fri, 04 May 2018 01:38:50 -0400 Received: from stella.c0t0d0s0.de ([89.204.155.178]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MNdxu-1fG7KO28T4-007C4M for ; Fri, 04 May 2018 07:38:47 +0200 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 5BEA3C431B for ; Fri, 4 May 2018 07:38:43 +0200 (CEST) In-Reply-To: <871sesbyno.fsf@gnu.org> (Bastien's message of "Thu, 03 May 2018 16:29:31 +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" To: emacs-orgmode@gnu.org Hello, Bastien writes: > Dear Arne, > > there was a temporary glitch in earlier version of Org about this, > please upgrade Org to 9.1.12 through the package system and let us > know if you still have this issue. oh, i thought that is a feature of some kind. Let me upgrade... Hm, the feature|issue still exist in 9.1.12. The issue occurs if the capture buffer isn't finished with a newline. My workaround: ;; ;; Since some time Org does not prepend a \n after inserting ;; a capture template. We fix this ;). ;; (defun hmw/org-insert-newline-after-template () (goto-char (point-max)) (if (not (re-search-backward "\\(^$\\)" (point-at-bol) t)) (progn (goto-char (point-max)) (insert "\n")))) (setq org-capture-prepare-finalize-hook 'hmw/org-insert-newline-after-template) Regards hmw