From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ibrahim Awwal Newsgroups: gmane.emacs.help Subject: Re: Changing emacs syntax highlighting options? Date: Sat, 30 Aug 2008 18:07:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1220146848 18454 80.91.229.12 (31 Aug 2008 01:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2008 01:40:48 +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 31 03:41:42 2008 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 1KZbwi-0001vI-Lq for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Aug 2008 03:41:40 +0200 Original-Received: from localhost ([127.0.0.1]:46056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZbvk-0002bV-28 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Aug 2008 21:40:40 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!x16g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 75.6.224.64 Original-X-Trace: posting.google.com 1220144846 8644 127.0.0.1 (31 Aug 2008 01:07:26 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 31 Aug 2008 01:07:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x16g2000prn.googlegroups.com; posting-host=75.6.224.64; posting-account=Nhdm-woAAAC1TecO2j-AiWqodiXe6ZNo User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161794 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:57137 Archived-At: On Aug 30, 4:15=A0pm, "Lennart Borgman (gmail)" wrote: > Ibrahim Awwal wrote: > > Hi, I'm completely new to emacs. I'm using it for a computer science > > at UC Berkeley, either through PuTTY or Xming. When using Xming I get > > the X version of emacs, which has the options menu and allows me to > > specify syntax highlighting and parenthesis matching. However, for the > > command line version over PuTTY I can't seem to do that. I see the > > same menus at the top but I don't know how to get to them. I've read > > the tutorial but maybe I missed something? Can someone help me enable > > parenthesis matching? It's a lot faster using PuTTY than Xming and I > > don't need the graphical emacs, but programming Scheme is a pain > > without parenthesis matching. Thanks for the help. > > Do you mean show-paren-mode? Do you mean this? http://www.emacswiki.org/cgi-bin/wiki/ShowParenMode This is the contents of my .emacs file: (load-file "~$MASTER/adm/class.emacs") (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/ paste it! ;; Your init file should contain only one such instance. '(case-fold-search t) '(current-language-environment "ASCII") '(global-font-lock-mode t nil (font-lock)) '(show-paren-mode t nil (paren))) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(menu ((((type x-toolkit)) (:width normal :family "Courier"))))) One other question, when I am running emacs and I have two buffers open together (editing on top and scheme on the bottom) in the X version I can click on the top half to get back to my editing window, but with the command line version I can't. I've been resorting to c-x 1 c-x b to switch back to the editing buffer but I'm sure there's a better way. Sorry for my noobishness, I have about two days worth of emacs experience.