From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: org-babel-capitalize-example-region-markers Date: Tue, 24 Jan 2017 22:25:04 -0500 Message-ID: <87r33rn81o.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWECw-0005mq-Iw for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 22:25:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWECt-0000hv-GT for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 22:25:14 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:54242 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWECt-0000hF-8z for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 22:25:11 -0500 In-Reply-To: (Vicente Vera's message of "Wed, 25 Jan 2017 02:17:11 +0000") 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: Vicente Vera Cc: emacs-orgmode Vicente Vera writes: > Hello. > > Just noticed that example block headings wrapping code evaluation > results appear downcased (arrows added): > > #+RESULTS: > > #+begin_example <=3D > ... some result... > #+end_example <=3D > > In ob-core.el, line 2438 there's a "hidden" variable that controls > wether the headings appear upcased: > =E2=80=98org-babel-capitalize-example-region-markers=E2=80=99. Setting it= to non-nil > seems to solve the "problem". > > Shouldn't this variable be public through the customize interface? Yes, I think it should be. And it would be consistent with org-babel-results-keyword being a defcustom. I don't see a reason for making it a defvar given in f64a859db (force cap of auto-inserted begin/end example block, 2012-05-21), the commit that introduced the variable [1], or in the post [2] that resulted in the addition. > Also, it seems "capitalize" is the wrong verb here? Something with "upcase" or "uppercase" would have been better given the behavior of upcase and capitalize. [1] Originally named org-babel-capitalize-examplize-region-markers [2] https://lists.gnu.org/archive/html/emacs-orgmode/2012-05/msg00607.html --=20 Kyle