Subject: Re: bug#15866: Gnutls elisp code doesn't properly check for file existence

From: Eli Zaretskii <[email-masked]>
Date: Sun, 07 Dec 2014 23:08:34 +0200

> From: Lars Magne Ingebrigtsen <[email-masked]>
> Cc: Michael Albinus <[email-masked]>,  [email-masked],  Eli Zaretskii <[email-masked]>,  [email-masked]
> Date: Sun, 07 Dec 2014 21:17:21 +0100
> 
> Stefan Monnier <[email-masked]> writes:
> 
> > Whereas in gnutls.el the issue is for the *code* to check that the
> > libgnutls C code (which will not have access to the file name handlers)
> > will be able to use the file name provided by the user.
> 
> Wouldn't a solution here be to introduce a variable like
> `inhibit-file-handlers' that would really inhibit all Lisp-level file
> handlers?

How is that different from binding file-name-handler-alist to nil?

And btw, most file handlers are invoked on the C level, not the Lisp
level.

> `inhibit-file-name-handlers' doesn't quite seem to do the trick, I
> guess?

Not conveniently, no.