all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* table
@ 2008-03-18 22:01 harven
  2008-03-19 17:33 ` table Joel J. Adamson
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: harven @ 2008-03-18 22:01 UTC (permalink / raw)
  To: help-gnu-emacs


 I am trying to build a text-based table under emacs 22.1 stable. I
want to change the characters used to draw the borders of the table.

From the emacs manual, I have to set a few
variables:
(setq table-cell-intersection-char ?\u2504B)
(table-cell-vertical-char ?\u2503)
(setq table-cell-horizontal-chars ?\u2501)

Everything is fine for the two first variables, but
it doesn' t work for the last.
I had a look at the table.el file. There is only
one place where table-cell-horizontal-char
is mentioned, at the very beginning. The variable
used thereafter is table-cell-intersection-chars
and contains a string instead of a character.

(setq table-cell-horizontal-chars "\u2501")
finally worked for me but I am still wondering
what's going on there. Any hint ?

By the way, the table-capture command
uses a weird way of handling defaults
settings:

Column delimiter regexp : default-value

The default value is entered at the prompt.
This makes pretty difficult to put table-capture
in a macro. Each time the macro is executed,
the default-value is added again:

Column delimiter regexp : default-value default-value default-
value ...

IMHO it would have been better if the defaults
have been implemented using syntax like
Column-delimiter-regexp (default : default-value) :






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

end of thread, other threads:[~2008-03-21 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 22:01 table harven
2008-03-19 17:33 ` table Joel J. Adamson
     [not found] ` <mailman.9205.1205948019.18990.help-gnu-emacs@gnu.org>
2008-03-20 23:24   ` table Peter Tury
2008-03-21 13:40     ` table Bastien
2008-03-21  2:35 ` table Kevin Rodgers
     [not found] ` <mailman.9286.1206066949.18990.help-gnu-emacs@gnu.org>
2008-03-21 10:18   ` table harven

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.