[Top][All Lists]

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

bug#15501: 24.3; usage of read-passwd within format-alist

From: Stefan Monnier
Subject: bug#15501: 24.3; usage of read-passwd within format-alist
Date: Fri, 04 Oct 2013 14:26:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> read-password does not hide password characters when used within
> format-alist during loading of a file.

Indeed, read-passwd now relies on after-change-functions to hide the
password characters, but format-insert-file binds
inhibit-modification-hooks before calling the function found in

I installed a patch (see below) which should fix this issue, but I'm
curious: what do you use format-alist for that triggered this problem?


--- lisp/subr.el        2013-10-03 04:41:23 +0000
+++ lisp/subr.el        2013-10-04 18:20:33 +0000
@@ -2104,6 +2104,7 @@
             (setq-local buffer-undo-list t)
             (setq-local select-active-regions nil)
             (use-local-map read-passwd-map)
+            (setq-local inhibit-modification-hooks nil) ;bug#15501.
             (add-hook 'after-change-functions hide-chars-fun nil 'local))
             (let ((enable-recursive-minibuffers t))

reply via email to

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