Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional

From: Eli Zaretskii <[email-masked]>
Date: Sun, 05 Jan 2025 21:11:19 +0200

> From: Björn Bidar <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Sun, 05 Jan 2025 20:20:40 +0200
> 
> Do I understand correctly that when Emacs starts it tries to find the
> file-handler in C but the call to the handler is done in Lisp code?

AFAIR, file-handlers are looked for on both C and Lisp level.  What
matters is the level on which the operation is implemented.  If it's
implemented in C, we must look for the handler in C, otherwise we can
look for it in Lisp.  find-file-name-handler is a primitive
implemented in C, but you can call it both from C and from Lisp.