GNU bug report logs - #51263
29.0.50; [PATCH] Use run-at-time to read a password in comint

Previous Next

Package: emacs;

Reported by: miha <at> kamnitnik.top

Date: Mon, 18 Oct 2021 11:52:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: miha <at> kamnitnik.top
Cc: 51263 <at> debbugs.gnu.org
Subject: Re: bug#51263: 29.0.50; [PATCH] Use run-at-time to read a password
 in comint
Date: Mon, 18 Oct 2021 15:25:54 +0200
miha <at> kamnitnik.top writes:

> I've come up with a solution: using (run-at-time 0 ...), we can prompt
> for a password after the filter function finishes execution.  The
> attached patch implements this for comint, eshell and term.el.

Seems to work very nicely -- I tried mixing some async output while
prompting for a "su" password, and I couldn't see any glitches, so I've
pushed your patch to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 212 days ago.

Previous Next


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