GNU bug report logs - #45392
28.0.50; read-from-minibuffer sets `this-command` variable to `exit-minibuffer`

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: dalanicolai <dalanicolai@HIDDEN>; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 45392 <at> debbugs.gnu.org and dalanicolai <dalanicolai@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 45392) by debbugs.gnu.org; 23 Jan 2021 22:50:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 23 17:50:13 2021
Received: from localhost ([127.0.0.1]:35566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l3RjR-0001jj-1W
	for submit <at> debbugs.gnu.org; Sat, 23 Jan 2021 17:50:13 -0500
Received: from quimby.gnus.org ([95.216.78.240]:56786)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l3RjO-0001jE-Nk
 for 45392 <at> debbugs.gnu.org; Sat, 23 Jan 2021 17:50:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=rVvpysGWUKhH5DkAib8qcI92rwaUNw4Cx3Q4qJ7C0ss=; b=VUMcVYRekzL19FrTvxqjXPkxi1
 G95n5+4B3xC8O80AiPtQggpM0dZBbOH2JwYM0vva9eeRnF1dSL8YGUcSXyp5lykaE4Lxj4MJKr9BE
 zoOh+Cwe1x8ztyYzsTLXUZefFUwes67nXYv7fHVNpd8cLcn5YemhodfmBn4yvHLptSpw=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1l3Rj9-0006NC-6I; Sat, 23 Jan 2021 23:50:04 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Daniel =?utf-8?Q?Mart=C3=ADn?= <mardani29@HIDDEN>
Subject: Re: bug#45392: 28.0.50; read-from-minibuffer sets `this-command`
 variable to `exit-minibuffer`
References: <CACJP=3kyb7aQvco5peejVBvbFZpnko-5gkNrg0m+vO1Jx8+=vQ@HIDDEN>
 <m11rew2udq.fsf@HIDDEN>
X-Now-Playing: Arthur Russell's _Sketches For World Of Echo (June 25 1984
 Live At Ei)_: "They And Their Friends (Live 6-24-84)"
Date: Sat, 23 Jan 2021 23:49:54 +0100
In-Reply-To: <m11rew2udq.fsf@HIDDEN> ("Daniel =?utf-8?Q?Mart=C3=ADn=22's?=
 message of "Fri, 08 Jan 2021 00:35:13 +0100")
Message-ID: <875z3ns1yl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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 Martín <mardani29@HIDDEN> writes: > Thanks for your
    bug report. I think it is expected that 'this-command' > is 'exit-minibuffer'
    in this case, because 'this-command' is usually set > only once *at the beginning*
    of the execution of a [...] 
 
 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: 45392
Cc: dalanicolai <dalanicolai@HIDDEN>, 45392 <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 Mart=C3=ADn <mardani29@HIDDEN> writes:

> Thanks for your bug report.  I think it is expected that 'this-command'
> is 'exit-minibuffer' in this case, because 'this-command' is usually set
> only once *at the beginning* of the execution of a command.  It keeps
> its value until a *new* command is executed by Emacs.  This is not
> explicitly said in the docstring, but it is mentioned in the Elisp Info
> manual.
>
> I don't know if the docstring could be expressed more clearly; I prefer
> to leave those command loop details to the Info manuals.

I think so, too, so there doesn't seem to be anything further to do in
this bug report, and I'm closing it.  If there's more to be done here,
please respond to the debbugs address and we'll reopen.

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




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

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


