From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Adding support for xref jumping to headers/interfaces Date: Sun, 05 Mar 2023 16:57:16 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9726"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 05 16:57:43 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 1pYqk2-0002Rj-UL for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Mar 2023 16:57:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYqjp-0001hR-Ry; Sun, 05 Mar 2023 10:57:29 -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 1pYqji-0001f3-Hn for emacs-devel@gnu.org; Sun, 05 Mar 2023 10:57:24 -0500 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYqjg-0001qO-3B for emacs-devel@gnu.org; Sun, 05 Mar 2023 10:57:22 -0500 Original-Received: by mail-wm1-x32d.google.com with SMTP id o11-20020a05600c4fcb00b003eb33ea29a8so3862384wmq.1 for ; Sun, 05 Mar 2023 07:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678031838; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1M0ADxOpBwEZEArGESiviDKfJZTUUyWwe+W6dk58xVA=; b=dJAaD4JPaAS+seJWXMl6rNo4CKVYk1Iyl/5YHNRw56nB+pg+YLz9kRmVd1kd2FWMIP 1mJ0WY0xMqdifS4TBVdXf2+TjIcPyF03xshbrkl46xX/envZtz8optSdAdSR1RG4sTfG xR1Nxm/+6xlk0hG0m3rL8YZ0llCKGXX86Vvwc2CtlG8SirlyIh5BjN+isAEGgOoSeL3P 1T11If7IZGe+TeJPNxH+ZZKv2+TNFZ7Cuk/lhjSBii7MaHWAs8gnRoPRi3RGp2yL3oQb trBGRC+ckTbQ/yc9NzfkNH+e13HcgweXCxxX9nGVIyfpazc746hqnNWhS3AextKnHGkz /l4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678031838; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1M0ADxOpBwEZEArGESiviDKfJZTUUyWwe+W6dk58xVA=; b=IpBm8a7CZZMJmydVUIHd5apTT9u1EKAb5npM7ZEkKLmdFYPzGZmQplRqBdjb0UwmsO k2u0izfHA7/4/bGfro+xbxgtT6Fc3eEXMEDMR+MD7kfS5uIcEEZS4nRk9ka5NLYxge3R sSzOSwe2VB2QCPUy5H9LqdeHKbT8BHuUkDtnql0UFWd8nEdmbHNqUfVhrwBmA/9pzWng pFoDPLADTL4/KQzmo4g5xNpYKP0aNgen6YqMDILFYKCFIryaazo/T9y3AcsDDERkFUio UXlBmkzu2/OF8z43SOtNnkG1MWJcjP+0fXonRrVEXoSSH1mO9H0zKZYLCfw5HWQMlBMt SbVA== X-Gm-Message-State: AO0yUKW0TnzWe/M5D+bX1Z64AG7y6iDhnCjo3AVACzZwQ4KawRSoM5EW 83qHptIpXrndDxbtxfDvHQIhtbr6XL4= X-Google-Smtp-Source: AK7set97KccP7BQQEZlWl3/uvXOcl8/wjnDjpJDp0DM/GD1765OVZlwkOdubfRsiu82m25ncJVZKag== X-Received: by 2002:a05:600c:4f50:b0:3eb:2b88:5af2 with SMTP id m16-20020a05600c4f5000b003eb2b885af2mr6846095wmq.20.1678031837893; Sun, 05 Mar 2023 07:57:17 -0800 (PST) Original-Received: from caladan (dial-180179.pool.broadband44.net. [212.46.180.179]) by smtp.gmail.com with ESMTPSA id he5-20020a05600c540500b003e2058a7109sm11514364wmb.14.2023.03.05.07.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 07:57:17 -0800 (PST) In-Reply-To: (Dmitry Gutov's message of "Sun, 5 Mar 2023 14:03:37 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=eller.helmut@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:303988 Archived-At: On Sun, Mar 05 2023, Dmitry Gutov wrote: > On 05/03/2023 11:59, Helmut Eller wrote: >> I think that it's a bad idea to add language specific commands to xref. >> The next thing is that we have commands for jump-to-variable and >> jump-to-constant and jump-to-macro ... >> It would be better to leave those commands in the language specific >> mode >> with the C-c prefix. > > Is it still a problem if the command applies to a lot (most) of languages? It still creates this problem: as a user I don't know which command to use, the more specific or the more general or both. Helmut