From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: #+LaTeX_CLASS regex too restrictive? Date: Sat, 29 Oct 2011 12:34:25 -0400 Message-ID: <32194.1319906065@alphaville.dokosmarshall.org> References: <877h3om4eq.wl%richard.lewis@gold.ac.uk> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKBra-0002zS-Cb for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 12:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKBrZ-0003XI-8J for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 12:34:30 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:17172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKBrZ-0003X6-4x for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 12:34:29 -0400 In-Reply-To: Message from Richard Lewis of "Sat, 29 Oct 2011 12:19:09 BST." <877h3om4eq.wl%richard.lewis@gold.ac.uk> 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: Richard Lewis Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Richard Lewis wrote: > > The class name I'm using includes "/" characters. It seems to me that that's a bad idea: class names correspond to file names (without the .cls extension), so "/" characters will probably cause confusion (at least on Unix-based filesystems). So instead of extending org to recognize these names, I would recommend not using slashes in class names in the first place - or backslashes, or even punctuation characters: restricting oneself to alphanumerics seems like the safest bet. Nick