emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William McCoy <wdm8588@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Easy Templates
Date: Sat, 8 Jul 2017 17:32:59 -0400	[thread overview]
Message-ID: <338e510a-4045-3b84-8349-8d77d9156a24@gmail.com> (raw)
In-Reply-To: <848tjyljgx.fsf@tm6592>

Marco,

Thanks very much!  Now it is clear to me.  I didn't see or understand 
that the `<<>' was a literal `<'.  So that actually makes sense to me now.

Bill

On 07/08/2017 05:14 PM, Marco Wahl wrote:
> Hi!
> 
>> I am fairly new to orgmode and I have just begun trying to use source
>> code blocks.  I have a simple question that is not made clear in the
>> Orgmode Manual.
>>
>> The manual states that to insert an Easy Template for a source code
>> block, use:
>>
>>
>> `<<>' `<s>' `<TAB>'
>>
>>
>> and then
>>
>>
>> `<' `l' `<TAB>'
>>
>>
>> to label it for LaTeX.  But I cannot find anywhere in the manual where
>> the `<<>' is explained.  The section on typographical conventions says
>> nothing about this.
> 
> IMHO you found an inconsistency in the documentation.  `<<>' looks like
> a weird doubled quoting to me.
> 
>> Can someone tell exactly what to type to insert a template for, say,
>> LaTeX or emacs-lisp?
> 
> To get a source block template for emacs-lisp easily you could type the
> three keys `<' `s' `<TAB>' and then type literally "emacs-lisp".
> 
> 
> HTH,
>      Marco
>      
> 
> 

      reply	other threads:[~2017-07-08 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-08 20:02 Easy Templates William McCoy
2017-07-08 21:14 ` Marco Wahl
2017-07-08 21:32   ` William McCoy [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=338e510a-4045-3b84-8349-8d77d9156a24@gmail.com \
    --to=wdm8588@gmail.com \
    --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).