emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Samuel Wales <samologist@gmail.com>
Cc: William Crandall <bc3141592@gmail.com>,
	emacs-orgmode@gnu.org, Nicolas Goaziou <n.goaziou@gmail.com>,
	Jambunathan K <kjambunathan@gmail.com>
Subject: Re: New Link Syntax: Adding ATTRIBUTES
Date: Tue, 19 Jun 2012 10:11:55 -1000	[thread overview]
Message-ID: <m1ipenqcxg.fsf@tsdye.com> (raw)
In-Reply-To: <CAJcAo8s44OiW9D6XeEcNaJHYt7Ws_q+aqiK5r9idMmL3eN5D3g@mail.gmail.com> (Samuel Wales's message of "Mon, 18 Jun 2012 19:29:45 -0700")

Samuel Wales <samologist@gmail.com> writes:

> Hmm, maybe something like this:
>
>   $[link "http://mysite.example" :label "Example" :html-attr "..."
> :latex-attr "..."]
>
> Code that adds functionality or safety to this syntax (including all
> future code) will also apply to other features than links.  For a new
> feature, replace the first element with id, fancy-date, or whatever
> idea you have.  It might even be possible to open it up to the user in
> a safe and convenient way.
>
> Samuel
Neat idea.  IIUC, a read macro and something like funcall would do a lot
of the work.

I'd like to see something like this, so the Org-mode buffer could
reflect the underlying, possibly user-extended, semantics:

  $[link "http://mysite.example" :label "Example" :html-attr "..."
 :latex-attr "..." :org-attr "..."]

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2012-06-19 20:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15  0:53 New Link Syntax: Adding ATTRIBUTES (Was: org-e-html: Including ATTR_HTML) William Crandall
2012-06-15  4:14 ` New Link Syntax: Adding ATTRIBUTES Thomas S. Dye
2012-06-19  2:29   ` Samuel Wales
2012-06-19 20:11     ` Thomas S. Dye [this message]
2012-06-15 15:15 ` New Link Syntax: Adding ATTRIBUTES (Was: org-e-html: Including ATTR_HTML) Avdi Grimm
2012-06-19  1:47   ` William Crandall

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=m1ipenqcxg.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=bc3141592@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=n.goaziou@gmail.com \
    --cc=samologist@gmail.com \
    /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).