GNU bug report logs - #43772
27.1; (describe-variable) breaks eshell

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: daniel@HIDDEN; Keywords: confirmed; dated Sat, 3 Oct 2020 02:12:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 43772 <at> debbugs.gnu.org:


Received: (at 43772) by debbugs.gnu.org; 5 Oct 2020 08:09:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 05 04:09:32 2020
Received: from localhost ([127.0.0.1]:47755 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kPLYq-00049I-4G
	for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 04:09:32 -0400
Received: from quimby.gnus.org ([95.216.78.240]:46162)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kPLYo-000491-3s
 for 43772 <at> debbugs.gnu.org; Mon, 05 Oct 2020 04:09:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=ktjk/b9E/K2iNzm7u/7N63uEFK3Dx3cRvlv+d26mO18=; b=HIZ7dwlQQJoaRIQ5SAEXhytQes
 2tgA6T3BUIrOQlF4FnlgR7knTGd6exDTq/4gf9C68Az02sLvpV1urKyhrx8NsfjjBef8ys39da1Sm
 GixvnvldfvdS6WuzgeOkQi4aYPUCJvLPcgQZFtKkDjBLTELWdl5L4Cc8Rr4yvlphSl5A=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kPLYa-0005RJ-1y; Mon, 05 Oct 2020 10:09:23 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: daniel@HIDDEN
Subject: Re: bug#43772: 27.1; (describe-variable) breaks eshell
References: <d8c8cb0704eae70a6cfadeef736ab546@HIDDEN>
X-Now-Playing: Various's _That's The Way I Feel Now: A Tribute to Thelonious
 Monk_: "Steve Lacy, Elvin Jones - Evidence"
Date: Mon, 05 Oct 2020 10:09:14 +0200
In-Reply-To: <d8c8cb0704eae70a6cfadeef736ab546@HIDDEN>
 (daniel@HIDDEN's message of "Sat, 03 Oct 2020 02:11:43
 +0000")
Message-ID: <87o8lhp00l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  daniel@HIDDEN writes: > When using eshell-mode,
 calling `(describe-variable)` on a variable that > starts with "eshell" causes
 eshell-watch-for-password-prompt to no > longer function correctly. In the
 attached dribble fil [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43772
Cc: 43772 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

daniel@HIDDEN writes:

> When using eshell-mode, calling `(describe-variable)` on a variable that
> starts with "eshell" causes eshell-watch-for-password-prompt to no
> longer function correctly.  In the attached dribble file, I first show
> the correct behavior by opening eshell and entering `sudo ls`; eshell
> correctly prompts me for a password three times.  I then run
> `(describe-variable 'eshell-after-prompt-hook)` and then enter `sudo
> ls`.  This time, eshell displays the incorrect behavior: it prints the
> string "password" but does not accept input as a password or print any
> output from the command. 

There was no dribble file attached, but I was able to reproduce the bug
in Emacs 28, too.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43772; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Oct 2020 02:11:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 02 22:11:55 2020
Received: from localhost ([127.0.0.1]:42774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kOX1e-0006tf-Vl
	for submit <at> debbugs.gnu.org; Fri, 02 Oct 2020 22:11:55 -0400
Received: from lists.gnu.org ([209.51.188.17]:46314)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daniel@HIDDEN>) id 1kOX1c-0006tX-HZ
 for submit <at> debbugs.gnu.org; Fri, 02 Oct 2020 22:11:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39034)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <daniel@HIDDEN>)
 id 1kOX1c-0005KL-Bn
 for bug-gnu-emacs@HIDDEN; Fri, 02 Oct 2020 22:11:52 -0400
Received: from out1.migadu.com ([2001:41d0:2:863f::]:22484)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <daniel@HIDDEN>)
 id 1kOX1Z-00079N-PR
 for bug-gnu-emacs@HIDDEN; Fri, 02 Oct 2020 22:11:52 -0400
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codesections.com;
 s=default; t=1601691103;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=+tgiIfoGjYCEiBSjPdqzD9k+VbrsOufAdgkcuS1SFbM=;
 b=XO7svr3F0CH/qmT6yswrmtdWssVX4LUJmvclMi6E3FsvZJv1H++/Jqtatw8pHfaK2vsPGJ
 q7vkzvdVcJT5KpDi1mPBNMWZm7zD3COZJ87ag95UF0JOEUMDGaahwDftFFRKKgiulbsyXg
 EYvFhlFp3hW103P9rOlVSy/FTlWXGRg=
Date: Sat, 03 Oct 2020 02:11:43 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: daniel@HIDDEN
Message-ID: <d8c8cb0704eae70a6cfadeef736ab546@HIDDEN>
Subject: 27.1; (describe-variable) breaks eshell
To: bug-gnu-emacs@HIDDEN
X-Spam-Score: -0.10
Received-SPF: pass client-ip=2001:41d0:2:863f::;
 envelope-from=daniel@HIDDEN; helo=out1.migadu.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/02 22:11:44
X-ACL-Warn: Detected OS   = ???
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

