2015-10-13 22:52 GMT+02:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
Fabrice Popineau <fabrice.popineau@gmail.com> writes:

> This time , I'm the one who is puzzled:
> what is the point in naming the link "foo" and getting sec:orgheadline1
> instead? :-)
>
> If you add :BEAMER_OPT: label=foo
> to the properties of the first frame, then you get the foo label.
> But that doesn't seem very obvious to me. Why not taking directly the
> CUSTOM_ID label ?

Because CUSTOM_ID's value may contain forbidden characters in LaTeX,
e.g., "%".

Oh ... thanks for this explanation. Speaking for myself, I would have prefered to 
take the risk to use forbidden characters in CUSTOM_ID.
 
See also `org-latex-prefer-user-labels', which is not
implemented in Beamer, since BEAMER_OPT can already force a value for
label.

This is a pity. Things would be more straightforward. 
 
Regards,

Fabrice