Subject: bug#74626: closed (Re: bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 02 Dec 2024 18:31:02 +0000

Your bug report

#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
74626: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74626
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's
From: Michael Albinus <[email-masked]>
To: Jim Porter <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Mon, 02 Dec 2024 19:30:13 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Jim Porter <[email-masked]> writes:

Hi Jim,

> For Emacs 30, maybe the simplest fix is something
> like so? That should restore the old behavior, warts and all:
>
> For the master branch, I think your patch makes sense, assuming we're
> confident that 'comint-password-prompt-regexp' now matches the entire
> prompt in all (most?) cases.

Done as proposed. Closing the bug.

Best regards, Michael.

Subject: 30.0.91; mini buffer password prompt mismatches shell buffer's
From: Van Ly <[email-masked]>
To: [email-masked]
Date: Sat, 30 Nov 2024 16:19:45 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

When using ssh to connect to a machine, the password prompt is expected
to be identical in the shell buffer and mini buffer.

The mini buffer's prompt seems to make use of only the last character.

See

  http://sdf.org/~van.ly/img/emacs-30-0-91-password-prompt.webp

The shell buffer's password prompt shows

  [email-masked]'s password:

The mini buffer shows

  4's password:

Further attempts to backout using C-g and RET may show on the mini buffer

  44's password:

To demonstrate,

 0. start, emacs -Q
 1. use, M-x shell
 2. use, ssh to connect to machine (ssh is unconfigured)

 X. expect the mini buffer password prompt to be more meaningfully
    related to the actual prompt in the shell buffer

-- 
vl