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 #107 received at submit <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Michael Albinus <michael.albinus <at> gmx.de>
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: Fri, 18 Oct 2024 11:45:37 +0200
>> I tried that now and it seems to work well here.  Have a look.
>
> Unfortunately, it doesn't seem to work with your recipe

I tried only a few standard scenarios.

> I also believe that modifying mode-line-front-space is rather a
> hack. Nobody seems to do this in Emacs' lisp/ directory. And the
> documentation of this variable doesn't encourage its random
> modification.

Agreed.

> I propose to apply the patch with modifying global-mode-string to
> emacs-30. A more sophisticated solution could be in the master branch
> then. Yes, the password icon could be invisible due to short window
> width, but this might be acceptable.

Users can always compact mode lines if needed.

> WDYT?

I think you should check it in.

martin





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.