emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* automatically closing example?
@ 2011-05-24  8:08 Steinar Bang
  2011-05-24  8:16 ` Puneeth Chaganti
  0 siblings, 1 reply; 3+ messages in thread
From: Steinar Bang @ 2011-05-24  8:08 UTC (permalink / raw)
  To: emacs-orgmode

Is there a shortcut to quickly add an #+END_EXAMPLE at the same
indentation level as the #+BEGIN_EXAMPLE I have just typed?  I have
googled but not found.

I know that I can type C-j # + b M-TAB e M-TAB, but what I get then is
basically what I wanted after I had completed the BEGIN_EXAMPLE.

Ie. I never want an unbalanced BEGIN_EXAMPLE.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: automatically closing example?
  2011-05-24  8:08 automatically closing example? Steinar Bang
@ 2011-05-24  8:16 ` Puneeth Chaganti
  2011-05-24 16:07   ` Steinar Bang
  0 siblings, 1 reply; 3+ messages in thread
From: Puneeth Chaganti @ 2011-05-24  8:16 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

On Tue, May 24, 2011 at 1:38 PM, Steinar Bang <sb@dod.no> wrote:
> Is there a shortcut to quickly add an #+END_EXAMPLE at the same
> indentation level as the #+BEGIN_EXAMPLE I have just typed?  I have
> googled but not found.
>
> I know that I can type C-j # + b M-TAB e M-TAB, but what I get then is
> basically what I wanted after I had completed the BEGIN_EXAMPLE.
>
> Ie. I never want an unbalanced BEGIN_EXAMPLE.
>

<e TAB, will do that for you.

Look at http://orgmode.org/org.html#Easy-Templates

HTH,
Puneeth

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: automatically closing example?
  2011-05-24  8:16 ` Puneeth Chaganti
@ 2011-05-24 16:07   ` Steinar Bang
  0 siblings, 0 replies; 3+ messages in thread
From: Steinar Bang @ 2011-05-24 16:07 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Puneeth Chaganti <punchagan@gmail.com>:

> <e TAB, will do that for you.

> Look at http://orgmode.org/org.html#Easy-Templates

Cool!  Exactly what I was looking for.

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-24 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24  8:08 automatically closing example? Steinar Bang
2011-05-24  8:16 ` Puneeth Chaganti
2011-05-24 16:07   ` Steinar Bang

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).