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#62447: 30.0.50; xref default behaviour changed after a desktop-read Date: Sat, 25 Mar 2023 21:25:13 +0200 Organization: LINKOV.NET Message-ID: <86355smy5i.fsf@mail.linkov.net> References: <87lejkvfoa.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8009"; 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: 62447@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 25 20:26:17 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 1pg9Wq-0001vi-U8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Mar 2023 20:26:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pg9We-00075X-Au; Sat, 25 Mar 2023 15:26:04 -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 1pg9Wc-00074t-QH for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 15:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pg9Wc-00071l-Af for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 15:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pg9Wb-0002Pq-UP for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 15:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Mar 2023 19:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62447 X-GNU-PR-Package: emacs Original-Received: via spool by 62447-submit@debbugs.gnu.org id=B62447.16797723589274 (code B ref 62447); Sat, 25 Mar 2023 19:26:01 +0000 Original-Received: (at 62447) by debbugs.gnu.org; 25 Mar 2023 19:25:58 +0000 Original-Received: from localhost ([127.0.0.1]:43539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg9WX-0002PV-Pw for submit@debbugs.gnu.org; Sat, 25 Mar 2023 15:25:58 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:36247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg9WT-0002PF-Sm for 62447@debbugs.gnu.org; Sat, 25 Mar 2023 15:25:56 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id B588E60002; Sat, 25 Mar 2023 19:25:44 +0000 (UTC) In-Reply-To: <87lejkvfoa.fsf@ledu-giraud.fr> (Manuel Giraud via's message of "Sat, 25 Mar 2023 19:39:33 +0100") 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:258623 Archived-At: > I'm using desktop-save-mode and since sometimes when I do a M-. on > function call in a C buffer, Emacs says: > user-error: No definitions found for: scroll_command > > If I start without desktop-save-mode on, this works as usual: Emacs asks > me if I want to read the TAGS table. > > So it may be that some mode loaded by some file opening mess up with > xref default behaviour... I don't know where to start to track this > down. I guess this is because the default value of `desktop-globals-to-save' contains: tags-file-name tags-table-list and the global values for these variables make no sense. They should have project-local values, but project-local values are not saved to the desktop file, only global and buffer-local values.