emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-tempo question
Date: Thu, 24 Sep 2020 12:54:54 -0400	[thread overview]
Message-ID: <87o8lvxggx.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: <20200924133052.ooqvgnnjqy7v3xt7@localhost.localdomain>

I can't say anything about indentation (I encounter problems that I
have not reported because of lack of time to investigate combined with
laziness - but I suspect they are, partly at least, of my own making).

But when I do `<e TAB' inside a block, I get a properly quoted (though
badly indented) example block, with commas before the #+begin and the
#+end_example lines - OTOH, `<e TAB' outside a block gives me a
no-indent example block even if I have spaces before the `<e' - if I
have printable charactes before the `<e', it does not get expanded:


--8<---------------cut here---------------start------------->8---
#+NAME: third
#+begin_src org

    - an item
      - subitem

      ,#+begin_example

  ,#+end_example

#+end_src

#+begin_example

#+end_example


--8<---------------cut here---------------end--------------->8---

The commas are important: are you not getting them?

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler



  reply	other threads:[~2020-09-24 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 13:30 Bruno BEAUFILS
2020-09-24 16:54 ` Nick Dokos [this message]
2020-09-24 18:18   ` Jeremie Juste
2020-09-24 17:17 ` Jeremie Juste

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=87o8lvxggx.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-tempo question' \
    /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

Code repositories for project(s) associated with this 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).