Suppose $g=g(x,y)$ is a certain function and we need to find the new function $g_x(x^2y,y)$, say. How would one write this in Leibniz notation. Is it
$\cfrac{\partial g(x^2y,y)}{\partial x}$ or $\left.\cfrac{\partial g(t,y)}{dt}\right|_{t=x^2y}$ or $\cfrac{\partial g}{\partial x}(x^2y,y)$ or $\cfrac{\partial g(x^2y,y)}{\partial (x^2y,y)}$.
This first one seems a bit ambiguous for do we first form the new function $g(x^2y,y)$ or do the differentiation first (the results would be very different if $g(x,y)=x+y$ for example). The second one I think it is correct but wonder if there is a bit less clumsy notation. Finally the third one is ambiguous again because it can be interpreted as multiplying $g_x(x,y)$ with (vector) $(x^2y,y)$.