GNU bug report logs - #74626
30.0.91; mini buffer password prompt mismatches shell buffer's

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> SDF.ORG>

Date: Sat, 30 Nov 2024 16:21:02 UTC

Severity: normal

Found in version 30.0.91

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Van Ly <van.ly <at> SDF.ORG>
Subject: bug#74626: closed (Re: bug#74626: 30.0.91; mini buffer password
 prompt mismatches shell buffer's)
Date: Mon, 02 Dec 2024 18:31:02 +0000
[Message part 1 (text/plain, inline)]
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 74626 <at> debbugs.gnu.org.

-- 
74626: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74626
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: van.ly <at> SDF.ORG, 74626-done <at> debbugs.gnu.org
Subject: Re: bug#74626: 30.0.91; mini buffer password prompt mismatches
 shell buffer's
Date: Mon, 02 Dec 2024 19:30:13 +0100
Jim Porter <jporterbugs <at> gmail.com> 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.

[Message part 3 (message/rfc822, inline)]
From: Van Ly <van.ly <at> SDF.ORG>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.91; mini buffer password prompt mismatches shell buffer's
Date: Sat, 30 Nov 2024 16:19:45 +0000
[Message part 4 (text/plain, inline)]
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

  van <at> 192.168.1.144'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

[x (application/octet-stream, attachment)]
[Message part 6 (text/plain, inline)]

-- 
vl

This bug report was last modified 172 days ago.

Previous Next


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