From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: function for inserting a block Date: Wed, 15 Nov 2017 08:24:46 -0800 Message-ID: <87o9o37bn5.fsf@ericabrahamsen.net> References: <877exghblx.fsf@ericabrahamsen.net> <87k1zp4rxj.fsf@ericabrahamsen.net> <871slx4j6p.fsf@ericabrahamsen.net> <87376btslq.fsf@nicolasgoaziou.fr> <87vaj7oyxb.fsf@ericabrahamsen.net> <871sl9ow44.fsf@gnu.org> <87fu9pgfkj.fsf@nicolasgoaziou.fr> <87375ouanr.fsf@gmx.us> <871sl8e76c.fsf@nicolasgoaziou.fr> <87y3nfse6m.fsf@gmx.us> <87tvy3sa7m.fsf@gmx.us> <87bmkbflbc.fsf@ericabrahamsen.net> <87po8qscmq.fsf@gmx.us> <87mv3um4c7.fsf@ericabrahamsen.net> <87mv3osftj.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF0WS-0001WJ-Jy for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 11:26:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF0WN-0006ws-Lu for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 11:26:44 -0500 Received: from mail.ericabrahamsen.net ([50.56.99.223]:58520) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eF0WN-0006pi-HE for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 11:26:39 -0500 In-Reply-To: (numbchild@gmail.com's message of "Wed, 15 Nov 2017 21:13:40 +0800") 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: "numbchild@gmail.com" Cc: Org-mode "numbchild@gmail.com" writes: > I think the function `org-insert-structure-template' also should respect the `org-babel-uppercase-example-markers'. > Besides, your new diff does not have a condition on `org-babel-uppercase-example-markers', you just use `upcase-initials` by default. Then the new `tempo` snippets > will be uppercase, but the `org-insert-structure-template` inserted templates will be different. I'm not entirely understanding you here -- it is `org-insert-structure-template' that respects `org-babel-uppercase-example-markers', not the tempo snippet (which was an omission). And none of the code is using `upcase-initials'. As far as I can see, the bug is that EXAMPLE is uppercased but the "begin" and "end" aren't, and also that the tempo snippet doesn't capitalize at all...