emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anthony Lander <anthonylander@yahoo.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: Re: struggling with simple indentation (possible bug)
Date: Tue, 26 Oct 2010 11:10:03 -0400	[thread overview]
Message-ID: <E8C8B310-7C7B-4083-9A73-DD37C9874B91@yahoo.com> (raw)
In-Reply-To: <87r5fdqkyh.wl%n.goaziou@gmail.com>

Hi Nicolas,

With regards to the discussion below, if I 'set org-list-ending-method  
to 'regex, it seems to get confused if there is a drawer between the  
headline and the first line of text, so pressing TAB with the cursor  
at the vertical bar in this example:

---->8-------
** Headline
:PROPERTIES:
:FOO: Bar
:END:
|
---->8-------

Does not indent to the position under the "H" in the headline. The TAB  
key silently does nothing. Same effect with the properties drawer  
folded. Is it possible to indent correctly, ignoring the drawer?

Thanks,

   -Anthony

On 10-Oct-26, at 6:58 AM, Nicolas Goaziou wrote:

> Hello,
>>>>>> Rainer Stengele writes:
>
>> Sometime I do save some an email body text under an org item.
>> Pasting the text under "item" leads to
>
>> * heading
>>  - item
>> E-Mail body text line1
>> E-Mail body text line2
>> ...
>
>> Now I cannot use C-j of course. How do I easily get
>
>> * heading
>>  - item
>>    E-Mail body text line1
>>    E-Mail body text line2
>>    ...
>
> There is no way for Org to guess what you have in mind here (and this
> is why I don't like that much the "indent" method in
> `org-list-ending-method').
>
> In your situation, I would use C-x r o with an adequate rectangle
> selection. After all, we are _also_ in Emacs.
>
> Regards,
>
> -- Nicolas
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

		

  parent reply	other threads:[~2010-10-26 15:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 12:35 struggling with simple indentation Rainer Stengele
2010-10-25 17:06 ` Nicolas Goaziou
2010-10-26  8:45   ` Rainer Stengele
2010-10-26  9:05     ` Nicolas Goaziou
2010-10-26  9:06     ` Nicolas Goaziou
2010-10-26 10:09       ` Rainer Stengele
2010-10-26 10:58         ` Nicolas Goaziou
2010-10-26 12:25           ` Carsten Dominik
2010-10-26 13:12             ` Nicolas Goaziou
2010-10-26 15:10           ` Anthony Lander [this message]
2010-10-26 21:43             ` [patch] " Nicolas Goaziou

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=E8C8B310-7C7B-4083-9A73-DD37C9874B91@yahoo.com \
    --to=anthonylander@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).