GNU bug report logs -
#62447
30.0.50; xref default behaviour changed after a desktop-read
Previous Next
Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>
Date: Sat, 25 Mar 2023 18:40:01 UTC
Severity: normal
Tags: notabug
Found in version 30.0.50
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Cc: 62447 <at> debbugs.gnu.org
> From: Juri Linkov <juri <at> linkov.net>
> Date: Sat, 25 Mar 2023 21:25:13 +0200
>
> > 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.
Why not? How is TAGS different from any other file visited by Emacs,
with respect to desktop-save-mode?
> They should have project-local values, but project-local values are
> not saved to the desktop file, only global and buffer-local values.
We don't force our users to use project.el in order to have some
file-visiting buffers to be saved in the desktop file. E.g., I don't
use project.el, but I do use TAGS all the time, in particular with
Emacs. Emacs supports lists of TAGS tables since time immemoriam, to
let users use M-. and friends with more than a single program.
This bug report was last modified 1 year and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.