emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* word wrapping inside org table
       [not found] <1231940592318385.1056129401@mailgw2.iis.u-tokyo.ac.jp>
@ 2009-01-14 15:44 ` Yu Zhao
  2009-01-15 16:26   ` Matthew Lundin
  2009-01-15 16:30   ` Matthew Lundin
  0 siblings, 2 replies; 4+ messages in thread
From: Yu Zhao @ 2009-01-14 15:44 UTC (permalink / raw)
  To: emacs-orgmode

Hello everyone, 

Is it possible to do word wrapping inside org table as MS Word did? I know
that one table mode can do this. (http://www.emacswiki.org/emacs/TableMode)

Best wishes,
Yu Zhao

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

* Re: word wrapping inside org table
  2009-01-14 15:44 ` word wrapping inside org table Yu Zhao
@ 2009-01-15 16:26   ` Matthew Lundin
  2009-01-15 16:30   ` Matthew Lundin
  1 sibling, 0 replies; 4+ messages in thread
From: Matthew Lundin @ 2009-01-15 16:26 UTC (permalink / raw)
  To: Yu Zhao; +Cc: emacs-orgmode


Hi Yu,

"Yu Zhao" <zhaoyu@iis.u-tokyo.ac.jp> writes:

> Is it possible to do word wrapping inside org table as MS Word did? I know
> that one table mode can do this. (http://www.emacswiki.org/emacs/TableMode)
>

I don't believe you can do word wrapping within a single field and
still preserve the integrity of the field, since, as I understand it,
a field in org-tbl is limited to a single line.

But you can "wrap" a long field for the sake of appearance. For
instance if you have the following table:

,----
| 
| | table | this is a long field with a lot of text that stretches on and on |
|
`----

You can select the text in the second column as a region and type C-u
5 M-RET, which will reformat the text to fill five rows. (Change the
prefix argument to get more or fewer rows.)

,----
| 
| | table | this is a long |
| |       | field with a   |
| |       | lot of text    |
| |       | that stretches |
| |       | on and on      |
| 
`----

Your other option is to create narrow columns that hide the full text
in a column. See this page of the manual:

http://orgmode.org/manual/Narrow-columns.html#Narrow-columns

Best,
Matt

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

* Re: word wrapping inside org table
  2009-01-14 15:44 ` word wrapping inside org table Yu Zhao
  2009-01-15 16:26   ` Matthew Lundin
@ 2009-01-15 16:30   ` Matthew Lundin
  2009-01-17  8:00     ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Matthew Lundin @ 2009-01-15 16:30 UTC (permalink / raw)
  To: Yu Zhao; +Cc: emacs-orgmode


Hi everyone,

Regarding wrapping of columns in tables, I noticed that one of the
shortcuts listed in the manual[1] no longer works.

The manual says you can use either M-RET or C-c C-q to "wrap several
fields in a column".

The latter keybinding, however, takes you to the headline and
activates org-set-tags-command. 

Thanks,
Matt

------

Footnotes:

[1] http://orgmode.org/manual/Built_002din-table-editor.html#Built_002din-table-editor

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

* Re: word wrapping inside org table
  2009-01-15 16:30   ` Matthew Lundin
@ 2009-01-17  8:00     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-01-17  8:00 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode, Yu Zhao

Fixed, thanks.

- Carsten

On Jan 15, 2009, at 5:30 PM, Matthew Lundin wrote:

>
> Hi everyone,
>
> Regarding wrapping of columns in tables, I noticed that one of the
> shortcuts listed in the manual[1] no longer works.
>
> The manual says you can use either M-RET or C-c C-q to "wrap several
> fields in a column".
>
> The latter keybinding, however, takes you to the headline and
> activates org-set-tags-command.
>
> Thanks,
> Matt
>
> ------
>
> Footnotes:
>
> [1] http://orgmode.org/manual/Built_002din-table-editor.html#Built_002din-table-editor
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-01-17  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1231940592318385.1056129401@mailgw2.iis.u-tokyo.ac.jp>
2009-01-14 15:44 ` word wrapping inside org table Yu Zhao
2009-01-15 16:26   ` Matthew Lundin
2009-01-15 16:30   ` Matthew Lundin
2009-01-17  8:00     ` Carsten Dominik

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