From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wewwew Newsgroups: gmane.emacs.help Subject: How to force noweb mode to use code-mode? Date: Sat, 15 Aug 2009 10:47:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8441d4e2-9c28-417b-9623-448931556655@c14g2000yqm.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 1250445909 19657 80.91.229.12 (16 Aug 2009 18:05:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 18:05:09 +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:02 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 1Mck6F-00057J-Ir for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 20:04:59 +0200 Original-Received: from localhost ([127.0.0.1]:33421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mck6F-0000HR-6g for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 14:04:59 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!c14g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: 67.119.3.133 Original-X-Trace: posting.google.com 1250358455 29461 127.0.0.1 (15 Aug 2009 17:47:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 15 Aug 2009 17:47:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c14g2000yqm.googlegroups.com; posting-host=67.119.3.133; posting-account=RZ5uTwkAAACKKd_1JWs8luP2Ks9v8SYd 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:172007 X-Mailman-Approved-At: Sun, 16 Aug 2009 14:01:53 -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:67200 Archived-At: Hi, I am using noweb mode in Emacs to write noweb programs (LaTeX + C++). It recognizes LaTeX fine. However, in most cases it cannot recognize C ++ mode correctly. Is there a command to force noweb to drop into the code-mode? That way I can define a hot key to manually convert to code-mode when it is not correct. Thanks! -Wenguang