Received: (at 45392) by debbugs.gnu.org; 7 Jan 2021 23:35:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 07 18:35:28 2021
Received: from localhost ([127.0.0.1]:48903 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxeoS-0007hg-DY
	for submit <at> debbugs.gnu.org; Thu, 07 Jan 2021 18:35:28 -0500
Received: from sonic307-7.consmr.mail.ir2.yahoo.com ([87.248.110.32]:43212)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mardani29@HIDDEN>) id 1kxeoP-0007hL-C9
 for 45392 <at> debbugs.gnu.org; Thu, 07 Jan 2021 18:35:27 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048;
 t=1610062518; bh=bUjdgZzciTdZgelDRsbrizqPjhbk5q5DuPJ8XbkumFQ=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject;
 b=PTU2i0ONms54tNiy863mIKcmQ5fhq9lTotJMlfuNskuwQnZOXaEYMG5KYyFp9us8NxGJFPNHfArILMRZaibiztWh85WKgqCbG8VvrJ88thCYHvHZXgs9f9iXmSK206xrNl2Eanx4K6Bmxg78zRRj/w7gowqZNyZZv5sJ1S4t6WGsKWFRvTzFzoUlr/4NMrn0pE7XP1F3WFNVgUXCYZ7nmo5EpL+ueVxGhOiolaSSQFfqif10a2C1HxQOBx36ulCVYe5R/NMBhVXSRYHMA0XLwZNFKPCjDPo0W3GArzRiKE7J+8A6pzkZuKSGgo6B7ec7DxVUUhrPfFcAWAGB1DTaLQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1610062518; bh=Hd7kkp9psYU4/UBSPfZtOJgVfrYENHRdy50PbhNW73w=;
 h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J.hrEmsh5xYNFo.
 N4Wte7O7K4hVJtLfIv_fKR_oGVYvU4sGLF5zHXYS5eYp3HQ_SQjfe0oHg3zcGvquOI_4kJACuEUu
 Eilq1omdr.naVP5U.kVO8adZfIPp6K3TNYv37KgNcuDB0TzcUfNkM4z8K3oVrPmx9m8bDcSDaMXh
 cESOSWQVqOADVUCxmdk12Cks37u8hcvLfjuHVs9o9nW7K1MHkK1VdfKxAOvqmVUcJUiE2CddZTUj
 rWWUiiXS3r0gog5pcnMx0wu72lOaUYga4cox3hZAo16HijuyXSYzMrq6gTadRqSoklwWbHKJYWsY
 muPVWNQ9jOpBTeoFHT35p3eVHt_Xuali9Qyb3_kqREzaq912ziNdq9sp_eLmibv6_z_0A2m3Kxa8
 WLxxY8BCZiNKu6B6XnBaa3mKM6XbWBayB8t5hOQAoj78ra2zxdCzASx0s8y31U_sSpkMREqpI_AJ
 2hAwfN.fm8RLt74UgFmmHFTiTGlNYV_NhLRiaimHd7.AHlZhNqCfw7SVta9cPUKJMw4QZMeD9zKO
 0fGVGM1_YmpGJPMF5N_GFOMTNL3NAh3qdCdRIMIi8_gYE0OmvlZCW2_66U3FWwiIxxacxFaaYMSc
 bsTahpcyHVL8m8gGS0wOX5bKHhOyvC9KBdR77SfgDOcXY0XkHE0Y06uvaZvIMFr5quPuH_oHb8l9
 Gv.XvphoQa712PnL46LISa4FhWVPazNZpAnrESIkxG0OykhyXt_y7xoR2Gv0Xw_PRrui9.qIA7Pa
 wV.9NikpFKr5iq40NoB6pWq3RdGfle9Hf8ZpAcPQcRxcIFeUbSU2AQ5.RkGnOCdnDPzW7mSqtqap
 ri2wtigO2DbspHw--
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.ir2.yahoo.com with HTTP; Thu, 7 Jan 2021 23:35:18 +0000
Received: by smtp411.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA
 ID e9dc0064ade34f2d9da036a31598cd7e; 
 Thu, 07 Jan 2021 23:35:15 +0000 (UTC)
From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN>
To: dalanicolai <dalanicolai@HIDDEN>
Subject: Re: bug#45392: 28.0.50; read-from-minibuffer sets `this-command`
 variable to `exit-minibuffer`
