From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#44611: Prefix arg for xref-goto-xref Date: Mon, 16 Nov 2020 00:25:03 +0200 Message-ID: <72e9e5e9-651f-401f-2e26-faaac1b7fdb5@yandex.ru> References: <87k0up68e4.fsf@mail.linkov.net> <99772eb6-5a4e-7cf6-259d-0e9429e6bf97@yandex.ru> <878sb3n0a9.fsf@mail.linkov.net> <48f942f9-a557-0185-25fe-612e78cd9071@yandex.ru> <875z67gd6z.fsf@mail.linkov.net> 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="20571"; 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: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , 44611@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 15 23:26:44 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 1keQTr-0005Gs-SX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 23:26:43 +0100 Original-Received: from localhost ([::1]:54816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keQTq-0008BF-VN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 17:26:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keQTD-00081y-FQ for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 17:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keQTC-0001Qr-Nx for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 17:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keQTC-0007qN-9n for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 17:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Nov 2020 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44611-submit@debbugs.gnu.org id=B44611.160547911330093 (code B ref 44611); Sun, 15 Nov 2020 22:26:02 +0000 Original-Received: (at 44611) by debbugs.gnu.org; 15 Nov 2020 22:25:13 +0000 Original-Received: from localhost ([127.0.0.1]:54476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keQSP-0007pI-By for submit@debbugs.gnu.org; Sun, 15 Nov 2020 17:25:13 -0500 Original-Received: from mail-ej1-f47.google.com ([209.85.218.47]:43657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keQSO-0007p7-93 for 44611@debbugs.gnu.org; Sun, 15 Nov 2020 17:25:12 -0500 Original-Received: by mail-ej1-f47.google.com with SMTP id me8so21765807ejb.10 for <44611@debbugs.gnu.org>; Sun, 15 Nov 2020 14:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=pq0Tgzn62+XgQGkI1021uSCGlwjP5YdKU0RB4QaKgF8=; b=phyt2sKuTEVkVs1txBJp4TSATRc8x/bn72InAK1b/kzy0kWApIYc1HeNOT76GbHhXx CrIfVholDDiYPjHZnIFkDDWn13G8E5HKdl2Jbt25/m/Bqhgau2UNQMqhftAruxhiXGkO ke0Hb7GUk/EQWLZIiKQopoFzC9EKgXZfZL+8apJK8AverV7htYBKAupcXIWMT8iiHG2i KoB7Re3WiIqG3z9bwXRxAzgN7QCc0MuNfduXCgwV+mUWKemRUWidpr4v98mHfyNYu/Oi n2XfkxIGVvxTs6N+x95AExpwth5HtGZ7FJmGXN98pp9x+Uarl9bUO4MMwNfsudycVhs3 5EDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pq0Tgzn62+XgQGkI1021uSCGlwjP5YdKU0RB4QaKgF8=; b=kPWGEN28tkLk6e8shvvbRTcWsAix1Lki0lTK4ACYH6/2n+XlBVNgW5oh1Jg5aF2Oh5 ZwI/U52L32KgaL6HDErXNKG2ZGpOY1Ybn52rGjCAVUNgZmvUfYB7JDGlpkaxGb33UGJB SxmeHUATU9j0EV9svtGSkBrnHnq9KfsurDq7kg/N/3RKOeqyjaRXjN4gt9I4s9nhFziN a2rAcpQ+zK+5hgSw2PPlMM0JSf4jyWRWwhRp6XBhiBVstRNhbcRNidakx85+xk8kaqZi 0UXYtz23Jf1fq3y0dfjdivEotnA9dlyjddzZZ+tu4qpelg9fG/F7/3rA38TWNv+MHq5u JUoA== X-Gm-Message-State: AOAM530MeNAegacWqWliff/BjeJxkiumUXTPCu7f2xnm7TanktYTS/y3 u9HD51dKA8hElFAg/PXNvSs= X-Google-Smtp-Source: ABdhPJwAwWF117Lv1atDoz1cB9/9h+rz00vXpIySPdu4yPq4xcsqZ9GmIsref7D1FMHVtBAwQuC79g== X-Received: by 2002:a17:906:7cc:: with SMTP id m12mr11960390ejc.365.1605479106369; Sun, 15 Nov 2020 14:25:06 -0800 (PST) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id pg24sm9491198ejb.72.2020.11.15.14.25.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Nov 2020 14:25:05 -0800 (PST) In-Reply-To: <875z67gd6z.fsf@mail.linkov.net> 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:193386 Archived-At: On 15.11.2020 21:51, Juri Linkov wrote: >> The original justification for this binding (authored by Joao) was that by >> using it we indicate that the Xref buffer is used for "completion" (picking >> one result), rather then iterating over multiple matches. >> >> That's why it's TAB, because "TAB completion", apparently. Overall, it's >> not obvious, but it kinda makes sense. > > This interpretation of picking one result doesn't fit into my workflow: > I use RET to iterate over multiple matches, then need to close the > *xref* window after visiting the last match, so TAB makes no sense > in this case. Ok, so your scenario is a mix of the two. > I'd expect TAB rather to iterate over multiple matches, > i.e. like TAB in browsers go to the next match. Even in the *Completions* > buffer TAB moves to the next completion. And in icomplete-mode > the closest analogy to picking one result is 'C-j' > (icomplete-force-complete-and-exit). If people like it, I'm totally fine with changing the binding to 'C-j'.