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.devel Subject: Re: Add xref-find-references-other-window and xref-find-references-other-frame to xref.el Date: Fri, 5 Aug 2022 03:12:44 +0300 Message-ID: References: <87iln7kdyt.fsf@posteo.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="40733"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: "emacs-devel@gnu.org" To: Philip Kaludercic , David Morgan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 05 02:13:51 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oJkyL-000ALr-Bt for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Aug 2022 02:13:49 +0200 Original-Received: from localhost ([::1]:53988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJkyJ-0005st-Hf for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Aug 2022 20:13:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJkxW-0005DG-PB for emacs-devel@gnu.org; Thu, 04 Aug 2022 20:12:58 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJkxV-0004eN-0S for emacs-devel@gnu.org; Thu, 04 Aug 2022 20:12:58 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id l4so1454902wrm.13 for ; Thu, 04 Aug 2022 17:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KtAB5mSSQ4hhfBgnZsxJNPk0pPw7Q33e/xz0FeoBPQE=; b=eninVkfJgSC6akPCwlMdiMG1o9NsA5p/6OeMQgg7X/Xztgm1ezXKhm58NgDpX2Xiz2 JdIp7DLSOq7sxX1D8L1gClhMVV/Lfx67CXGagnXhiVUSdcPaR9Gw5JuomxRi6IAAr1KU eaE2zWAWN8Ew3j8m1Ftn0a/c5Fohe4GIHDa3OXaq5E7i6QqmrB7QRYLFVs/Zq8BtCW4R D4Baoihmm0oBA91xflI2Tv6M9wyB1pmKivfl/yjFrDUqm12zNjM/5hvZURcV9Oei5qlF HHVr4jM1h/QSnkIOZ84S3OW82kwIDwG+yJTlaIT54DEOlOZVidulGnFmKTb4GybOliEW Gu7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KtAB5mSSQ4hhfBgnZsxJNPk0pPw7Q33e/xz0FeoBPQE=; b=1ybqKUssPh7JM4u4PrHLRt6grr1lz69e5/ZOiurl3bRNz3znRVUp+WEn9Gibk54fl0 ty2gZGykDk8tpaOAK6quSKvx4LbwXNxE9InwYlibsAumI3VwGQU/8WKWVm5wL+C6Qmef ruxr5NBG+KlgO0fxMi+YHbXVxxqIJcfMalQaQpTiqxPanKk/5TVHLw9gx6Tllj/7zJnm IPoqt4iT0UHZOnj/Z+IiVGAQ2cuKOyPPY/GH31sobdHuo2PrJPASxeHhv2KCnf+Zg6Kh x6ET7Gc9C8NKjBu8mfJRvsN+VMnF80URDImbyCBbUOQND5jgrSfdRUBqw7v50tbrZ0VA 3wzA== X-Gm-Message-State: ACgBeo1CPcWBaGcI6b5REkGRn1YsDzmtHcYVGdHtHy4++HMU2IrWoV1T FoVClgCqEPxZfmGROBxHXeM= X-Google-Smtp-Source: AA6agR44kR6ckYWbrXSncwv3GiV+8onfUdKIUOagErakte5nEsS2tCYfFkluUtV8ofucT27hgoigCw== X-Received: by 2002:a05:6000:1888:b0:21d:beeb:7873 with SMTP id a8-20020a056000188800b0021dbeeb7873mr2708854wri.393.1659658366421; Thu, 04 Aug 2022 17:12:46 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id l8-20020a05600c4f0800b003a17ab4e7c8sm8291319wmq.39.2022.08.04.17.12.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Aug 2022 17:12:46 -0700 (PDT) Content-Language: en-US In-Reply-To: <87iln7kdyt.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293095 Archived-At: On 04.08.2022 22:26, Philip Kaludercic wrote: > David Morgan writes: > >> I would like to add the functions xref-find-references-other-window and xref-find-references-other-frame (plus keybindings to xref.el). >> >> We already have xref-find-definitions-other-window (C-x 4 .) and xref-find-definitions-other-frame (C-x 5 .), but xref-find-references (M-?) has no equivalent other-window/frame versions. > Are these really necessary, considering that the prefix-commands C-x 4 > 4/C-x 5 5 already exists? C-x 4 . (as opposed to C-x 4 M-.) is already > a bit confusing, and overriding ?, that some people use instead of C-h > to list the bindings under a prefix might not help. I'm inclined to agree. David, how do you feel about typing the slightly longer sequences 'C-x 4 4 M-?' and 'C-x 5 5 M-?' rather than having separate commands?