i have the following problem. Let $M$ be a complex n-dim manifold and $X \subset M$ be a n-dim real analytic submanifold. Consider $d\_{X}(z)$ be the squared distance from $z \in M$ to $X$. For $z$ sufficiently near $X$ this function is smooth. My quaestion is: Is (with respect to complex coordinates $z\_{1}, ..., z\_{n}$) the function $\partial^{2} d\_{X} / \partial z\_{i} \partial \bar z\_{j}$ is holomorphic? (assume that we have alredy choosen a hermitian metric to compute $d\_{X}$). 



is the differential of the distance function holomorphic?
Take the most simple example $M=\mathbb C$ and $X$ the unit circle. Then $d\_X(z)=|z-\frac{z}{|z|}|^2$ is not holomorphic (so as its Laplacian $i\partial \bar \partial( d\_X)$), as you can easily see by expanding the expression.


