From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: New to Emacs Date: Tue, 17 Dec 2002 18:50:40 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8465tscz67.fsf@lucy.cs.uni-dortmund.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040151803 22320 80.91.224.249 (17 Dec 2002 19:03:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 19:03:23 +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 18OMzw-0005nc-00 for ; Tue, 17 Dec 2002 20:03:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OMxH-0003aj-02 for gnu-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2002 14:00:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!pd951ff4e.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 66 Original-NNTP-Posting-Host: pd951ff4e.dip.t-dialin.net (217.81.255.78) Original-X-Trace: fu-berlin.de 1040151550 1001004 217.81.255.78 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.93 (i686-pc-linux-gnu) Cancel-Lock: sha1:wIUC7FrE3LUtvaM6PtRVTu3WlEQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:108228 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4757 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4757 Code Fox writes: > I just downloaded emacs 21.2 for windows. I haven't used it > before. I'm just getting used to navigating and using the control and > meta key commands. Right now I'm kind of overwhelmed by the features > available in emacs. I find it a bit difficult to follow the gnu emacs > manual for a first read. Could someone provide me with links to get > started with emacs? I think people generally suggest to start with the tutorial. After that, you're expected to read those parts of the manual that appear interesting to you. But one problem is to figure out what is interesting, as Emacs uses unusual terms. I suggest to read the glossary first. That tells you about the Emacs terminology. > Also I have a few doubts: > > 1. I use many scripting languages like PHP, ASP, and Python. If I want > to write my own syntax hilighting for a particular language how do > I do it? There are already modes for Python and for PHP. Not sure about ASP. So maybe you don't need to do that much yourself. Usually, you should write a `major mode' for things like syntax highlighting. Emacs comes with files generic.el and generic-x.el. The former provides for a way to fairly simply construct a major mode. The latter contains some examples to learn from. And then there is define-derived-mode which you can use if there is already a major mode that's similar. (Some people suggest to always use define-derived-mode -- if necessary, derive from fundamental-mode...) > 2. I have an IMAP mail account. I configured gnus to retrieve mails > from my IMAP account but I couldn't see all folders. Is there an > email client for emacs which would let me use my IMAP account with > ease, like moving messages between 2 folders? I find that Gnus does let me use my IMAP account `with ease'. But there are two ways to use IMAP with Gnus. One is to create an entry in mail-sources, the other is to use nnimap. The second is what makes Gnus a full-fledged IMAP client. Please provide more details about things you tried. > 3. I use various C++ compilers. How do I configure emacs to compile my > program using a particular compiler? The variable is compile-command. I suggest to always write a Makefile, then the default value will be fine. It is quite easy to write Makefiles. (In simple cases, the Makefiles are simple. In more complicated cases, the Makefiles are more complicated. But such is life...) For example, if your C++ compiler is called dumbledore, then the following one-liner might be enough: CXX=dumbledore > 4. How do I create a custom spell-check dictionary? The standard ispell commands provide for ways to add words to the private dictionary. Did you read the documentation on ispell? -- ~/.signature is: umop ap!sdn (Frank Nobis)