emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* format of the ID property in the new HTML exporter
@ 2013-02-09 16:51 Daniel Clemente
  2013-02-12  5:40 ` Jambunathan K
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Clemente @ 2013-02-09 16:51 UTC (permalink / raw)
  To: emacs-orgmode


Hi,
  in ox-html.el there's a line with an assert (the only one):

	   (assert (org-uuidgen-p path))


1.  I have some IDs like "o5y98600aze0" which don't conform to that uuidgen format; they were created by early versions of org. Should only UUIDs be accepted as ID?
2.  I think the ID should be editable by hand to what you like, as long as they are unique. If you don't need to export it you don't need a CUSTOM_ID, and having both ID and CUSTOM_ID is not the simplest way.

  So I think that assert is too strict. My short IDs seem as good as the long UUIDs.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: format of the ID property in the new HTML exporter
  2013-02-09 16:51 format of the ID property in the new HTML exporter Daniel Clemente
@ 2013-02-12  5:40 ` Jambunathan K
  2013-02-12 15:35   ` Florian Beck
  0 siblings, 1 reply; 4+ messages in thread
From: Jambunathan K @ 2013-02-12  5:40 UTC (permalink / raw)
  To: Daniel Clemente; +Cc: emacs-orgmode

Daniel Clemente <n142857@gmail.com> writes:

> Hi,
>   in ox-html.el there's a line with an assert (the only one):
>
> 	   (assert (org-uuidgen-p path))
>
>
> 1.  I have some IDs like "o5y98600aze0" which don't conform to that uuidgen format; they were created by early versions of org. Should only UUIDs be accepted as ID?
> 2.  I think the ID should be editable by hand to what you like, as long as they are unique. If you don't need to export it you don't need a CUSTOM_ID, and having both ID and CUSTOM_ID is not the simplest way.
>
>   So I think that assert is too strict. My short IDs seem as good as the long UUIDs.

There is ID and then there is CUSTOM_ID.  IIUC/IIRC, ID is a uuid and
CUSTOM_ID can be whatever.

Any reason why you cannot use CUSTOM_IDs here?
-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: format of the ID property in the new HTML exporter
  2013-02-12  5:40 ` Jambunathan K
@ 2013-02-12 15:35   ` Florian Beck
  2013-02-13 15:38     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Beck @ 2013-02-12 15:35 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Jambunathan K <kjambunathan@gmail.com> writes:

> There is ID and then there is CUSTOM_ID.  IIUC/IIRC, ID is a uuid and
> CUSTOM_ID can be whatever.
>
> Any reason why you cannot use CUSTOM_IDs here?

Yes. Why do you need the assert? It only seems to be there to make my
life more difficult.
-- 
Florian Beck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: format of the ID property in the new HTML exporter
  2013-02-12 15:35   ` Florian Beck
@ 2013-02-13 15:38     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-02-13 15:38 UTC (permalink / raw)
  To: Florian Beck; +Cc: emacs-orgmode

Hi Florian,

Florian Beck <fb@miszellen.de> writes:

> Yes. Why do you need the assert? It only seems to be there to make my
> life more difficult.

I've remove the (assert ...) sexp, which was too strict, I agree.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-13 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-09 16:51 format of the ID property in the new HTML exporter Daniel Clemente
2013-02-12  5:40 ` Jambunathan K
2013-02-12 15:35   ` Florian Beck
2013-02-13 15:38     ` Bastien

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).