emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Dov Grobgeld <dov.grobgeld@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Idea, configurable markup
Date: Mon, 19 Sep 2011 12:47:51 -0600	[thread overview]
Message-ID: <87ty88tlm0.fsf@gmail.com> (raw)
In-Reply-To: <CA++fsGEE+aRLGCvT=bDvXjVEESm3R2+XWxVqnrqBbPY9=TbEaw@mail.gmail.com> (Dov Grobgeld's message of "Mon, 19 Sep 2011 21:38:37 +0300")

Dov Grobgeld <dov.grobgeld@gmail.com> writes:

> I got the following idea regarding the use of markup characters in org-mode.
> 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

>    
>    - Allow a system that allows the user to invent his own
>    formatting. E.g.  «variable», 〈function〉, $math$, ⌞string⌟, 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 "<var>variable</var>" 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

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2011-09-19 18:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 18:38 Idea, configurable markup Dov Grobgeld
2011-09-19 18:47 ` Eric Schulte [this message]
2011-09-19 19:12 ` Sebastien Vauban
2011-09-20 15:04   ` Darlan Cavalcante Moreira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ty88tlm0.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).