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
Message #26 received at 62447 <at> debbugs.gnu.org (full text, mbox):
> Cc: 62447 <at> debbugs.gnu.org
> Date: Sat, 25 Mar 2023 23:13:58 +0100
> From: Manuel Giraud via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Juri Linkov <juri <at> linkov.net> writes:
>
> > I guess this is because the default value of `desktop-globals-to-save'
> > contains:
> >
> > tags-file-name
> > tags-table-list
>
> Yes that's it! I'm starting Emacs without desktop-save-mode on:
> tags-table-list and tags-file-name are both nil. I do a desktop-read
> and tags-table-list is set to ("/home/manuel/emacs-repo/lib/TAGS") and
> tags-file-name is set to "/home/manuel/emacs-repo/lib/TAGS".
>
> > 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.
>
> Maybe they could be removed from `desktop-globals-to-save'.
No need. You should be able to fix this by "M-x visit-tags-table",
specifying the TAGS file you want Emacs to use.
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.