From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "James K. Lowden" Newsgroups: gmane.emacs.help Subject: changing tags-file-name Date: Tue, 5 Dec 2017 11:31:56 -0500 Organization: http://www.NewsDemon.com Message-ID: <20171205113156.06ec0d0e12f0c20750c49187@speakeasy.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1512491739 31802 195.159.176.226 (5 Dec 2017 16:35:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 16:35:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 05 17:35:36 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMGBy-00085A-QB for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 17:35:34 +0100 Original-Received: from localhost ([::1]:50856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMGC5-0002lZ-Sa for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 11:35:41 -0500 X-Received: by 10.36.118.21 with SMTP id z21mr10976447itb.18.1512491518060; Tue, 05 Dec 2017 08:31:58 -0800 (PST) Original-Path: usenet.stanford.edu!193no1922383itr.0!news-out.google.com!s63ni3582itb.0!nntp.google.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx28.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: Sylpheed 3.4.3 (GTK+ 2.24.28; x86_64--netbsd) Original-Lines: 41 Original-X-Complaints-To: abuse@newsdemon.com Original-NNTP-Posting-Date: Tue, 05 Dec 2017 16:31:57 UTC X-Received-Bytes: 1797 X-Received-Body-CRC: 4144742100 Original-Xref: usenet.stanford.edu gnu.emacs.help:221122 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115234 Archived-At: 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:=20 The name of the file AIUI is tags-file-name, which C-h v describes as:=20 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,=20 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? =20 Is there an easier way to change the tags file name (or add one and drop one) that I'm overlooking?=20 Thanks. =20 --jkl --jkl