From owner-freebsd-questions Wed Aug 15 6:27: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp04.prc.uic.edu (comp04.prc.uic.edu [128.248.230.104]) by hub.freebsd.org (Postfix) with SMTP id 1FC1737B410 for ; Wed, 15 Aug 2001 06:27:00 -0700 (PDT) (envelope-from lucas@comp04.prc.uic.edu) Received: (qmail 5824 invoked by uid 1000); 15 Aug 2001 13:27:21 -0000 Date: Wed, 15 Aug 2001 08:27:21 -0500 From: Lucas Bergman To: Mike Meyer , Bsd Newbie Cc: questions@freebsd.org Subject: Re: emacs customization Message-ID: <20010815082721.F4491@comp04.prc.uic.edu> Reply-To: lucas@slb.to References: <97961687@toto.iv> <15226.24762.196847.277544@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <15226.24762.196847.277544@guru.mired.org>; from mwm@mired.org on Wed, Aug 15, 2001 at 06:44:58AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 15, 2001 at 06:44:58AM -0500, Mike Meyer wrote: > Bsd Newbie types: > > Where can I find an easy to understand tutorial or how-to that > > describes how to customize emacs. I want to change the colors, > > allow text coloring for html and perl as well as indentation and > > all that nice stuff. > > I don't know which emacs you are using, but Xemacs has all that > stuff in the menus. If you don't have such in your version, you > might try installing the xemacs port instead. Of course, how you > customize those packages depends on which html/perl/etc. editing > package you are using. That is nice, and, no, FSFmacs doesn't have that. I gave up on XEmacs and went back to FSFmacs a while ago, but I'm having trouble remembering why... To the original poster: Learn to use mode hooks, which are mentioned in the tutorial I reference below. > > I believe this has something to do with an .emacs or site-start.el > > file. I know nothing about lisp... and I simply need a quick way > > to customize emacs to make it more conducive to what I'm doing. > > Considering that both .emacs and site-start.el are lisp files, > you're going to have to learn some elisp in order to customize emacs > using those files. Right, although M-x customize handles quite a bit, at least in FSFmacs 20. > Finally, the only tutorial I've seen on configuring emacs is from > the FreeBSD developers handbook ... There is an extensive elisp tutorial in the gnu/emacs directory on GNU FTP archives. GNU also sells print copies of it along with the Elisp manual. I highly recommend it, with the caveat that it's written as an absolute zero-assumption tutorial, so it will gives experienced programmers hives until they get used to the style. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message