emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* TAB not working on example line : ?
@ 2011-06-05 15:01 Xin Shi
  2011-06-05 15:46 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Xin Shi @ 2011-06-05 15:01 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello Experts,

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.

Any suggestions or explanations?

Thanks!

Xin

[-- Attachment #2: Type: text/html, Size: 618 bytes --]

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

* Re: TAB not working on example line : ?
  2011-06-05 15:01 TAB not working on example line : ? Xin Shi
@ 2011-06-05 15:46 ` Nicolas Goaziou
  2011-06-05 15:54   ` Xin Shi
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2011-06-05 15:46 UTC (permalink / raw)
  To: Xin Shi; +Cc: emacs-orgmode

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

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

* Re: TAB not working on example line : ?
  2011-06-05 15:46 ` Nicolas Goaziou
@ 2011-06-05 15:54   ` Xin Shi
  0 siblings, 0 replies; 3+ messages in thread
From: Xin Shi @ 2011-06-05 15:54 UTC (permalink / raw)
  To: emacs-orgmode

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

Thank you Nicolas!

Xin


On Sun, Jun 5, 2011 at 11:46 AM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:

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

[-- Attachment #2: Type: text/html, Size: 1475 bytes --]

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

end of thread, other threads:[~2011-06-05 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 15:01 TAB not working on example line : ? Xin Shi
2011-06-05 15:46 ` Nicolas Goaziou
2011-06-05 15:54   ` Xin Shi

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