emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: SW <sabrewolfy@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tables in Plain Lists
Date: Wed, 16 May 2012 18:11:42 +0200	[thread overview]
Message-ID: <87liksjebl.fsf@gmail.com> (raw)
In-Reply-To: <loom.20120516T173637-252@post.gmane.org> (SW's message of "Wed, 16 May 2012 15:41:02 +0000 (UTC)")

Hello,

SW <sabrewolfy@gmail.com> writes:

> I was making notes today as follows:
>
> ==============================
>
> * List of important items [0%]
> - [ ] Item 1
>   - This is an important item.
>   - Remember to do the hokey-pokey.
>
> |---|---|
> | A | B |
> | C | D |
>
> - [ ] Item 2
>   - This is not as important.
>
> ==============================
>
> Of course, the plain list terminates when the table starts, so <TAB> on "Item 1"
> only collapses it to where the table starts.

> Also, the table can't be indented as part of the list.

It can: just move it in manually. Then it will stay there.

> In the end, I moved the table elsewhere, but for future reference, is
> there a preferred way to do this?

Yes:

--8<---------------cut here---------------start------------->8---
* List of important items [0%]
- [ ] Item 1
  - This is an important item.
  - Remember to do the hokey-pokey.
    
    |---+---|
    | A | B |
    | C | D |

- [ ] Item 2
  - This is not as important
--8<---------------cut here---------------end--------------->8---

Note that it will be easier if you don't start your table with a rule,
since expanding a fresh "|-" will create the table at column 0.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-05-16 16:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 15:41 Tables in Plain Lists SW
2012-05-16 16:11 ` Nicolas Goaziou [this message]
2012-05-16 17:48   ` SW
2012-05-16 16:14 ` Bernt Hansen
2012-05-16 16:40   ` Joost Kremers
2012-05-16 17:53     ` SW
2012-05-16 18:31       ` Nick Dokos
2012-05-16 19:13         ` SW
2012-05-16 19:32           ` Joost Kremers
2012-05-17 10:24             ` Gregor Zattler
2012-05-17 10:35               ` Joost Kremers
2012-05-17 11:42               ` Achim Gratz
2012-05-17 12:06                 ` Gregor Zattler
2012-05-17 12:26                   ` Achim Gratz
2012-05-17 12:56                     ` how to install org from git repo / org-version problem (was: Re: Tables in Plain Lists) Gregor Zattler
2012-05-17 14:47                       ` how to install org from git repo / org-version problem Achim Gratz
2012-05-18 14:10                         ` Gregor Zattler
2012-05-18 15:56                           ` Achim Gratz
2012-05-18  6:39                     ` Tables in Plain Lists Bastien
2012-05-16 17:46   ` SW

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