From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Moynihan Subject: Re: org-mode CSS property export bug Date: Fri, 23 Apr 2010 11:01:05 +0100 Message-ID: References: <87y6gf5g6x.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5FhZ-0006V5-88 for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:01:37 -0400 Received: from [140.186.70.92] (port=50312 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5FhX-0006Ux-0G for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:01:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5FhR-0005iq-HO for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:01:34 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:38813) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5FhR-0005ih-Bf for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:01:29 -0400 Received: by wyf19 with SMTP id 19so466217wyf.0 for ; Fri, 23 Apr 2010 03:01:28 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org On 23 April 2010 07:30, Carsten Dominik wrote: > > We could change . to _ , but that would break old links, so I am hesitating. > But of course if this really violates standards, we can change it. > > Sebastian has the last word on these issues. Unfortunately it seems that underscores, though no-longer invalid are not without their problems either, at least according to Eric Meyer (author of a number of CSS books): http://devedge-temp.mozilla.org/viewsource/2001/css-underscores/ Though this page is old, and the browsers listed are largely deprecated... I don't know what modern browser support is like for underscores... I'm guessing it's pretty good and the point is largely moot. As far as I can see there are three options. 1) Use underscores (against the above advice) (practically probably not a huge issue) e.g. outline-container-1_1 2) Overload the use of hyphens to be for both spaces and .'s... e.g outline-container-1-1 3) Stop using hyphens for spaces and switch to camel case convention, freeing hyphens to be substitutes for .'s e.g. outlineContainer1-1. This option seems like the best design, though it completely blows backwards compatability away so is probably a non-starter. Leaving us with 1) or 2). Personally I think *if* underscores aren't a problem for modern browsers, ie8, firefox 3.5+, recent opera's safari and chrome we use them. R.