Subject: Re: bug#12117: read-passwd deletes prompt

From: Stefan Monnier <[email-masked]>
Date: Mon, 06 Aug 2012 18:00:09 -0400

> The problem is that `find-file-noselect-1' binds `inhibit-read-only' to t
> before calling `insert-file-contents':

>             (let ((inhibit-read-only t))
>               (insert-file-contents filename t))

Hmm... I guess the problem is even more general: any minibuffer input
during insert-file-contents will suffer from it (granted, there usually
isn't much minibuffer input during such calls, luckily).

Maybe read-from-minibuffer should let-bind inhibit-read-only to nil?
That sounds ugly, tho.

        Stefan