When using eshell-mode, calling `(describe-variable)` on a variable that=
=0Astarts with "eshell" causes eshell-watch-for-password-prompt to no=0Al=
onger function correctly.  In the attached dribble file, I first show=0At=
he correct behavior by opening eshell and entering `sudo ls`; eshell=0Aco=
rrectly prompts me for a password three times.  I then run=0A`(describe-v=
ariable 'eshell-after-prompt-hook)` and then enter `sudo=0Als`.  This tim=
e, eshell displays the incorrect behavior: it prints the=0Astring "passwo=
rd" but does not accept input as a password or print any=0Aoutput from th=
e command.  I selected `eshell-after-prompt-hook` becuase=0Ait is one of =
the first variables starting with "eshell", but the same=0Abehavior occur=
s with other variables, including user-defined ones.=0A=0AThe information=
 below, generated with report-emacs-bug, is for my=0Alaptop, where I obse=
rved the above bug on Emacs 27.1.  I also observed=0Athe same bug on my d=
esktop on Emacs 26.3 (build 2, x86_64-pc-linux-gnu),=0Aso the issue isn't=
 specific to the Void musl build.=0A=0AI hope this information is helpful=
.  Thank you all for the wonderful=0Awork you do on Emacs, and please let=
 me know if I can provide any other=0Ainformation.=0A=0ABest regards,=0AD=
aniel =0A=0AIn GNU Emacs 27.1 (build 1, x86_64-unknown-linux-musl)=0A of =
2020-08-12 built on vm1-a-mci-us=0ASystem Description: void=0A=0ARecent m=
essages:=0AFor information about GNU Emacs and the GNU system, type C-h C=
-a.=0AMaking completion list... [3 times]=0A=0AConfigured using:=0A 'conf=
igure --without-x --without-dbus --prefix=3D/usr --sysconfdir=3D/etc=0A -=
-sbindir=3D/usr/bin --bindir=3D/usr/bin --mandir=3D/usr/share/man=0A --in=
fodir=3D/usr/share/info --localstatedir=3D/var=0A --with-file-notificatio=
n=3Dinotify --with-modules --with-jpeg --with-tiff=0A --with-gif --with-p=
ng --with-xpm --with-rsvg --without-imagemagick=0A --with-xml2 --with-gnu=
tls --with-sound --with-m17n-flt --with-json=0A --without-harfbuzz --with=
out-cairo --with-libgmp=0A --host=3Dx86_64-unknown-linux-musl --build=3Dx=
86_64-unknown-linux-musl=0A 'CFLAGS=3D-fno-PIE -mtune=3Dgeneric -O2 -pipe=
 -g' 'CPPFLAGS=3D '=0A 'LDFLAGS=3D-no-pie -Wl,--as-needed ''=0A=0AConfigu=
red features:=0ASOUND NOTIFY INOTIFY ACL GNUTLS LIBXML2 ZLIB XIM MODULES =
THREADS JSON=0APDUMPER LCMS2 GMP=0A=0AImportant settings:=0A  value of $L=
C_COLLATE: C=0A  value of $LANG: en_US.UTF-8=0A  locale-coding-system: ut=
f-8-unix=0A=0AMajor mode: Lisp Interaction=0A=0AMinor modes in effect:=0A=
  tooltip-mode: t=0A  global-eldoc-mode: t=0A  eldoc-mode: t=0A  electric=
-indent-mode: t=0A  menu-bar-mode: t=0A  file-name-shadow-mode: t=0A  glo=
bal-font-lock-mode: t=0A  font-lock-mode: t=0A  auto-composition-mode: t=
=0A  auto-encryption-mode: t=0A  auto-compression-mode: t=0A  line-number=
-mode: t=0A  transient-mark-mode: t=0A=0ALoad-path shadows:=0ANone found.=
=0A=0AFeatures:=0A(shadow regexp-opt sort mail-extr emacsbug message rmc =
puny dired=0Adired-loaddefs format-spec rfc822 mml easymenu mml-sec passw=
ord-cache=0Aepa derived epg epg-config gnus-util rmail tool-bar rmail-loa=
ddefs=0Atext-property-search seq mm-decode mm-bodies mm-encode mail-parse=
=0Arfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045=0Aiet=
f-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs=0Acl-l=
ib term/xterm xterm byte-opt gv bytecomp byte-compile cconv tooltip=0Aeld=
oc electric uniquify ediff-hook vc-hooks lisp-float-type=0Atabulated-list=
 replace newcomment text-mode elisp-mode lisp-mode=0Aprog-mode register p=
age tab-bar menu-bar rfn-eshadow isearch timer=0Aselect mouse jit-lock fo=
nt-lock syntax facemenu font-core=0Aterm/tty-colors frame minibuffer cl-g=
eneric cham georgian utf-8-lang=0Amisc-lang vietnamese tibetan thai tai-v=
iet lao korean japanese eucjp-ms=0Acp51932 hebrew greek romanian slovak c=
zech european ethiopic indian=0Acyrillic chinese composite charscript cha=
rprop case-table epa-hook=0Ajka-cmpr-hook help simple abbrev obarray cl-p=
reloaded nadvice loaddefs=0Abutton faces cus-face macroexp files text-pro=
perties overlay sha1 md5=0Abase64 format env code-pages mule custom widge=
t hashtable-print-readable=0Abackquote threads inotify lcms2 multi-tty ma=
ke-network-process emacs)=0A=0AMemory information:=0A((conses 16 46396 88=
14)=0A (symbols 48 6012 1)=0A (strings 32 15639 1721)=0A (string-bytes 1 =
506946)=0A (vectors 16 8020)=0A (vector-slots 8 86910 7560)=0A (floats 8 =
23 290)=0A (intervals 56 209 0)=0A (buffers 1000 12))




Acknowledgement sent to daniel@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43772; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 5 Oct 2020 08:15:02 UTC

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