I have two tags tables that I would like to be searched/visited when I'm working on one of my R packages. I am able to set them globally with the following code in my .emacs
config file:
(setq tags-table-list '("/R/Source/R-devel-SVN/TAGS" "/gitRepos/DADS/TAGS"))
But I cannot for the life of me figure out how to get the equivalent effect by directives placed in the project's .dir-locals.el
. I've tried each the following (one at a time, of course), and many others, without success:
(nil (tags-table-list ("/R/Source/R-devel-SVN/" "/gitRepos/DADS/"))
((nil (tags-table-list ("/R/Source/R-devel-SVN/" "/gitRepos/DADS/")))
(nil (tags-table-list ("/R/Source/R-devel-SVN/TAGS" "/gitRepos/DADS/TAGS"))
(nil (tags-table-list '("/R/Source/R-devel-SVN/" "/gitRepos/DADS/"))
(nil (tags-table-list . ('("/R/Source/R-devel-SVN/" "/gitRepos/DADS/"))))
(nil . ((tags-table-list . (("/R/Source/R-devel-SVN/" "/gitRepos/DADS/")))))
Perhaps relevant is that setting the following variable does work as expected, which makes me suspect that I'm just missing the right incantation for setting tags-table-list
-- not that the mechanism underlying .dir-locals.el
is broken:
((nil (tags-file-name . "/gitRepos/DADS/TAGS")))
How can I set the value of tags-table-list
using the notation required by .dir-locals.el
?