GNU bug report logs - #53956
27.1; Make xref--current-item public

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Felician Nemeth <felician.nemeth@HIDDEN>; dated Sat, 12 Feb 2022 12:46:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 53956 <at> debbugs.gnu.org:


Received: (at 53956) by debbugs.gnu.org; 21 Feb 2022 01:00:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 20:00:44 2022
Received: from localhost ([127.0.0.1]:34236 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLx4G-0004EN-8W
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 20:00:44 -0500
Received: from mail-wr1-f43.google.com ([209.85.221.43]:41959)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1nLx4E-0004EA-It
 for 53956 <at> debbugs.gnu.org; Sun, 20 Feb 2022 20:00:42 -0500
Received: by mail-wr1-f43.google.com with SMTP id k1so24309706wrd.8
 for <53956 <at> debbugs.gnu.org>; Sun, 20 Feb 2022 17:00:42 -0800 (PST)
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:references:from:in-reply-to
 :content-transfer-encoding;
 bh=Fvrx6NndkIM31qKj6np5JkkaL5/Pb4Ff/k3hUe55AE8=;
 b=QXkR+d9nArZTo5MhjiZguopu9SQeWNqaJDaP8S0WLDvrpb1cSJMn95jhlNsKw7zFTW
 X6MJMqAlFIoxGqCmDjYbYTW2R1SwC1L0lWUYPuEULQ5f6NJuhPdaCEQMt6G4pzKkaLJg
 0Pk3BWP1lbSEEgIePDX1M0k/MC30Tp61jiuRjUP/3q0tXCrmdUmjIB8ZWG4gxH+WOdA9
 3jp1Hpb15Vu9hk4ro43UhEr2FHaEwFznfSK3Gexpq+ZWXsn3MiFTVbCSHbuh/6XEMpKR
 52o0s2qbpV5zLlrO2Qiw0ncYpgpf0OyB00gr6eWC31ypOsiRpzrNOZYwreTiyHRPQ64z
 FXTg==
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:references:from:in-reply-to
 :content-transfer-encoding;
 bh=Fvrx6NndkIM31qKj6np5JkkaL5/Pb4Ff/k3hUe55AE8=;
 b=K0OJi2aFx0qjTWNR0j9l8lXW3D8hIGhcd/ZNE2+2JgPQsxs5B9ADnXXSuf4Bs32Yxw
 +8ThDXivoJwjjmlbjQOFaADKI6OcA46SttESNtHWNUnLghUo7pZGAxUtoa/ct6hKH2Qf
 rbQrk1d1IxYSpajptjkRAwblUXS4W0W8lxwi33A2KHw9sq094MOEDhoP2FPwP1Apv/Nm
 /7s+mxTN11tNPTcbjz8/Ysr5D55pzaXQlmq+IdzbQF+g93kpJ4RPFLSvL4m3ARKWU073
 YajnNfEr6GGPT7ewfCmO28jMUrWybANiI/wgushI2x5Fd+BvJ9jf0EO8y5ysjkrNlpnI
 6NPg==
X-Gm-Message-State: AOAM530dkVW9hVwyUVeUN1+OdXRNWlG2EucUBnrAVyj67cB5FY7cZnq5
 y8PehRk8zATdVbu8sfJ+Lg8=
X-Google-Smtp-Source: ABdhPJyzlBITXTXGA0NGH/mV4qVCwSYmLVooPw52JW/edTgeeyKoRE04goawi6qnF8nt+OOyiySyiw==
X-Received: by 2002:a5d:4391:0:b0:1d8:4623:7e81 with SMTP id
 i17-20020a5d4391000000b001d846237e81mr14167208wrq.586.1645405236656; 
 Sun, 20 Feb 2022 17:00:36 -0800 (PST)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id
 n4-20020a7bc5c4000000b0037e0c62604fsm5958709wmk.14.2022.02.20.17.00.35
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 20 Feb 2022 17:00:36 -0800 (PST)
Message-ID: <9bbefc1e-30c1-b9c6-4c1c-9bd5864bb2a9@HIDDEN>
Date: Mon, 21 Feb 2022 03:00:34 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.5.0
Subject: Re: bug#53956: 27.1; Make xref--current-item public
Content-Language: en-US
To: Felician Nemeth <felician.nemeth@HIDDEN>, 53956 <at> debbugs.gnu.org
References: <87ee489rtk.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
In-Reply-To: <87ee489rtk.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 53956
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On 12.02.2022 14:45, Felician Nemeth wrote:
> Severity: wishlist
> thanks
> 
> Dmitry answered (to my question) in
> https://github.com/joaotavora/eglot/pull/832#issuecomment-1031019256 :
> 
>>> An xref-after-jump-hook processes the last selected item
>>> (xref--current-item) and gives an option to the user to execute the
>>> selected command. However, xref--current-item is private. @dgutov,
>>> is there another way (an api call) to get the selected xref-item?
>>
>> Nope, never considered that the value would be interesting for
>> extensions. You can refer to this name, but it's probably a good idea
>> to rename it (with a compatibility alias, I guess). We can move this
>> to the bug tracker.

Thanks for the report, now done on master (3d2c213ce9).

Should be in the next update, 1.4.0.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53956; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Feb 2022 12:45:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 12 07:45:38 2022
Received: from localhost ([127.0.0.1]:33706 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nIrmU-0006Ls-3N
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 07:45:38 -0500
Received: from lists.gnu.org ([209.51.188.17]:53650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felician.nemeth@HIDDEN>) id 1nIrmS-0006Jx-G7
 for submit <at> debbugs.gnu.org; Sat, 12 Feb 2022 07:45:36 -0500
Received: from eggs.gnu.org ([209.51.188.92]:45386)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felician.nemeth@HIDDEN>)
 id 1nIrmQ-0000OP-AY
 for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2022 07:45:36 -0500
Received: from [2a00:1450:4864:20::536] (port=36660
 helo=mail-ed1-x536.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <felician.nemeth@HIDDEN>)
 id 1nIrmO-0001Kc-42
 for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2022 07:45:33 -0500
Received: by mail-ed1-x536.google.com with SMTP id s7so20281713edd.3
 for <bug-gnu-emacs@HIDDEN>; Sat, 12 Feb 2022 04:45:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:user-agent:face:mime-version;
 bh=ZOn1s9M+KrjjwWLNE1Eh79DD2FWbsbVEVq0biWiJ/uI=;
 b=XgGxrpEctoBp4UbB70FfZLNwv+FJMsMhY96UegWm7uqvIX4j8fkGsN3PNJFjVfmpq1
 G/UInadHf21A8grLXx/7Timdl4sFbp39W1iAmruj1hWnjYcA4c9zuKlFYQaTwH+XSymT
 MOK1gurxMYfmD2INvcecBmZRvFg2toD3Mh4rLLvstEFdzd62WFyJ5CC8X9xc74P0j7Cq
 StPpRjVX6qdgOsvAryKzrehBRovxmzB+e6T5FYLbU2WL6bYRlISYv4ylUEbvnGA6S5CM
 jn5CIAs451PjkW/vE7jFBsP+MQ4k3SJmKZ/kSnadXaiIhVtjfBF5LBCcDuuMLTIQ5p3Z
 TASw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent:face
 :mime-version;
 bh=ZOn1s9M+KrjjwWLNE1Eh79DD2FWbsbVEVq0biWiJ/uI=;
 b=I+6YR2PhCsdOSpTfbAt96tmRI7EicOuNjZXLM4rrAw8xAG8l4YsEgM99ftrkwoaa/c
 6ZLIQvnzK3+t+PDfJWy/kILL2y8dFA2vV5OxeyUZ0sNQfiHm82eoLhna+W+i/X/OTrYt
 3KjKuVws2pIgy2nAKaLxTdglA4hG9t77ltGINLcg0SjHGOGboH/ABzy0JS9igzI4/t2H
 1B2UGjfM6VUciPqTHBgDOzvlX7p0f3RwHKniChpwEh1pJng7v+Y04F7oaVWx0Bw6UYkL
 JEnAwGtN8g6MdBep/GoyFxdiApu2eB6Ah3H7P69/IUFbY2DCl/dKe+7075fI3/jINU1E
 8sJw==
X-Gm-Message-State: AOAM532LwpbNA5YySMO7+AAFWBmCGyc5fwQAPbZH+1ijGu9uN38ZNzWy
 k/LrXrnBgqjPdN3NRjqx2z7OpCEIK8c=
X-Google-Smtp-Source: ABdhPJx1hhJYOTxhlvqgsjuFoW4ehd/q4jEyn4yTEsPpJL/CrcF7FxmR6RZPJ48HDUSEoxfOvNkrpQ==
X-Received: by 2002:a50:f11d:: with SMTP id w29mr4032930edl.89.1644669929263; 
 Sat, 12 Feb 2022 04:45:29 -0800 (PST)
Received: from betli.gmail.com (catv-86-101-66-128.catv.fixed.vodafone.hu.
 [86.101.66.128])
 by smtp.gmail.com with ESMTPSA id i13sm4396049ejo.188.2022.02.12.04.45.28
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 12 Feb 2022 04:45:28 -0800 (PST)
From: Felician Nemeth <felician.nemeth@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.1; Make xref--current-item public
X-Debbugs-Cc: Dmitry Gutov <dgutov@HIDDEN>
Date: Sat, 12 Feb 2022 13:45:27 +0100
Message-ID: <87ee489rtk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWOdXElERN7LDLZs6/l
 0dDQq6TepMcqAAACW0lEQVQ4jWWSzY7bMAyEaSm6mypylxjkroTRvUW8d9lavf+r7NDOZotWQHzg
 lyGHP0Sn5ed9qKrLWWIWos9/QJWIeCSywPNTd/AE0LtwFj7A+3WT5PwfeBrQKcsBnkfwVcNySWQr
 3i34XN6gRNgis/v4uwSKHCD9lPitB0Aq9BHfHX4cgsI7cJJfLdZg/4bbCzoRmkD9MsagQSBDedZi
 CgNxkVSJmSOStTBUBKkywEnEoZzbwWj+ACiVJkF6pOpak2PMCqkMYDpaw+gatLR8atMOrB3JGzmm
 3rSQo+tkxU+UAbhQSgtslULhsXKk6+IyQ1QTzeQB0MzjlpkCEUCeUdviWrwBcxVqpZjP+v0MYPA0
 aq2rvIEZe4GRM0v+9QIB03rsABVSk5y+Mz3LSzExtJLlCCO6dV1uzDQFTBad+gO0TqqL9XE8x4ek
 +orvYiMJgzC8e+r6TqaPaK6QyqVNvoHtsRrooQ6tTi4vgaSkd8wIikodB3B0iIk58avsDdYNajpS
 bSKJ+mQnipGszB6zW4lGgsOkKHE2RWVcBpwhaIv3BYIAu3WsnC7YYKLRchp6w8fRGZIWiZuFsVai
 7gbcUcJEhiDZ3K1+uzZvBlfaEO8oH4MLu6/hrKVM7QpQcIXJFuC1XjfbfKRxNslk94l9cYcEihV2
 HWyNDQAXaLsvnrSyp7HaQhrAn13V6/XW11nh0XINBOEAV+tHK4EvAGNGvEwc0eZw8Vyr56imYEsV
 sOW9jxm/yb9AH1ufqGMviIK7A0Tc/723oM3tJ4HTOu9gDr3ftbdkxfdjsUv5AqWKwyfCYo5WAAAA
 AElFTkSuQmCC
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::536
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::536;
 envelope-from=felician.nemeth@HIDDEN; helo=mail-ed1-x536.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 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,
 PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Severity: wishlist
thanks

Dmitry answered (to my question) in
https://github.com/joaotavora/eglot/pull/832#issuecomment-1031019256 :

> > An xref-after-jump-hook processes the last selected item
> > (xref--current-item) and gives an option to the user to execute the
> > selected command. However, xref--current-item is private. @dgutov,
> > is there another way (an api call) to get the selected xref-item?
> 
> Nope, never considered that the value would be interesting for
> extensions. You can refer to this name, but it's probably a good idea
> to rename it (with a compatibility alias, I guess). We can move this
> to the bug tracker.




Acknowledgement sent to Felician Nemeth <felician.nemeth@HIDDEN>:
New bug report received and forwarded. Copy sent to dgutov@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to dgutov@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#53956; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 21 Feb 2022 01:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.