From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: briwilson2002@hotmail.com (Brian Wilson) Newsgroups: gmane.emacs.help Subject: Programming Syntax Mode Date: 25 Sep 2002 07:37:14 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: <4ec89168.0209250637.257d666b@posting.google.com> NNTP-Posting-Host: localhost.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1032965447 24593 127.0.0.1 (25 Sep 2002 14:50:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2002 14:50:47 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uDV0-0006OX-00 for ; Wed, 25 Sep 2002 16:50:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uDV4-000590-00; Wed, 25 Sep 2002 10:50:50 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 62.254.0.7 Original-X-Trace: posting.google.com 1032964634 22468 127.0.0.1 (25 Sep 2002 14:37:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 25 Sep 2002 14:37:14 GMT Original-Xref: nntp.stanford.edu comp.emacs:74764 gnu.emacs.help:105290 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1843 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1843 Dear All, Apologies for cross-posting firstly.... Do forgive me if this is a simple question, but I have just started using emacs and Linux, two things I am completely new to! I am using emacs at college to program in C and C++ and note that there is syntax highlighting to allow me to see reserved words, etc. Is there a way I can start emacs from the shell with some kind of arguments so that I can not only have highlighting on by default, but so that I can decide which language to do it in? Something like 'emacs --lang=cpp --highlighting --color' ? Any help would be most appreciated. Brian Wilson