emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: emacs-orgmode@gnu.org
Subject: Re: Wring case when using org-insert-structure-template
Date: Thu, 9 Jul 2020 11:20:57 +0200	[thread overview]
Message-ID: <20200709092057.GE1320@tuxteam.de> (raw)
In-Reply-To: <b1e778c5-acbf-8a17-c9bf-dcb6693e9845@univ-st-etienne.fr>

[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]

On Wed, Jul 08, 2020 at 03:04:38PM +0200, Guillaume MULLER wrote:
> Hi,
> 
> Thanks for Org-mode. This is really THE software I needed! I LOVE everything about it! This is the only piece of software I know of that really designed by users for users, with users & efficiency in mind!
> 
> I'm using GNU Emacs 26.3, with built-in org 9.1.9.
> 
> When I try to automatically insert Structure Templates (e.g. by typing C-c C-, s), I get everything inserted in lowercase (e.g. #+begin_src).
> 
> In ALL the documentation pages I read, the snippets are written in uppercase (i.e. #+BEGIN_SRC, like in the main documentation for this feature: https://orgmode.org/org.html#Structure-Templates). I would myself prefer to have the templates inserted in uppercase, as it allows to clearly & visually differentiate between my main document text and the specific instructions for Org.
> 
> First question: why isn't the default as in the docs?

I think the default moved slowly to lower case. The docs
have stayed as-is. Guessing by the mailing lists, this does
confuse people from time to time.

> Second question: I couldn't find any configuration variable or function to change the default behaviour. Is there a way to do so?

See the (customizable) variable `org-structure-template-alist'.

Cheers
-- t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      parent reply	other threads:[~2020-07-09  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 13:04 Wring case when using org-insert-structure-template Guillaume MULLER
2020-07-09  8:55 ` Nicolas Goaziou
2020-07-10 16:42   ` Nick Dokos
2020-07-09  9:20 ` tomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200709092057.GE1320@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).