From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: table Date: Tue, 18 Mar 2008 15:01:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3400920d-00cc-4e8b-bde6-8c48587f05cf@s12g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205893827 32717 80.91.229.12 (19 Mar 2008 02:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 02:30:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 03:30:57 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jbo4u-0007qW-JR for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 03:30:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jbo4K-0007pl-Kt for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 22:30:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s12g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: posting.google.com 1205877665 21826 127.0.0.1 (18 Mar 2008 22:01:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 18 Mar 2008 22:01:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s12g2000prg.googlegroups.com; posting-host=82.240.200.149; posting-account=hanW0AoAAADuR-PIr5jGeb298Y3jGR7p User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157136 X-Mailman-Approved-At: Tue, 18 Mar 2008 22:29:29 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52519 Archived-At: 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) :