From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Harold Lee" Newsgroups: gmane.emacs.help Subject: Re: Problem with .emacs Date: 3 Nov 2006 13:47:17 -0800 Organization: http://groups.google.com Message-ID: <1162590437.885082.270850@m7g2000cwm.googlegroups.com> References: <4qvvupFol4vsU2@individual.net> <1162532380.887246.85650@m7g2000cwm.googlegroups.com> <4r04adFol4vsU3@individual.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1162593648 24387 80.91.229.2 (3 Nov 2006 22:40:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Nov 2006 22:40:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 03 23:40:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gg7i8-00085d-40 for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Nov 2006 23:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gg7i7-0004ss-Mf for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Nov 2006 17:40:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 71.142.205.63 Original-X-Trace: posting.google.com 1162590443 21700 127.0.0.1 (3 Nov 2006 21:47:23 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 3 Nov 2006 21:47:23 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m7g2000cwm.googlegroups.com; posting-host=71.142.205.63; posting-account=dyCSqQ0AAAC2SN64Qez3MbcqxgA7rgLi Original-Xref: shelby.stanford.edu gnu.emacs.help:142924 Original-To: help-gnu-emacs@gnu.org 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:38542 Archived-At: Hendrik Bilges wrote: > I guess I should really learn how to write stuff in .emacs... I recommend starting emacs and testing Lisp expressions in the *scratch* buffer (the buffer that comes up by default when emacs starts successfully). Type in an expression and type C-j (hold control + press j) to evaluate it. For example, you can type numbers or strings, in addition to more sophisticated expressions. 42 "hello" (+ 1 2) If you want to browse the list of functions available to you, try C-h f (hold control + press h for help, then press f for functions). Then type TAB and you'll get a completion list of all functions. A lot of the names are descriptive and give you ideas of things to try out. For a more formal education, check out the Gnu Emacs Lisp Reference Manual here: http://www.gnu.org/software/emacs/elisp-manual/ -Harold