emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Weylandt <michael.weylandt@gmail.com>
To: Sharon Kimble <boudiccas@talktalk.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Converting to a useful table in org-mode?
Date: Tue, 18 Mar 2014 21:59:51 -0400	[thread overview]
Message-ID: <FD869C4B-C073-4C0B-A96F-1D816085FA1B@gmail.com> (raw)
In-Reply-To: <20140319003901.2c59956d@london>



On Mar 18, 2014, at 20:39, Sharon Kimble <boudiccas@talktalk.net> wrote:

> I have this list of books that I've read on my kindle which I now want
> to store for posterity in org-mode. 

(OT thus sounds more like tasks/checklists to me)

> 
> 24-11-13 - Andrew Lane - young sherlock Holmes, fire storm 
> 3-12-13 - Richmal Compton - just Williams New years day 
> 9-12-13 - richmal compton - still william 
> 11-1-14 - Pc wren - beau geste 
> 18-1-14 - Andrew Lane - young sherlock Holmes, the red leech 
> 26-1-14 - Ian Fleming - casino royale 
> 24-02-14 - Cory doctorow - little brother 
> 
> How can I create a table of them please? 
> 
> I've tried highlighting them and then converting the region, but with a bit of elbow-grease and
> deletions I get this -
> 
> | 24-11-13 | Andrew   Lane     | young   sherlock  Holmes,  fire   storm        |
> |  3-12-13 | Richmal  Compton  | just    Williams  New      years  day          |
> |  9-12-13 | richmal  compton  | still   william                                |
> |  11-1-14 | Pc       wren     | beau    geste                                  |
> |  18-1-14 | Andrew   Lane     | young   sherlock  Holmes,  the    red    leech |
> |  26-1-14 | Ian      Fleming  | casino  royale                                 |
> | 24-02-14 | Cory     doctorow | little  brother                                |

That looks like a table -- assuming the leftmost pipe is the first character in each row, org should recognize it as a table. For me, the most obvious sign involves turning it purple but I'm not sure if that's set by my color theme or not. 

If it's a table, just put point anywhere inside it and hit TAB and it should auto align (left justified by default)

If that's not working, please send a copy of the file in question and details of your setup, including but not limited to the output of `M-x org-version` and everything in your .emacs with an "org" in it.

Hope that helps,
Michael



> 
> which looks stilted and unnatural! How can I close the gaps in the
> cells please and get it all left-aligned? I've tried tabbing in the
> cell and that didn't work, and neither did 'C-c C-c'.
> 
> Thanks
> Sharon.
> -- 
> A taste of linux = http://www.sharons.org.uk
> my git repo = https://bitbucket.org/boudiccas/dots
> Debian testing, Fluxbox 1.3.5, emacs 24.3.1
> Registered Linux user 561944

  reply	other threads:[~2014-03-19  2:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19  0:39 Converting to a useful table in org-mode? Sharon Kimble
2014-03-19  1:59 ` Michael Weylandt [this message]
2014-03-19  2:44 ` Nick Dokos

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=FD869C4B-C073-4C0B-A96F-1D816085FA1B@gmail.com \
    --to=michael.weylandt@gmail.com \
    --cc=boudiccas@talktalk.net \
    --cc=emacs-orgmode@gnu.org \
    /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).