From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Nikishkin Subject: Re: Question mark not supported in structured templates? Date: Tue, 29 Oct 2019 16:59:42 +0800 Message-ID: References: <87a79k6jum.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44749) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNM5-000371-MD for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 04:59:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPNM4-0005yX-LN for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 04:59:57 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:38292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPNM4-0005xs-Ez for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 04:59:56 -0400 Received: by mail-ed1-x536.google.com with SMTP id y8so10114900edu.5 for ; Tue, 29 Oct 2019 01:59:56 -0700 (PDT) In-Reply-To: <87a79k6jum.fsf@ucl.ac.uk> 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" Cc: "emacs-orgmode@gnu.org" In the version 8 of org-mode you could indicate where to put the point after the template is expanded. In the template (list "p" "#begin_src plantuml :file ? :export both \n#end_src"), after the template is expanded, the point would be located after :file, whereas in the template (list "SO" "#begin_src scheme :export both \n?\n#end_src") the point would be located on the frist line after the header. At the moment, `org-insert-structure-template' just inserts the question mark verbatim. I would consider this a regression, but maybe there is some replacement mechanism? =D0=B2=D1=82, 29 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 16:23, Fraga, Eric= : > > On Tuesday, 29 Oct 2019 at 15:57, Vladimir Nikishkin wrote: > > The problem is that for ob-plantuml I need the value of point be right > > after the :file header parameter, because plantuml always requires a > > file name. > > I don't see this in my configuration. But it could be that I do not > understand what you are saying. Maybe explain a bit further and/or give > a small example? > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78 --=20 Yours sincerely, Vladimir Nikishkin