From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: text color + highlight Date: Mon, 9 Aug 2010 08:28:40 +0200 Message-ID: References: <87pqxw5cb1.fsf@gnu.org> <87mxszcsuv.fsf@gmail.com> <87d3tvru38.fsf@gmail.com> <87iq3kkef1.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53344 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiMep-0001aQ-Cc for emacs-orgmode@gnu.org; Mon, 09 Aug 2010 03:20:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiMel-0005qU-SW for emacs-orgmode@gnu.org; Mon, 09 Aug 2010 03:20:27 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:48384) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiMel-0005qO-LG for emacs-orgmode@gnu.org; Mon, 09 Aug 2010 03:20:23 -0400 Received: by ewy28 with SMTP id 28so3669407ewy.0 for ; Mon, 09 Aug 2010 00:20:22 -0700 (PDT) In-Reply-To: <87iq3kkef1.fsf@gmail.com> 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: Eric Schulte Cc: Bastien , emacs-orgmode@gnu.org, Vinh Nguyen On Aug 8, 2010, at 11:00 PM, Eric Schulte wrote: > Vinh Nguyen writes: > >> On Fri, Aug 6, 2010 at 8:15 PM, Eric Schulte >> wrote: >>> In playing with the patched code I sent out, I noticed that it may >>> be >>> doing weird things to my headings (#+Title: etc...) in some Org-mode >>> files, so probably it could use some more tweaking before any merge, >>> also I'd not want to rush what could be a reasonably large change >>> into >>> Org-mode without more discussion, but I agree I'd ultimately like >>> to see >>> some form of this functionality appear in Org-mode. >>> >>> Best -- Eric >> >> Eric, so are you tweaking the code to give it a more org-like syntax? >> If not, I'll have to get dirty with your patch to figure out the lisp >> code. >> >> You're right the regular parentheses will probably be mixed up with >> lisp code. Sebastian also brought up that curly braces are hard to >> type on a German keyboard. Just googled up the layout -- don't even >> seen them. >> >> What syntax to use... > > I've thought briefly about the following syntax > > [color[red] text to be colored red] Nope, I am against this syntax. If we introduce a more general syntax, then it should be done in the way Samuel proposed. WHich means we firs get a keyword indtroducing the piece, and then properties. Like $[style :color red the red text] or $[face :color :italic t red the red text] Something like the $ before "[" also would seem critical to disambiguate from other uses of "[". However, I am not too excited about extra syntax to get this kind of thing. Would not oppose it, but probably never use it. - Carsten > > - this would be extensible, e.g. > > [background[yellow] highlighted text] > > could export to the following html > > highlighted text > > - this would avoid "{}"s > > - this would look more "org-like" than the pure latex solution > > the only issue with the above is that it may conflate a new /markup/ > syntax with org-mode's existing /link/ syntax. > > Thoughts? -- Eric > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten