emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Xin Shi <shixin111@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: TAB not working on example line : ?
Date: Sun, 05 Jun 2011 17:46:03 +0200	[thread overview]
Message-ID: <87vcwkp9hg.fsf@gmail.com> (raw)
In-Reply-To: <BANLkTi=EjdO0RVADcwwUs4dNZiaiFDGLEg@mail.gmail.com> (Xin Shi's message of "Sun, 5 Jun 2011 11:01:53 -0400")

Hello,

Xin Shi <shixin111@gmail.com> writes:

> I'm using orgmode 7.5 on Emacs 23.3. The TAB key used to work on version
> 7.3, where a line like the following:
>
> * Section One
>
>   The text
>
>          : this is the example line   <------ If I use TAB here, this line
> will be aligned to "The text" in the above line.
>
> However, in the 7.5, it's no longer working this way.

According to the manual (11.3 Literal examples) :

    For simplicity when using small examples, you can also start the
    example lines with a colon followed by a space. There may also be
    additional whitespace before the colon
    
This means indent function shouldn't remove the spaces you inserted at
the beginning of the line. I guess it allows examples to stand out this
way.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2011-06-05 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05 15:01 TAB not working on example line : ? Xin Shi
2011-06-05 15:46 ` Nicolas Goaziou [this message]
2011-06-05 15:54   ` Xin Shi

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=87vcwkp9hg.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=shixin111@gmail.com \
    /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).