From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Idea, configurable markup Date: Mon, 19 Sep 2011 12:47:51 -0600 Message-ID: <87ty88tlm0.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5isu-0006G8-OD for emacs-orgmode@gnu.org; Mon, 19 Sep 2011 14:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5isp-0006mB-9w for emacs-orgmode@gnu.org; Mon, 19 Sep 2011 14:48:04 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:51215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5isp-0006m7-6G for emacs-orgmode@gnu.org; Mon, 19 Sep 2011 14:47:59 -0400 Received: by yxi19 with SMTP id 19so5116180yxi.0 for ; Mon, 19 Sep 2011 11:47:58 -0700 (PDT) In-Reply-To: (Dov Grobgeld's message of "Mon, 19 Sep 2011 21:38:37 +0300") 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: Dov Grobgeld Cc: emacs-orgmode Dov Grobgeld writes: > I got the following idea regarding the use of markup characters in org-mo= de. > Currently it is possible to use *bold*, /italic/ and ~verbose~ and a few > other markups. I would have liked to have this extended as follows: > > - Allow the toggling of the display of the "formatting" characters, *,= ~, > /, etc. This is currently possible through customization of the `org-hide-emphasis-markers' variable >=20=20=20=20 > - Allow a system that allows the user to invent his own > formatting. E.g. =C2=ABvariable=C2=BB, =E2=8C=A9function=E2=8C=AA, $m= ath$, =E2=8C=9Estring=E2=8C=9F, or > whatever the user fancies. All these modes should be defined in an > org-mode variable and the display attributes should be > configurable, just like any other custom org-mode font. If the > user wants to expand beyond ASCII it should be up to him. - > Alternately, use a system like "variable" where the tag > var is user definable, just like the magic characters above. The > display of the tags should be toggable. Just like for > [file:foo.bar] where the [] character are hidden, should the tags > be hidden until someone erases one of the two delimiters. > Something similar to this is possible using custom link types. See the info page for more information. (info "(org)Adding hyperlink types") Examples that have been discussed on the mailing list include using link types to control the color of words (both for inline display and export). A search in the mailing list archives should turn up more specifics. Best -- Eric > > Note that this is nothing more than ideas at the moment, and I'll probably > never get around to implement any of it. Still I thought I'd share it if > someone would like to have a go. > > Regards, > Dov --=20 Eric Schulte http://cs.unm.edu/~eschulte/