There seems to be two strange things in Borceux's treatment of Kan extensions.
Proposition 3.7.6 states that the following statements are equivalent for a functor between small categories $F : A \to B$:
- $F$ has a right adjoint;
- $\text{Lan}_FF \cong F \circ \text{Lan}_F1$;
- $\text{Lan}_FL \cong L\circ \text{Lan}_F1$ for every functor $L : A \to C$.
This seems to imply that $F$ preserves all colimits that exist in $A$ (which cannot be so many, since $A$ is small, but..); and yet I'm not able to see why the fact that it preserve that particular left Kan extension $\text{Lan}_F1$ gives that it preserves all colimits.
The statement of Exercise 3.9.5 makes no sense, as it is impossible to compose $\text{Lan}_GF\circ F$.
What's going on?
The first result is covered (in dual and enriched form) in Basic Concepts of Enriched Category Theory as Theorem 4.81 which is a corollary to Theorem 4.80 which I prove below (in the unenriched case), the easily proven fact (4.28) that $F\dashv U$ implies that $\mathsf{Lan}_FG\cong G\circ U$ and $\mathsf{Ran}_UK\cong K\circ F$, and the representation of Kan extensions as weighted (co)limits, e.g. $\mathsf{Ran}_UK(C)\cong\{\text{Hom}(C,U-),K\}$
A functor $H : \mathcal{C}\to\mathbf{Set}$ is representable iff the weighted limit $\{H,Id\}$ exists and is preserved by $H$ in which case $H\cong\text{Hom}(\{H,Id\},-)$.
Only if: If $H\cong\mathcal{C}(X,-)$, then $$H(\{H,Id\})\cong\mathcal{C}(X,\{H,Id\})\cong[\mathcal{C},\mathbf{Set}](H,\mathcal{C}(X,-))\cong\mathcal{C}(X,X)$$ by the universal property of weighted limits and Yoneda. So $X \cong \{H,Id\}$ by Yoneda. Preservation is obvious either because hom-functors preserve all limits or because $\{H,H\}\cong[\mathcal{C},\mathbf{Set}](H,H)$ and so preservation was implicit in the above.
If: Assume $H$ preserves $\{H,Id\}$, i.e. it takes limiting cylinders to limiting cylinders which is to say the universal element of the weighted limit $\{H,Id\}$, namely $\varepsilon : H \to \mathcal{C}(\{H,Id\},-)$, when followed by the action of $H$ on arrows produces the universal element of the weighted limit $\{H,H\}$, namely $\varepsilon' : H \to \mathcal{C}(\{H,H\},H-)$. That is, $$\require{AMScd} \begin{CD} H @>\varepsilon >> \mathcal{C}(\{H,Id\},-) \\ @V\varepsilon'VV @VVHV \\ \mathcal{C}(\{H,H\},H-)@>\cong>> \mathcal{C}(H\{H,Id\},H-) \end{CD}$$ The goal will be to show that $\varepsilon$ has an inverse. In this case, $\varepsilon'$ being a universal element means given a set $X$ and a natural transformation $\tau : H \to \mathbf{Set}(X, H-)$ there exists a unique function $f' : X \to \{H,H\}$ such that $\tau_C = \mathbf{Set}(f,HC)\circ\varepsilon_C'$. In particular, choosing $X=1$ and $\tau = id$ (identifying $H\cong\mathbf{Set}(1,H-)$) we get a unique $f'\in\{H,H\}$ such that $id = \mathbf{Set}(f',H-)\circ\varepsilon'$. That is, $\mathbf{Set}(f,-)\circ H\circ\varepsilon = H(\varepsilon(x))(f) = x$ where $f \in H\{H,Id\}$ corresponds to $f'$.
To show that $\mathbf{Set}(f,-)\circ H$ is an inverse we need to show that $\varepsilon \circ \mathbf{Set}(f,-)\circ H : \mathcal{C}(\{H,Id\},-)\to\mathcal{C}(\{H,Id\},-)$ is the identity. By Yoneda, this transformation is determined by its action at $id_{\{H,Id\}}$. We have $\varepsilon_{\{H,Id\}}(f) : \{H,Id\}\to\{H,Id\}$ and $$\begin{align} (\mathcal{C}(\varepsilon_{\{H,Id\}}(f),-)\circ\varepsilon)(x) & = \varepsilon(x)\circ\varepsilon_{\{H,Id\}}(f) \\ & = \varepsilon(H(\varepsilon(x))(f)) \\ & = \varepsilon(x) \end{align}$$ and since $\varepsilon$ is a universal element that means $\varepsilon_{\{H,Id\}}(f) = id$. $\square$