all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: HuangMario <guiyang.huang@me.com>
Cc: 21443@debbugs.gnu.org
Subject: bug#21443: 24.5; etags' complete-tag changes the global value of tags-file-name
Date: Thu, 10 Sep 2015 22:06:03 +0300	[thread overview]
Message-ID: <83pp1q3xic.fsf@gnu.org> (raw)
In-Reply-To: <935A139E-4ED1-468D-9B23-CD0999D296F8@me.com>

> From: HuangMario <guiyang.huang@me.com>
> Date: Wed, 09 Sep 2015 21:18:04 +0800
> 
> Step 0. Set the 'tags-file-name' as buffer local to a specified TAGS file, and the global value is nil.
> 
> Step 1. Press M-. to find tags.
> 
> Step 2. Input some characters in the mini-buffer and press the TAB key for completion, then the mini-buffer will display "Making tags completion table for ...done".
> 
> After that, the global value of 'tags-file-name' is set to the same as its local value.
> 
> How can I keep the global value nil ?

According to this doc string:

  (defun visit-tags-table (file &optional local)
    "Tell tags commands to use tags table file FILE.
  FILE should be the name of a file created with the `etags' program.
  A directory name is ok too; it means file TAGS in that directory.

  Normally \\[visit-tags-table] sets the global value of `tags-file-name'.
  With a prefix arg, set the buffer-local value instead.

you are supposed to invoke visit-tags-table manually with a numeric
argument, if you want the local value of tags-file-name set.





  reply	other threads:[~2015-09-10 19:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 13:18 bug#21443: 24.5; etags' complete-tag changes the global value of tags-file-name HuangMario
2015-09-10 19:06 ` Eli Zaretskii [this message]
2015-09-11  0:30   ` Dmitry Gutov
2015-09-11  4:56     ` Eli Zaretskii
2015-09-11 13:59       ` Dmitry Gutov
2015-09-16  2:33         ` HGY
     [not found]   ` <4b3df5cb.21a.14fbb06425d.Coremail.mohu3g@163.com>
2015-09-11  6:57     ` Eli Zaretskii
2015-11-23 22:03       ` Dmitry Gutov

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=83pp1q3xic.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21443@debbugs.gnu.org \
    --cc=guiyang.huang@me.com \
    /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.