From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Clemens Newsgroups: gmane.emacs.bugs Subject: bug#45177: 27.1; Access to invoking top level command in minibuffer Date: Tue, 12 Jan 2021 09:46:40 +0100 Message-ID: <408bda30-7089-877d-2294-b0b2d9389c69@posteo.net> References: <87czzg8489.fsf@gnus.org> <05fa5ca7-f960-0d3b-4395-f8219456c030@posteo.de> <87mtyh6ga5.fsf@gnus.org> <377c1b01-0990-669e-9cc2-1e18a4508e93@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40074"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 45177@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 12 09:47:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzFKX-000AFr-8W for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 09:47:09 +0100 Original-Received: from localhost ([::1]:56180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzFKW-0000A9-An for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 03:47:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzFKP-00009y-WC for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 03:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzFKP-0005Ta-PB for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 03:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzFKP-0003fv-Ng for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 03:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Clemens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 08:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 45177-submit@debbugs.gnu.org id=B45177.161044121114111 (code B ref 45177); Tue, 12 Jan 2021 08:47:01 +0000 Original-Received: (at 45177) by debbugs.gnu.org; 12 Jan 2021 08:46:51 +0000 Original-Received: from localhost ([127.0.0.1]:59193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzFKE-0003fX-Um for submit@debbugs.gnu.org; Tue, 12 Jan 2021 03:46:51 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:34336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzFKB-0003es-WE for 45177@debbugs.gnu.org; Tue, 12 Jan 2021 03:46:49 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6EB21160063 for <45177@debbugs.gnu.org>; Tue, 12 Jan 2021 09:46:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1610441201; bh=OSVvqbtOWT85gBK0O2zC+Jw7L2tq/BtKN5kKHvad1AI=; h=Subject:From:To:Cc:Date:From; b=M82x2Hq4/bBdm/5LOg/rY8cU7vlBtqB1yDyzDVFIpw0yjhBovuDovqIrMxsGe9H2b q8HMRRhFdHkHPJcMY9YuoMlQxYD7NQc2yzBS40gAvAeDIDSNmLTcnBgjBEkrUwDuZt verz8gRQZ5smLyZ+41rWBxIkfD2sWIMdtiI3gdgK0kbjC/7FUFX1Tj2ahbZD/5z8Hr Hp25+UFxV+xAo0neBnJhvD5TELazE1Jqb8I4qZMKsLiu5AnC8WP5blolU/aFK5QwNX nTqz3QDajU4IM0vHcfF3yZ8zkO1p/LOuKtixwwt+kji1nGxrxokxkGLcsFx8yBzroM uIt5qqoEWXg9w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DFPM454vgz6tmc; Tue, 12 Jan 2021 09:46:40 +0100 (CET) In-Reply-To: <377c1b01-0990-669e-9cc2-1e18a4508e93@posteo.de> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197775 Archived-At: After some experiments, this isn't sufficient for our purposes. What we would really need is identifying the call which invokes the minibuffer session. Having access to the surrounding function call would help, in combination with the prompt text and in some cases completion table data this should work. I guess we need to use advice or would it be possible to expose the surrounding function call of the current minibuffer session? I think having the new variable is still an improvement as one just hadn't access to this sate before and it can be used for other purposes as minibuffer session configuration, too.