all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: changing tags-file-name
Date: Fri, 08 Dec 2017 12:35:05 +0200	[thread overview]
Message-ID: <83r2s5wlra.fsf@gnu.org> (raw)
In-Reply-To: <20171205113156.06ec0d0e12f0c20750c49187@speakeasy.net> (jklowden@speakeasy.net)

> From: "James K. Lowden" <jklowden@speakeasy.net>
> Date: Tue, 5 Dec 2017 11:31:56 -0500
> 
> 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?  

set-variable only supports user options (a.k.a. "defcustoms").  For
other variables, use

  M-: (setq VAR VALUE) RET

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

You are overlooking "M-x visit-tags-table RET", I think.



  reply	other threads:[~2017-12-08 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 16:31 changing tags-file-name James K. Lowden
2017-12-08 10:35 ` Eli Zaretskii [this message]
     [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=83r2s5wlra.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.