From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: ancient TAGS references to deleted files remain in memory Date: Thu, 29 Apr 2004 17:41:25 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87hdv2tqbe.fsf@osu.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083275706 28845 80.91.224.253 (29 Apr 2004 21:55:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2004 21:55:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 29 23:54:57 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJJUe-0003eV-00 for ; Thu, 29 Apr 2004 23:54:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJJMQ-0001Qj-11 for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Apr 2004 17:46:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!dhcp26143213.columbus.rr.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: dhcp26143213.columbus.rr.com (24.26.143.213) Original-X-Trace: news.uni-berlin.de 1083274887 16220201 I 24.26.143.213 ([70547]) Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:pfrcTS5RI7FwksXHDT1ASzmSg7Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:122846 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.emacs.help:18135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18135 I rebuild my TAGS files often (like 3 times per hour) via find /some/projectdir -name "*.c" -o "*.cpp" -o "*.h" I have two of these files in tags-table-list. By updating TAGS files often, new methods, variables, etc. that I add in my code are frequently picked up automatically by the time I want to visit them with M-. or M-x tags-search. However, sometimes, I delete files from my project directories, yet the TAGS file must still somehow contain some entries in memory that reference these deleted files. I get errors like the following during M-x tags-search: Opening input file: no such file or directory, /some/projectdir/STORM/quality/system/stormtestbinaryds.cpp where the mentioned filename is one I had deleted. I know I can restart my emacs to get rid of these warnings, but I like to leave emacs running for at least a week if not a month. I've also tried M-x tags-reset-tags-tables followed by M-x visit-tags-table to a newly built TAGS file but that doesn't help either. Is there any other solution to this problem other than restarting emacs? -- Benjamin Rutt