From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wenguang Wang Newsgroups: gmane.emacs.help Subject: RefTex keeps asking me which file is the Master file Date: Sat, 15 Aug 2009 10:50:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: <175d5f36-cdb9-46af-853d-633f5bb62c61@r18g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250445956 19815 80.91.229.12 (16 Aug 2009 18:05:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 18:05:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 16 20:05:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mck71-0005Oo-Tj for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 20:05:48 +0200 Original-Received: from localhost ([127.0.0.1]:33921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mck71-0000vs-6z for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 14:05:47 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r18g2000yqd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 67.119.3.133 Original-X-Trace: posting.google.com 1250358637 3586 127.0.0.1 (15 Aug 2009 17:50:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 15 Aug 2009 17:50:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r18g2000yqd.googlegroups.com; posting-host=67.119.3.133; posting-account=InAFkQkAAACPCm6VUn_I6EAHH44f35_G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6; zh-cn) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172008 X-Mailman-Approved-At: Sun, 16 Aug 2009 14:01:54 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67201 Archived-At: Hi, I have a multi-file noweb project. The file type is .mm (to workaround a problem of my IDE debugger). I have also added the following file extensions into my .emacs file: (setq reftex-file-extensions '(("mm" ".mm" "nw" "tex" ".tex") ("bib" ".bib"))) (setq TeX-file-extensions '( "mm" ".mm" "nw" "tex" ".tex" "sty" "cls" "ltx" "texi" "texinfo")) And at the end of each file, I have: %%% Local Variables: %%% mode: Noweb %%% noweb-code-mode: c++-mode %%% TeX-master: "mynowebproj" %%% End: And in mynowebproj.mm file, the TeX-master line is: %%% TeX-master: t However, when I save these .mm files, or when I open TOC on these files using RefTeX, it kept asking me which file is the Master file, very annoying. Can anybody help me with this? Thanks! -Wenguang