References: <CACJP=3kyb7aQvco5peejVBvbFZpnko-5gkNrg0m+vO1Jx8+=vQ@HIDDEN>
Date: Fri, 08 Jan 2021 00:35:13 +0100
In-Reply-To: <CACJP=3kyb7aQvco5peejVBvbFZpnko-5gkNrg0m+vO1Jx8+=vQ@HIDDEN>
 (dalanicolai@HIDDEN's message of "Wed, 23 Dec 2020 14:11:36 +0100")
Message-ID: <m11rew2udq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.17278
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
 Apache-HttpAsyncClient/4.1.4 (Java/11.0.8)
Content-Length: 1136
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 45392
Cc: 45392 <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: -0.8 (/)

dalanicolai <dalanicolai@HIDDEN> writes:

>  Load the following code block:
>
>     (defun test ()
>       (interactive)
>       (print this-command)
>       (read-from-minibuffer "test")
>       (print this-command))
>
> Now run M-x test.
>
> The first print prints correctly "test" while the second print prints
> "exit-minibuffer"
> The docstring of the `this-command` variable says: "The command now
> being executed." I would think the command "exit-minibuffer" should have
> been completed here, so the current command being executed for the
> second print, i.e. the value of the `this-command` variable,  should again
> be "test".
>

Thanks for your bug report.  I think it is expected that 'this-command'
is 'exit-minibuffer' in this case, because 'this-command' is usually set
only once *at the beginning* of the execution of a command.  It keeps
its value until a *new* command is executed by Emacs.  This is not
explicitly said in the docstring, but it is mentioned in the Elisp Info
manual.

I don't know if the docstring could be expressed more clearly; I prefer
to leave those command loop details to the Info manuals.




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

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


Received: (at submit) by debbugs.gnu.org; 23 Dec 2020 13:11:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 23 08:11:56 2020
Received: from localhost ([127.0.0.1]:52316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ks3vn-0007xk-UQ
	for submit <at> debbugs.gnu.org; Wed, 23 Dec 2020 08:11:56 -0500
Received: from lists.gnu.org ([209.51.188.17]:44300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dalanicolai@HIDDEN>) id 1ks3vl-0007xY-Uu
 for submit <at> debbugs.gnu.org; Wed, 23 Dec 2020 08:11:54 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50956)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dalanicolai@HIDDEN>)
 id 1ks3vl-0006nb-PV
 for bug-gnu-emacs@HIDDEN; Wed, 23 Dec 2020 08:11:53 -0500
Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]:39580)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <dalanicolai@HIDDEN>)
 id 1ks3vh-0003MF-Ak
 for bug-gnu-emacs@HIDDEN; Wed, 23 Dec 2020 08:11:53 -0500
Received: by mail-ua1-x936.google.com with SMTP id t15so5381890ual.6
 for <bug-gnu-emacs@HIDDEN>; Wed, 23 Dec 2020 05:11:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=bkL6NI5bEkFSObXYCbcpKOgh+8DvPBn3vukEB5lpO14=;
 b=NWvNzQLy+Y4sp6bPIIrEqJuoNDHyrtq2A+3PFI01+6DHEBiNKXyaoDnWglLPa3gHCq
 OA5sE36U77Bww+KOiocxJgSSVxxhJpoLHFn2RuDlCqXCOa/I+CgPFJP9VOG+zkMQ3Dhk
 gbzzI2VITv2isrE8aE3+99jk4yfwTVqQsU15Fc5KOOTOhQFQoun1LYqy9ivqjtX5HOAj
 LpAdbDnF8SdQJ+dyrwgMcPTT+iMI6DW51JfGX/8q1LGsypSlekkLzZHtZjiRHpUIzY1m
 pgM3ojJHvVYny5BkUHFTQt0EyMjlG25liPaZlyE6tXOkuZfWRwrda609EIRUbMQwUuYq
 +47A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=bkL6NI5bEkFSObXYCbcpKOgh+8DvPBn3vukEB5lpO14=;
 b=GX7zG4fC5p+08KmNX0Dj/9mhrtTmXAI3ZWkAfsXeArCo1XQGz2J2EEse1D7xZqHawW
 guNvGbs+s6HBVAp23mjFQLYzTEoP35zWad9M0YIM25ku2K/BWWx/qomHf7oA5K3jUpta
 epz9C29WzVtmpJPgfX7sYOBFoysHw+5CCxB+6gMWam+x6SQN15BdAXIDa/4MgZKRcS22
 Fu4STi2sPXSPHwC6MbtXhpMRNijdOHwBBnzFbT54rfuhpEtiJ5N+b/wuQED+s/f6drVh
 gCXuJktciM0Ly+XX5DTGb80FXyNMJa6nYRYBnCpCVxePvppai1EzaJWFJHv0A5U46kQH
 rvzw==
