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: Adding support for xref jumping to headers/interfaces Date: Mon, 6 Mar 2023 16:23:12 +0200 Message-ID: <661d8615-433a-2c6a-1310-fce05af9337d@yandex.ru> References: <1587ddb6-f631-0890-965a-c7acb5729fa6@yandex.ru> 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="3383"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Helmut Eller , emacs-devel To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 06 15:24:07 2023 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 1pZBl1-0000iQ-K2 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Mar 2023 15:24:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZBkG-0004wz-5c; Mon, 06 Mar 2023 09:23:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZBkD-0004w5-L3 for emacs-devel@gnu.org; Mon, 06 Mar 2023 09:23:17 -0500 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZBkB-0002v3-Rm for emacs-devel@gnu.org; Mon, 06 Mar 2023 09:23:17 -0500 Original-Received: by mail-wr1-x435.google.com with SMTP id q16so9007982wrw.2 for ; Mon, 06 Mar 2023 06:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678112594; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=MbEeBNDjmlxHmxCK9Ck5BOQLECbI/oI8vZOGFIUWHok=; b=gtbz4bUE/GoghwaUI8VqZmTjUyln69aqXccCWj9fyLFEW9bwnq/McwIKk9Jdn16lAi XgvHvt8T/UQbxS7Tiq3lAbLv76TsfJq9ZZhBF1kKFoHkMVqsUdOZwMWhQDCip6z7cmjZ NWecV6GmEg/wDbgv2nwBTpyYr06VI4Hr1h72zA17RAw05qU3Jhz/YBVlLoJbJQLdj4ux ZaN4cm0PsM8JhxiYgi3Ov02S0gAXAAticxDWk3CX9Vc9B7qNk6Y0bqrSILg4AAS3oEDn eAGlYgQfkheiVvPEqfaICzEQKbt6c5elEcNvtmLNYOQokxLztcEXLIq4TPQvwKqPziZx qqcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678112594; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MbEeBNDjmlxHmxCK9Ck5BOQLECbI/oI8vZOGFIUWHok=; b=ZGR7FFCcPYOFxcdEnOFqGhTzzpn5xn7FsNL3mTGB8pvcjY+41sfP4PCQ9yuh1Jlf4X 0dlD7eDhCs+bwUnztQZ9Q1wCpRcmaIz5L19dpASXKLa3adMJvWXxFIrJAbmuK19R5Ha/ kKDpOIq8I1kYh+RwIOaN9HNoX5PE8iv5JerxP8xYGCCBEwMeWC0RaXytJ+C6G8xXYzD+ t3V+rfi3yjwZTIgXfCr6c67Sgvb/Og3f8/Qyoj5BKI+Y7kDbU6kKnc/zoly5S6J9X87A FwVFapZR7402907lrMS2mNEcqQzde4FnHh5tuRxGG0xtV3Wx9SZyPJrA9cUPMOjGCpgY ncog== X-Gm-Message-State: AO0yUKWslzPIMcM0592cZ16MVb3e3Vd1+85wAA7k6YClqAm9ImEvZ9cx PtdgUzBYjfNZ+WDojRv6N2D+3oOfx5A= X-Google-Smtp-Source: AK7set829kStjqhW4b+IUgOE2FmWkgMMHx8UVQzWqzZ1aCXRJaYKnfCH5kLwUlyi8vpFu301xBblEg== X-Received: by 2002:adf:cc84:0:b0:2c7:9ddd:1d37 with SMTP id p4-20020adfcc84000000b002c79ddd1d37mr6933171wrj.21.1678112594295; Mon, 06 Mar 2023 06:23:14 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f2-20020adfdb42000000b002c54fb024b2sm9876978wrj.61.2023.03.06.06.23.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Mar 2023 06:23:13 -0800 (PST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=raaahh@gmail.com; helo=mail-wr1-x435.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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304051 Archived-At: On 06/03/2023 16:15, John Yates wrote: >> But I suppose some simpler languages might have no "extra" searches to >> suggest. I wouldn't necessarily oppose rebinding xref-find-extra in such >> major mode to something different, as long as the command is doing >> something related. > At the very least that expectation should be documented. Better yet > would be to have a concrete example of an appropriate rebinding. I don't have one yet. But this issue is not limited to Xref commands: major modes have been rebinding global key bindings for a long time.