Morten Høgholm <[log in to unmask]> writes:

> I would assume the following should be equivalent except for the
> latter being expandable.
>
> \def\cmd#1{\edef\tempa{#1}\expandafter\cmd\expandafter{\tempa}}
>
> \def\cmd#1{\expandafter\cmd\expandafter{\expanded{#1}}}

No.  The former would complain about isolated # tokens in #1 (and
collapse double ones).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum