From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40152: 27.0.90; icomplete vs recursive prompts Date: Sat, 21 Mar 2020 15:36:35 +0200 Message-ID: <837dzdesnw.fsf@gnu.org> References: <87wo7ex4z6.fsf@gmail.com> <83k13edv67.fsf@gnu.org> <87v9mxsxtk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="9893"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40152@debbugs.gnu.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 21 14:37:12 2020 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 1jFeJL-0002TK-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 14:37:11 +0100 Original-Received: from localhost ([::1]:36800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFeJK-0000J2-Nb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 09:37:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50342) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFeJC-0000Ii-R4 for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 09:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFeJB-00069F-SC for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 09:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFeJB-00068p-OV for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 09:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFeJB-0007CJ-Li for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 09:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Mar 2020 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40152 X-GNU-PR-Package: emacs Original-Received: via spool by 40152-submit@debbugs.gnu.org id=B40152.158479780427634 (code B ref 40152); Sat, 21 Mar 2020 13:37:01 +0000 Original-Received: (at 40152) by debbugs.gnu.org; 21 Mar 2020 13:36:44 +0000 Original-Received: from localhost ([127.0.0.1]:46128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFeIu-0007Be-0z for submit@debbugs.gnu.org; Sat, 21 Mar 2020 09:36:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFeIs-0007BQ-08 for 40152@debbugs.gnu.org; Sat, 21 Mar 2020 09:36:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jFeIm-0005Q6-R3; Sat, 21 Mar 2020 09:36:36 -0400 Original-Received: from [176.228.60.248] (port=4703 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jFeIm-0007Z9-24; Sat, 21 Mar 2020 09:36:36 -0400 In-Reply-To: <87v9mxsxtk.fsf@gmail.com> (message from =?UTF-8?Q?K=C3=A9vin?= Le Gouguec on Sat, 21 Mar 2020 13:21:27 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177595 Archived-At: > From: Kévin Le Gouguec > Cc: 40152@debbugs.gnu.org > Date: Sat, 21 Mar 2020 13:21:27 +0100 > > >> The identifier prompt is replaced with the etags prompt as soon as a > >> single character is typed. While in the etags prompt, one can use > >> icomplete commands (e.g. TAB, C-.) as well as C-q CHAR to input > >> characters one-by-one. > > > > What would you like to happen instead? > > When the etags prompt interrupts the xref prompt, I'd like the etags > prompt to remain uninterrupted until I exit it (with e.g. RET/C-j). In > particular, self-inserting characters do not cause the xref prompt to > come back. > > For example, if I'm in a buffer whose default-directory is the root of > the Emacs source repository (e.g. in a Dired buffer, visiting the > Makefile…) and I hit C-. You mean, M-., right? >(and point is not on something that looks like an identifier), How do you do that? If I type M-. in *scratch*, Emacs doesn't ask me whether to visit a tags table (because the major mode is emacs-lisp). I need to visit a C file in src/ or lib-src/, but then all I need to type at the prompt is RET, nothing else. And if I do the above from a Dired buffer which shows the Emacs's root directory, then I get the prompt about visiting the tags table without any "Find definitions" prompt, and the problem doesn't happen. So please show the exact recipe for how to reproduce the problem you see. > here's what happens: > > 1. the "Find definitions of" prompt appears, > 2. I start typing an identifier, > 3. the "Visit tags table" prompt interrupts, > 4. I'd like to input "src/ C-j", but every self-inserting character > makes the prompt go back-and-forth between "Find definitions of" and > "Visit tags table". Worse, when the prompt comes back to "Visit tags > table", any character I had previously input has disappeared. So the problem happens _after_ the prompt, not _with_ the prompt. That wasn't quite clear, at least to me, from your original report: there was no sign in it what was the actual problem and what was the expected and result. Now I think it's becoming clearer, thanks.