X-Gm-Message-State: AOAM5319E/En9rbLsGqZVz/ol2q9JMTySsjKBFfSTyhE3VlJ0XTh0Bjd
 f/ZzEuay63AxfI6dWDbeiQLwq5foWrW7X4Rz5HI5aUnOsgU=
X-Google-Smtp-Source: ABdhPJxgLX5G/oIwsHVR253+xGDAGgxglGIhHIVYP5e5WEmRudZp6r2rW2SstpSyjFrQn/oERhsmg0LY4gFKgYew1/Y=
X-Received: by 2002:ab0:242:: with SMTP id 60mr10559363uas.134.1608729107784; 
 Wed, 23 Dec 2020 05:11:47 -0800 (PST)
MIME-Version: 1.0
From: dalanicolai <dalanicolai@HIDDEN>
Date: Wed, 23 Dec 2020 14:11:36 +0100
Message-ID: <CACJP=3kyb7aQvco5peejVBvbFZpnko-5gkNrg0m+vO1Jx8+=vQ@HIDDEN>
Subject: 28.0.50; read-from-minibuffer sets `this-command` variable to
 `exit-minibuffer`
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000002670e05b7216f42"
Received-SPF: pass client-ip=2607:f8b0:4864:20::936;
 envelope-from=dalanicolai@HIDDEN; helo=mail-ua1-x936.google.com
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, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 (--)

--00000000000002670e05b7216f42
Content-Type: text/plain; charset="UTF-8"

 Load the following code block:

    (defun test ()
      (interactive)
      (print this-command)
      (read-from-minibuffer "test")
      (print this-command))

Now run M-x test.

The first print prints correctly "test" while the second print prints
"exit-minibuffer"
The docstring of the `this-command` variable says: "The command now
being executed." I would think the command "exit-minibuffer" should have
been completed here, so the current command being executed for the
second print, i.e. the value of the `this-command` variable,  should again
be "test".


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23,
cairo version 1.16.0)
of 2020-12-21 built on daniel-Ubuntu
Repository revision: faf3613cba8571eaef2709bd7bb6f11a956b9262
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12009000
System Description: Ubuntu 20.10

Configured using:
'configure --with-imagemagick --with-cairo --with-modules'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GSETTINGS
GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ
M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES
THREADS LIBSYSTEMD PDUMPER LCMS2

Important settings:
  value of $LC_MONETARY: nl_NL.UTF-8
  value of $LC_NUMERIC: nl_NL.UTF-8
  value of $LC_TIME: nl_NL.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Message

Minor modes in effect:
  mml-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  auto-fill-function: message-do-auto-fill
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
None found.

Features:
(cus-edit cus-start cus-load wid-edit mailalias mailclient pp shadow
sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml
mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print
debug backtrace help-mode find-func .emacs finder-inf info package
easymenu browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 237418 22864)
(symbols 48 15091 0)
(strings 32 75289 3389)
(string-bytes 1 1916083)
(vectors 16 22714)
(vector-slots 8 306359 25686)
(floats 8 41 58)
(intervals 56 1029 11)
(buffers 984 16))

--00000000000002670e05b7216f42
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">


<div>


Load the following code block:
<br>

<br>
=C2=A0=C2=A0=C2=A0 (defun test ()
<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (interactive)
<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (print this-command)
<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (read-from-minibuffer &quot;test&quot;)
<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (print this-command))
<br>

<br>
Now run M-x test.
<br>

<br>
The first print prints correctly &quot;test&quot; while the second print pr=
ints &quot;exit-minibuffer&quot;
<br>
The docstring of the `this-command` variable says: &quot;The command now
<br>
being executed.&quot; I would think the command &quot;exit-minibuffer&quot;=
 should have
<br>
been completed here, so the current command being executed for the
<br>
second print, i.e. the value of the `this-command` variable,=C2=A0 should a=
gain be &quot;test&quot;.
<br>

