emacs-devel
[Top][All Lists]
Advanced

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

Re: Change stars as read-hide-char


From: Colin Baxter
Subject: Re: Change stars as read-hide-char
Date: Mon, 30 Jul 2018 09:54:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Dear Robert,

Thank you for your reply.

>>>>> Robert Pluim <address@hidden> writes:

    > Colin Baxter <address@hidden> writes:
    >> My apologies for posting here, I can't get posting rights at
    >> gmane.emacs.help. My `return-confirmation' emails get bounced at
    >> that news-group.
    >> 
    >> The development emacs-27 version recently changed the default
    >> character seen when entering a password from `.' to `*'. I want
    >> to get back to the old default, but
    >> 
    >> (let (read-hide-char) "?.")
    >> 

    > 'let' specifies a list of variable bindings, and you want the
    > character '.', not a string containing '?' and '.', so itʼs:

    > (let ((read-hide-char ?. )) (message "%c" read-hide-char))

Unfortunately

(let ((read-hide-char ?. ))
     (message "%c" read-hide-char))

also doesn't work. It gives the error

Wrong type argument: characterp, "?."

as soon as I enter a password. The same error occurs if I use
`emacs -q'. Could this be a bug?

Best wishes,

Colin.



reply via email to

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