all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "James K. Lowden" <jklowden@speakeasy.net>
To: help-gnu-emacs@gnu.org
Subject: changing tags-file-name
Date: Tue, 5 Dec 2017 11:31:56 -0500	[thread overview]
Message-ID: <20171205113156.06ec0d0e12f0c20750c49187@speakeasy.net> (raw)

I decided to broaden a tags search by scanning from a higher point in
the source tree.  So I want to tell xref to use a different file.  But
set-variable says there's no such variable: 


The name of the file AIUI is tags-file-name, which C-h v describes as: 

tags-file-name is a variable defined in ?etags.el?.
Its value is
"/home/jklowden/projects/3rd/libdwarf/code/dwarfgen/TAGS"

  This variable is safe as a file local variable if its value
  satisfies the predicate ?stringp?.

Documentation:
File name of tags table.
To switch to a new tags table, setting this variable is sufficient.
[...]

When I use M-x set-variable, it rejects tags-file-name.  For
"tags-" completion it says, 

Possible completions are:
tags-add-tables 	tags-apropos-additional-actions
tags-apropos-verbose 	tags-case-fold-search
tags-compression-info-list 	tags-loop-revert-buffers
tags-revert-without-query 	tags-table-list
tags-tag-face

Why would emacs display a variable name, document that setting is
fine, and not be able to set it?  

Is there an easier way to change the tags file name (or add one and
drop one) that I'm overlooking? 

Thanks.  

--jkl


--jkl


             reply	other threads:[~2017-12-05 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 16:31 James K. Lowden [this message]
2017-12-08 10:35 ` changing tags-file-name Eli Zaretskii
     [not found] ` <mailman.5332.1512729333.27995.help-gnu-emacs@gnu.org>
2017-12-14 16:39   ` James K. Lowden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171205113156.06ec0d0e12f0c20750c49187@speakeasy.net \
    --to=jklowden@speakeasy.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.