<br>

<br>
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, c=
airo version 1.16.0)
<br>
 of 2020-12-21 built on daniel-Ubuntu
<br>
Repository revision: faf3613cba8571eaef2709bd7bb6f11a956b9262
<br>
Repository branch: master
<br>
Windowing system distributor &#39;The X.Org Foundation&#39;, version 11.0.1=
2009000
<br>
System Description: Ubuntu 20.10
<br>

<br>
Configured using:
<br>
 &#39;configure --with-imagemagick --with-cairo --with-modules&#39;
<br>

<br>
Configured features:
<br>
XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GSETTINGS
<br>
GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ
<br>
M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES
<br>
THREADS LIBSYSTEMD PDUMPER LCMS2
<br>

<br>
Important settings:
<br>
=C2=A0 value of $LC_MONETARY: nl_NL.UTF-8
<br>
=C2=A0 value of $LC_NUMERIC: nl_NL.UTF-8
<br>
=C2=A0 value of $LC_TIME: nl_NL.UTF-8
<br>
=C2=A0 value of $LANG: en_US.UTF-8
<br>
=C2=A0 value of $XMODIFIERS: @im=3Dibus
<br>
=C2=A0 locale-coding-system: utf-8-unix
<br>

<br>
Major mode: Message
<br>

<br>
Minor modes in effect:
<br>
=C2=A0 mml-mode: t
<br>
=C2=A0 tooltip-mode: t
<br>
=C2=A0 global-eldoc-mode: t
<br>
=C2=A0 electric-indent-mode: t
<br>
=C2=A0 mouse-wheel-mode: t
<br>
=C2=A0 tool-bar-mode: t
<br>
=C2=A0 menu-bar-mode: t
<br>
=C2=A0 file-name-shadow-mode: t
<br>
=C2=A0 global-font-lock-mode: t
<br>
=C2=A0 font-lock-mode: t
<br>
=C2=A0 blink-cursor-mode: t
<br>
=C2=A0 auto-composition-mode: t
<br>
=C2=A0 auto-encryption-mode: t
<br>
=C2=A0 auto-compression-mode: t
<br>
=C2=A0 line-number-mode: t
<br>
=C2=A0 auto-fill-function: message-do-auto-fill
<br>
=C2=A0 transient-mark-mode: t
<br>
=C2=A0 abbrev-mode: t
<br>

<br>
Load-path shadows:
<br>
None found.
<br>

<br>
Features:
<br>
(cus-edit cus-start cus-load wid-edit mailalias mailclient pp shadow
<br>
sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml
<br>
mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs
<br>
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
<br>
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
<br>
ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print
<br>
debug backtrace help-mode find-func .emacs finder-inf info package
<br>
easymenu browse-url url url-proxy url-privacy url-expand url-methods
<br>
url-history url-cookie url-domsuf url-util mailcap url-handlers
<br>
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
<br>
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
<br>
byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric
<br>
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
<br>
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
<br>
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
<br>
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
<br>
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
<br>
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
<br>
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
<br>
cp51932 hebrew greek romanian slovak czech european ethiopic indian
<br>
cyrillic chinese composite charscript charprop case-table epa-hook
<br>
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
<br>
loaddefs faces cus-face macroexp files window text-properties overlay
<br>
sha1 md5 base64 format env code-pages mule custom widget
<br>
hashtable-print-readable backquote threads dbusbind inotify lcms2
<br>
dynamic-setting system-font-setting font-render-setting cairo
<br>
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
<br>

<br>
Memory information:
<br>
((conses 16 237418 22864)
<br>
 (symbols 48 15091 0)
<br>
 (strings 32 75289 3389)
<br>
 (string-bytes 1 1916083)
<br>
 (vectors 16 22714)
<br>
 (vector-slots 8 306359 25686)
<br>
 (floats 8 41 58)
<br>
 (intervals 56 1029 11)
<br>
 (buffers 984 16))
<br>

</div>
</div>

--00000000000002670e05b7216f42--




Acknowledgement sent to dalanicolai <dalanicolai@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#45392; 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: Sat, 23 Jan 2021 23:00:02 UTC

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