unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* change the table view in Emacs
@ 2011-06-09  6:43 Ivanov Dmitry
  2011-06-10  7:10 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ivanov Dmitry @ 2011-06-09  6:43 UTC (permalink / raw)
  To: help-gnu-emacs

When I run a command table-insert it creates the table like this:

+-----+-----+-----+
|  |   |  |
+-----+-----+-----+
|  |   |  |
+-----+-----+-----+
|  |   |  |
+-----+-----+-----+

How can I make it look like this?

+-----+-----+-----+
|     |     |     |
+-----+-----+-----+
|     |     |     |
+-----+-----+-----+
|     |     |     |
+-----+-----+-----+


In fact, when I copy/pasted it from Emacs to my email program, it became correct.




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

* Re: change the table view in Emacs
  2011-06-09  6:43 change the table view in Emacs Ivanov Dmitry
@ 2011-06-10  7:10 ` Peter Dyballa
  2011-06-10 23:04 ` Bastien
  2011-06-13  9:58 ` Ian Barton
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2011-06-10  7:10 UTC (permalink / raw)
  To: Ivanov Dmitry; +Cc: help-gnu-emacs


Am 09.06.2011 um 08:43 schrieb Ivanov Dmitry:

> In fact, when I copy/pasted it from Emacs to my email program, it  
> became correct.


Use monospaced instead of proportional fonts!

--
Greetings

   Pete

UNIX is user friendly, it's just picky about who its friends are.




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

* Re: change the table view in Emacs
  2011-06-09  6:43 change the table view in Emacs Ivanov Dmitry
  2011-06-10  7:10 ` Peter Dyballa
@ 2011-06-10 23:04 ` Bastien
  2011-06-13  9:58 ` Ian Barton
  2 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2011-06-10 23:04 UTC (permalink / raw)
  To: Ivanov Dmitry; +Cc: help-gnu-emacs

Hi Ivanov,

Ivanov Dmitry <usr345@gmail.com> writes:

> When I run a command table-insert it creates the table like this:
>
> +-----+-----+-----+
> |  |   |  |
> +-----+-----+-----+
> |  |   |  |
> +-----+-----+-----+
> |  |   |  |
> +-----+-----+-----+
>
> How can I make it look like this?
>
> +-----+-----+-----+
> |     |     |     |
> +-----+-----+-----+
> |     |     |     |
> +-----+-----+-----+
> |     |     |     |
> +-----+-----+-----+
>
>
> In fact, when I copy/pasted it from Emacs to my email program, it
> became correct.

Not a direct answer to your problem, but you should perhaps try org-mode
and orgtbl-mode, it allows you to reformat tables on the fly.

HTH,

-- 
 Bastien



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

* Re: change the table view in Emacs
  2011-06-09  6:43 change the table view in Emacs Ivanov Dmitry
  2011-06-10  7:10 ` Peter Dyballa
  2011-06-10 23:04 ` Bastien
@ 2011-06-13  9:58 ` Ian Barton
  2 siblings, 0 replies; 4+ messages in thread
From: Ian Barton @ 2011-06-13  9:58 UTC (permalink / raw)
  To: help-gnu-emacs


> When I run a command table-insert it creates the table like this:
>
> +-----+-----+-----+
> |  |   |  |
> +-----+-----+-----+
> |  |   |  |
> +-----+-----+-----+
> |  |   |  |
> +-----+-----+-----+
>
> How can I make it look like this?
>
> +-----+-----+-----+
> |     |     |     |
> +-----+-----+-----+
> |     |     |     |
> +-----+-----+-----+
> |     |     |     |
> +-----+-----+-----+
>
>
> In fact, when I copy/pasted it from Emacs to my email program, it became correct.
>
>

Just place the point inside the table and press Tab. Note I only use 
tables in org-mode, but I think this is standard Emacs behaviour.

Ian.



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

end of thread, other threads:[~2011-06-13  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09  6:43 change the table view in Emacs Ivanov Dmitry
2011-06-10  7:10 ` Peter Dyballa
2011-06-10 23:04 ` Bastien
2011-06-13  9:58 ` Ian Barton

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