From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Butler Newsgroups: gmane.emacs.help Subject: xref-find-definitions Date: Wed, 24 Feb 2021 12:30:06 -0600 Message-ID: <86wnuxiaj5.fsf@x201.butler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11734"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 24 19:45:53 2021 Return-path: Envelope-to: geh-help-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 1lEzAW-0002wD-TN for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 19:45:53 +0100 Original-Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEzAV-0000ER-Vg for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 13:45:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEz9x-0000E0-BY for help-gnu-emacs@gnu.org; Wed, 24 Feb 2021 13:45:17 -0500 Original-Received: from mail-eopbgr660097.outbound.protection.outlook.com ([40.107.66.97]:34784 helo=CAN01-QB1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEz9u-0005AK-Na for help-gnu-emacs@gnu.org; Wed, 24 Feb 2021 13:45:16 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSZxhV5Quq7Yi3wz9//i/RSfJhaDrTeBC3+C1VN20ZbgU8l0nEn15YxbTfKOHJ8nVvZ38cWZr5IhwXeY0UbQjEuwSguhXQ5ouOKuKNMha9rIoXkwkDCQWbqSpM2L4ni74Tte9zd9iLBg0RbQLK9A86C+pyQ9mRmu2n3W7Vcg8OxlWO6o3Gq+xGenkbeM4RQfcwsmFKqUw1/l62Ps6yyi8Vmy0TOuB7L5YeEOQgubrKE/SsOA0G5wESMHDykuNUaLhVgFMZvedDdgk73brUFr6/MjgNrR8UAHTorPuWzOMUP7vtMoWixz6Effv68Tlye3boNLhxpKR/TmfSlRejtdYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=husaLK4mxbdt2eX6qsby5DEpDjHlET74fySTotBFihk=; b=BuL/qbAK+8j7fkXyZFOBvTUcSVK8d2pyFlApg5MDwdG/nzUIABhTyL9q+Afmlu87qt95pLBy3U3u1ymwCGWboCf7Kshn5XqZ30xt4jFmu7ys3gfbtF3BLPZpy/WGYzztYS61pwyfsvnCPMwWGn9LTI5pw9m6mTpZ3FybgFyNpsYVE0XdqAe8fkmeVdS6SptUNJhRJj9W7hkV1i0pgHflv/nlnOkxFmWdOI7FsUnF3hUinI8+y3pgQfISdZAtXHykcwQaEdExbZ/VSZCBkT/v03Y4Ege40y4a9wzZa/L8TKDUKl4h/wYIrG3Vh8OrgVLD4dSvn2pYewklvQcgfeP+4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=husaLK4mxbdt2eX6qsby5DEpDjHlET74fySTotBFihk=; b=MoQVMvCE5jxWQz/yuZIoAEiOmdPdabWh/cobXT4LUu1YDsF5ZH6xhDLnr9qvmq6gepXwdsSJfPGoC/M1hEE0Ait3YRwys6nleqmEIt/hkShf/ROitpa4IwEkTUYlDOhn/Ne04BTLLkoSOefjFIy/3+RlLKzLbft5lS3AdKDXA9Q= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=umanitoba.ca; Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) by YTOPR0101MB2219.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:24::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.38; Wed, 24 Feb 2021 18:30:10 +0000 Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::89d0:a70e:edeb:5db8]) by YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::89d0:a70e:edeb:5db8%4]) with mapi id 15.20.3868.033; Wed, 24 Feb 2021 18:30:09 +0000 X-Originating-IP: [45.44.33.194] X-ClientProxiedBy: MWHPR21CA0031.namprd21.prod.outlook.com (2603:10b6:300:129::17) To YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from x201 (45.44.33.194) by MWHPR21CA0031.namprd21.prod.outlook.com (2603:10b6:300:129::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.1 via Frontend Transport; Wed, 24 Feb 2021 18:30:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0df890cf-b0a6-42d4-d495-08d8d8f2374f X-MS-TrafficTypeDiagnostic: YTOPR0101MB2219: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H+hM2KJ8lt/RIM5oabrodld9PGg0xMeQ+iyp0bzS5Y/AWD6hJZVoW3DDBNo/hfvg7QQ/FbuqTO1SN+LUW8FVyY0dPcs4l+8bkAg7THjQxrbhlwbg6TNjhQQhjiy+ETy4U2BLWZ7I2ZH2/onBMCGd0YsDZXkTyFL6IFZhHEQ0lU+KcNKh6lacFICUFSpcCR/pqlsROH+/CwoEci+5ATLHkTgjfEYry5zLkOn2z7vWnolclNixYlFvretIQkmw8u3XN8rQSsZTa/LbvWLNDbtMEsScxDY9NVTKB7z5YINokLGUYLhdeRPGgwuzD5U8nyxsVc1V4XCyeA2ohwa/PRvDnbtu+EQM+ZvmaKJo5sWUVc7K7ZRhXljndzB90ULo/SSp44JmuEQTRfEtPz9MgYwtqZ/h7QoGD3rQZO3YrSnal1BWD18WnyXyTAGd2XfFW4/D8ScJeV1b3zCJR3tDO2fbrHi2LpwaQdrzzyqv9G6NKxmUPat9vLnejDxCiKQ95UAYt0y/8OvPAFyak2Mopj28Ng== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(376002)(366004)(136003)(39860400002)(396003)(346002)(4744005)(956004)(52116002)(316002)(9686003)(786003)(6496006)(44832011)(5660300002)(86362001)(26005)(186003)(6666004)(6486002)(3480700007)(66556008)(8936002)(66946007)(66476007)(8676002)(16526019)(6916009)(2906002)(478600001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?UFZKd2lpeVF2cXoxTVJoZlpwWEovZzlsRS8zZGlUMmRoNXRLRnVRcEZBRnJw?= =?utf-8?B?RVY1N1h0WWpFOXptbW82bVB0WDkvOUdES0J4MmxxMHhRNVVzK3MreER4Q1JU?= =?utf-8?B?SExSVzFZK3dDQVUxTnhpOC9JeWpVRldQTGV3aXZTNzZXaE1ZRzl2N1Q0VW9r?= =?utf-8?B?NlBnSHB2OXg2MFZrVE5pY0JWdnVOVXNQM1VuQ1h6VEtwOFJpSFlVeHpUeWlp?= =?utf-8?B?dzdUcE1jcy9WTVBuL2ZPcmRwcnJLZkVLNExQQmdEOS9FQkFXb1dRM3lPNmZj?= =?utf-8?B?TzVPQ1h1TjNRTFhmNUY0d1ArQnBpWEZQdFJ3UGlhZm0yRVJJTGI0Ri9NYzdu?= =?utf-8?B?QzE4aDdRdHRmQi9XRWdORDVoeEVzWGRLcEQzeVlHei9QSkh6ald3NnNvcjVp?= =?utf-8?B?R3Foall6OGdXU3hBNUo4UDNaUWU2UmlzTTUwMzl5OFRHZDVtc3dLdngzQ2VK?= =?utf-8?B?TEcxSVNUZHdqY2J0bWVEWWtodXcrN2FPaHZObDlaOUhWcm9kZG9Fa1M2ZnNJ?= =?utf-8?B?R1JUUXp3OHI1STVFdER2cEZJcmEyKy9RdXpxSDJtQzMwN3ZYaVJuei9GTXZs?= =?utf-8?B?TFpKRjJZZ1VpaVNINmZ3UVBXUVBlVWl3ZHlSdWdsTTNVWFMyczZ4Q3JMS3Uy?= =?utf-8?B?OUYwZTY3UzFKN1l2VEtOQTVROHQrcVVSMlVEam9a X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 0df890cf-b0a6-42d4-d495-08d8d8f2374f X-MS-Exchange-CrossTenant-AuthSource: YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2021 18:30:09.5658 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nTSsOB/ZzYBj6Ua4ME7QZ1eCXV37IWrkr6mpwnOwpkNfY2BYSx+SR23kuaAwxXRsLfhh95DsDl586P4gqkpmFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB2219 Received-SPF: pass client-ip=40.107.66.97; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-QB1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128229 Archived-At: What is the name of the regexp used by xref-find-definitions to determine the identifier? I have looked in xref.el, but I don't see any way to do this. Leo PS: M-. runs the command xref-find-definitions (found in global-map), which is an autoloaded interactive compiled Lisp function in =E2=80=98xref.el=E2=80=99. =20 It is bound to M-., . =20 (xref-find-definitions IDENTIFIER) =20 Probably introduced at or before Emacs version 25.1. =20 Find the definition of the identifier at point. With prefix argument or when there=E2=80=99s no identifier at point, prompt for it. =20 If sufficient information is available to determine a unique definition for IDENTIFIER, display it in the selected window. Otherwise, display the list of the possible definitions in a buffer where the user can select from the list. =20