emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Spike Spiegel <fsmlab@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Indentation problem
Date: Wed, 27 May 2009 09:51:39 -0400	[thread overview]
Message-ID: <87skiqhcwk.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <ab777dfe0905270506n6674c94racb695ee505fbb66@mail.gmail.com> (Spike Spiegel's message of "Wed\, 27 May 2009 20\:06\:45 +0800")

Spike Spiegel <fsmlab@gmail.com> writes:

> Assume I've just added a new task and scheduled it so it looks like this:
>
> * TODO Some text
>   SCHEDULED: <2009-05-27 Wed>
>   [2009-05-21 Thu]
>
> Now I wanna add some text so I'll go after the date and hit enter,
> which puts my cursor at the beginning of the line and not indented
> under TODO like the other two lines. furthermore if I press TAB it
> won't align to one space, but instead indent 4 spaces. Is this the
> expected behavior and how it should work? of course in a similar
> fashion if I just paste a bunch of text the problem is the same and
> the indentation is not respected (and same if I have fill mode turned
> on and the text is wrapped). Especially for second level todos this is
> a major annoyance for me, am I missing some obvious settings?
>
> I'm running 6.27a.

I'm using 6.27a on Linux and it works fine for me.

,----
| * TODO Some text
|   SCHEDULED: <2009-05-27 Wed>
|   [2009-05-27 Wed]
| * Some other text
`----

Putting the cursor after the ] of 'Wed]' and hitting RET and then TAB
works fine for me.  I get this:

,----
| * TODO Some text
|   SCHEDULED: <2009-05-27 Wed>
|   [2009-05-27 Wed]
|   |<-- cursor here
| * Some other text
`----

Is your TAB key bound to the correct function?  (C-h k TAB) gives me
 - <tab> runs the command yas/expand
   in my regular setup and
 - <tab> runs the command org-cycle
   in my minimal emacs setup

Both work the same for me.

-Bernt

  reply	other threads:[~2009-05-27 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27 12:06 Indentation problem Spike Spiegel
2009-05-27 13:51 ` Bernt Hansen [this message]
2009-05-27 17:05   ` Spike Spiegel
2009-05-27 17:15     ` Bernt Hansen
  -- strict thread matches above, loose matches on Subject: below --
2009-09-16  9:48 indentation problem Rainer Stengele
2009-09-18 13:10 ` Carsten Dominik

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=87skiqhcwk.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=fsmlab@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).