GNU bug report logs - #73768
'read-passwd-mode' can clobber user defined mode lines

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Sat, 12 Oct 2024 09:27:02 UTC

Severity: normal

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #47 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: martin rudalics <rudalics <at> gmx.at>
Cc: "martin rudalics via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>,
 73768 <at> debbugs.gnu.org
Subject: Re: bug#73768: 'read-passwd-mode' can clobber user defined mode lines
Date: Sun, 13 Oct 2024 18:15:48 +0200
martin rudalics <rudalics <at> gmx.at> writes:

> Hi Michael

Hi Martin,

> No customized mode line is needed.  Either with emacs -Q evaluate
>
> (progn
>   (set-window-parameter nil 'no-other-window t)
>   (with-selected-window (split-window nil -5)
>     (set-window-buffer nil (get-buffer-create "*text*"))
>     (set-window-parameter nil 'no-other-window t)
>     (read-passwd "PWD:")))

Thanks! With this recipe, I can reproduce the problem. And your patch
fixes it :-)

Please install in the emacs-30 branch.

> martin

Best regards, Michael.




This bug report was last modified 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.