From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#65631: Xref updates stack in case of error Date: Wed, 30 Aug 2023 19:44:13 +0300 Organization: LINKOV.NET Message-ID: <864jkg4h0i.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34834"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: dmitry gutov To: 65631@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 30 18:48:10 2023 Return-path: Envelope-to: geb-bug-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 1qbOMT-0008o5-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Aug 2023 18:48:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbOMK-0007Hc-7H; Wed, 30 Aug 2023 12:48:00 -0400 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 1qbOMF-0007Gr-Ib for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:47:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbOMF-00033H-Al for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:47:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbOMM-0007iP-KS; Wed, 30 Aug 2023 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: dmitry@gutov.dev, bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2023 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65631 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: dmitry gutov Original-Received: via spool by submit@debbugs.gnu.org id=B.169341403229458 (code B ref -1); Wed, 30 Aug 2023 16:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2023 16:47:12 +0000 Original-Received: from localhost ([127.0.0.1]:53869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbOLX-0007f2-QW for submit@debbugs.gnu.org; Wed, 30 Aug 2023 12:47:12 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:54318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbOLU-0007en-99 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 12:47:10 -0400 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 1qbOLG-00076H-R7 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:46:54 -0400 Original-Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbOLD-0002m6-LB for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:46:54 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 7BB64FF804 for ; Wed, 30 Aug 2023 16:46:46 +0000 (UTC) X-GND-Sasl: juri@linkov.net Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268732 Archived-At: X-Debbugs-CC: Dmitry Gutov 0. emacs -Q 1. move point to any word 2. type 'M-.' (xref-find-definitions) 3. an error is displayed correctly "No definitions found for: This" But the problem is that an unrecognized word is added to the xref stack. So the context menu shows "Go Back", and 'M-,' (xref-go-back) goes back to that word.