From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: spasmous2 Newsgroups: gmane.emacs.help Subject: Use C syntax highlighting with other extension Date: Fri, 20 Mar 2009 16:45:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: 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 1237613626 697 80.91.229.12 (21 Mar 2009 05:33:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2009 05:33:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 21 06:35:03 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 1LktrJ-0005rq-JS for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 06:35:01 +0100 Original-Received: from localhost ([127.0.0.1]:34073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lktpw-0006Ui-PB for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 01:33:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n33g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 4 Original-NNTP-Posting-Host: 132.239.142.130 Original-X-Trace: posting.google.com 1237592731 10071 127.0.0.1 (20 Mar 2009 23:45:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 20 Mar 2009 23:45:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n33g2000pri.googlegroups.com; posting-host=132.239.142.130; posting-account=ncfGGAoAAACF2UeTuTcJ6PAyMvLk0mth User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167854 X-Mailman-Approved-At: Sat, 21 Mar 2009 01:31:37 -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:63152 Archived-At: I have some files that are mostly C code, but have an extension .d rather than .c. How can I make emacs use C syntax highlighting with these .d files? If I rename the files with a .c then all works nicely but I would like to keep the .d extension. Thanks.