From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?b?QW5kcsOhcw==?= Major Subject: Re: Bug: named columns in tables not working if name contains Date: Tue, 23 Aug 2011 13:58:16 +0000 (UTC) Message-ID: References: <12806.1314107627@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvrUs-0004zY-60 for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 09:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvrUr-0006Tu-46 for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 09:58:30 -0400 Received: from lo.gmane.org ([80.91.229.12]:60316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvrUq-0006To-QK for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 09:58:29 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QvrUp-0003SS-OV for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 15:58:27 +0200 Received: from dslb-092-074-177-167.pools.arcor-ip.net ([92.74.177.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2011 15:58:27 +0200 Received: from andras.g.major by dslb-092-074-177-167.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2011 15:58:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > Try adding an underscore to the regexp on line 2179 of org-table.el - > something like this (untested): > > ... > (if (string-match "^[a-zA-Z][a-zA-Z0-9_]*$" name) > (push (cons name (int-to-string cnt)) org-table-column-names)))) > > The only characters permitted are alphanumerics. That can probably be > easily relaxed. Thanks Nick. It would be nice if the documentation reflected such an arbitrary choice of characters you can use... AndrĂ¡s