From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#44611: Prefix arg for xref-goto-xref Date: Sun, 15 Nov 2020 23:11:04 +0000 Message-ID: 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> <72e9e5e9-651f-401f-2e26-faaac1b7fdb5@yandex.ru> <732f8f42-e305-4b74-a80e-93163d35562b@default> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f108da05b42d6033" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juri Linkov , Dmitry Gutov , 44611@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 16 00:12:14 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 1keRBt-0002ap-OV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 00:12:13 +0100 Original-Received: from localhost ([::1]:52554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keRBs-00083c-R6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 18:12:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keRBi-00083H-My for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 18:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keRBi-0006TF-DK for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 18:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keRBi-0002dZ-7g for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 18:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Nov 2020 23:12: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.160548188810090 (code B ref 44611); Sun, 15 Nov 2020 23:12:02 +0000 Original-Received: (at 44611) by debbugs.gnu.org; 15 Nov 2020 23:11:28 +0000 Original-Received: from localhost ([127.0.0.1]:54542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keRBA-0002cg-4c for submit@debbugs.gnu.org; Sun, 15 Nov 2020 18:11:28 -0500 Original-Received: from mail-io1-f54.google.com ([209.85.166.54]:36880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keRB4-0002cP-1Q for 44611@debbugs.gnu.org; Sun, 15 Nov 2020 18:11:26 -0500 Original-Received: by mail-io1-f54.google.com with SMTP id r12so15445013iot.4 for <44611@debbugs.gnu.org>; Sun, 15 Nov 2020 15:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4+O+15ww7hl7+Uc8Xpme1G2KwnxvvhtAJjXuIf2s4LU=; b=iuL1/feEAkDdFGOClT+sc+S83em4930anXKr/G6/s3CiaYFDQFsVVgYPn2OCBLsMjv I5ZqroXgHeDF7Hxk3cZIM9WPZBQ21n7GFqjcip5TengSHJ2VxnD0xC9XsD8fdzdYClqC 50YURWV+anJ8WaG2NRUghRZjgJX3g2fG5kfE8ihONXFeGE2H9KNwmbINUo1qOVJvwG5n hGixi1J1H5on0b6vhJWgds7ZbH84O6EP3EBKp+myEM5PxW1gUoDIdcLl9b8Rh6GP5/TD Di+nQ365VhqPMU0HAx39GjgTmmqhlg/Na1BxT+5AM+GksGJB8MDjb2WVwW/4RoLcUeGH 431g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4+O+15ww7hl7+Uc8Xpme1G2KwnxvvhtAJjXuIf2s4LU=; b=p/B+p6VSl2Dthy5VCkWZ38o49RlJgUENkZQivM1I6zt6eHO4InAZMf/lrm6tWT6aFo 6ezHK2DWHWnX/HJ68gC/rEobzCItEHLyY6I8SoAon2XdM9zWdlJi/+qq8HZkhKdQUwys kp/G1A4NFUdcLdfapggeN/qRbSXMsLwwplwb/9XKOUb59ACbdsEgVMIAzeHL6osoPOiU S75TlMxXa8Wq6eyaOp6zOotEY/9roxMDIaFoB8UR9nNVFwigLmof74/cImDhfe8gABYa LuoGB7TOfMvQAzpEL6hMQu9LjaCvVOMVQqBvfc+bQVYHEi0UvGF7TL+yuoPvqc0I+mxJ yTkQ== X-Gm-Message-State: AOAM5303VZ/rI00RQQEVIi0CMIeO4VhMuiK4oQ4Kf2hSZUHdX4+cDlmq +QPppR/RX3tinS2LM/YfZphBNuUsqkncF9ZaAQg= X-Google-Smtp-Source: ABdhPJzBFMjFBSBZ8n2ODDKo6MtUThtin/LPqoKWFRbbRaWIqH5fhxpQxrAD5PPYDXcq+QM9z6RPOqzVhVc9nsS1/+I= X-Received: by 2002:a5d:9284:: with SMTP id s4mr6171269iom.165.1605481876488; Sun, 15 Nov 2020 15:11:16 -0800 (PST) In-Reply-To: <732f8f42-e305-4b74-a80e-93163d35562b@default> 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:193390 Archived-At: --000000000000f108da05b42d6033 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As for my take on this, I seem to have proposed C-u RET for this case back in 28814, but Dmitry and Eli opposed it (Eli called it "almost outlandish" :-) ). Since it wasn't a do-or-die thing, I acquiesced and some other binding was found. But indeed I don't think there's any other place in Emacs where C-u RET is a thing. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28814#52 Anyway, if you want to add it now, I have no major objections. It doesn't break any existing use cases. Jo=C3=A3o On Sun, Nov 15, 2020 at 10:54 PM Drew Adams wrote: > > > And in icomplete-mode the closest analogy to picking one result is > 'C-j' > > > > If people like it, I'm totally fine with changing the binding to 'C-j'. > > I don't use xref. Dunno whether it uses the minibuffer. > > But if it does then, FWIW, IMO `C-j' in the minibuffer should > have its usual behavior of inserting a newline. > > The minibuffer lets you do ordinary text editing of your > input, which can be multiline. It should, at least. > > (For the same reason, `?', `SPC' etc. should have their usual, > self-inserting behavior in the minibuffer. It was misguided > to have them show help and complete words. We finally, after > decades, got `SPC' to self-insert for file-name completion, > at least.) > > Just one opinion. > --=20 Jo=C3=A3o T=C3=A1vora --000000000000f108da05b42d6033 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
As for my take on this, I seem to have proposed C-u R= ET for
this case back in 28814, but Dmitry and Eli opposed i= t (Eli
called it "almost outlandish" :-) ).=C2=A0 = Since it wasn't a do-or-die
thing, I acquiesced and some othe= r binding was found.
But indeed I don't think there's any= other place in Emacs
where C-u RET is a thing.

Anyway, if you want to add it now, I have no major objecti= ons.
It doesn't break any existing use cases.
=
Jo=C3=A3o

On Sun, Nov 15, 2020 at 10:54 PM Drew Adams &= lt;drew.adams@oracle.com> w= rote:
> > = And in icomplete-mode the closest analogy to picking one result is 'C-j= '
>
> If people like it, I'm totally fine with changing the binding to &= #39;C-j'.

I don't use xref.=C2=A0 Dunno whether it uses the minibuffer.

But if it does then, FWIW, IMO `C-j' in the minibuffer should
have its usual behavior of inserting a newline.

The minibuffer lets you do ordinary text editing of your
input, which can be multiline.=C2=A0 It should, at least.

(For the same reason, `?', `SPC' etc. should have their usual,
self-inserting behavior in the minibuffer.=C2=A0 It was misguided
to have them show help and complete words.=C2=A0 We finally, after
decades, got `SPC' to self-insert for file-name completion,
at least.)

Just one opinion.


--
Jo=C3=A3o T=C3=A1vora
--000000000000f108da05b42d6033--