[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12117: read-passwd deletes prompt

From: Stefan Monnier
Subject: bug#12117: read-passwd deletes prompt
Date: Mon, 06 Aug 2012 18:00:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]