GNU bug report logs - #76551
31.0.50; Missing space in minibuffer `sudo' password

Previous Next

Package: emacs;

Reported by: Rudolf Adamkovič <rudolf <at> adamkovic.org>

Date: Tue, 25 Feb 2025 13:44:01 UTC

Severity: minor

Tags: patch

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rudolf Adamkovič <rudolf <at> adamkovic.org>
Cc: 76551 <at> debbugs.gnu.org
Subject: Re: bug#76551: 31.0.50; Missing space in minibuffer `sudo' password
Date: Wed, 26 Feb 2025 14:59:19 +0200
> From: Rudolf Adamkovič <rudolf <at> adamkovic.org>
> Date: Tue, 25 Feb 2025 14:43:02 +0100
> 
> 
> DESCRIPTION:
> 
>   In Emacs,
> 
>     minibuffer prompts are always suffixed with the space character,
> 
>   for example:
>   
>     Find file: ~/...
>               |
>               +------------ space
>   
>   but this is not the case with `sudo':
>   
>     Password:******
>              |
>              +------------- missing space
> 
> REPRODUCTION STEPS:
> 
>   1. Launch `emacs -Q'.
>   2. Evaluate the following sexp:
>   
>      (let ((buffer-name "*testing*"))
>        (let ((compilation-buffer-name-function (lambda (mode) buffer-name)))
>          (compile "sudo echo 1" t)))
> 
> EXPECTED RESULT:
> 
>   Emacs prompts the user in the minibuffer with "Password: ".
> 
> ACTUAL RESULT:
> 
>   Emacs prompts the user in the minibuffer with "Password:".

Does this prompt come from Emacs or from 'sudo'?  If from Emacs, can
you tell where is the prompt produced?




This bug report was last modified 70 days ago.

Previous Next


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