From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Sung Newsgroups: gmane.emacs.devel Subject: Re: guided tour suggestions Date: Thu, 03 May 2007 16:34:42 -0400 Message-ID: <87mz0lfxy5.fsf@phil.mit.edu> References: <200705031803.l43I3Yd29129@f7.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178224517 2239 80.91.229.12 (3 May 2007 20:35:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 May 2007 20:35:17 +0000 (UTC) Cc: Karl Berry , emacs-devel@gnu.org To: daniel@brockman.se, webmasters@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 03 22:35:14 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hji19-00042v-W4 for ged-emacs-devel@m.gmane.org; Thu, 03 May 2007 22:35:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hji7i-000452-8G for ged-emacs-devel@m.gmane.org; Thu, 03 May 2007 16:41:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hji7d-00044o-Ld for emacs-devel@gnu.org; Thu, 03 May 2007 16:41:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hji7d-00044g-9C for emacs-devel@gnu.org; Thu, 03 May 2007 16:41:53 -0400 Original-Received: from biscayne-one-station.mit.edu ([18.7.7.80]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hji14-0001h3-4B; Thu, 03 May 2007 16:35:06 -0400 Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id l43KYoPt021199; Thu, 3 May 2007 16:34:55 -0400 (EDT) Original-Received: from phil.mit.edu (PHIL.MIT.EDU [18.243.2.47]) (authenticated bits=0) (User authenticated as psung@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id l43KYg2L008456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 May 2007 16:34:43 -0400 (EDT) In-Reply-To: <200705031803.l43I3Yd29129@f7.net> (Karl Berry's message of "Thu\, 3 May 2007 13\:03\:34 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0.00 X-detected-kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:70522 Archived-At: karl@freefriends.org (Karl Berry) writes: > From: daniel@brockman.se > > I am reading the newly-installed Emacs guided tour[1] and > taking notes as I go along. Thanks for your fixes! I've incorporated your suggestions (patch below). Could a webmaster please install this patch? Thank you. --Phil ---- Index: tour/index.html =================================================================== RCS file: /web/emacs/emacs/tour/index.html,v retrieving revision 1.6 diff -c -c -r1.6 index.html *** tour/index.html 2 May 2007 11:17:56 -0000 1.6 --- tour/index.html 3 May 2007 20:04:25 -0000 *************** *** 155,161 **** C-aBeginning of line C-eEnd of line M-fForward one word M-bBack one word M-aPrevious sentence M-eNext sentence ! C-vPrevious screen M-vNext screen M-<Beginning of buffer M->End of buffer --- 155,161 ---- C-aBeginning of line C-eEnd of line M-fForward one word M-bBack one word M-aPrevious sentence M-eNext sentence ! M-vPrevious screen C-vNext screen M-<Beginning of buffer M->End of buffer *************** *** 506,513 ****

See (info "(emacs)Regexps") for more information about regexp syntax.

-

Emacs regexps support a superset of Perl's regexp constructs.

-

If you're new to regexps, or you are constructing a particularly complicated regexp, you can use the regexp builder (M-x re-builder). This command pops up a separate window in which you can test out your regexp, and --- 506,511 ---- *************** *** 599,605 ****

Here are some more assorted tools:

! --- 597,603 ----

Here are some more assorted tools:

M-x calcAn RPN calculator.
M-x calendarA calendar.
M-x phases-of-moonShows upcoming quarters of the moon.
! *************** *** 712,717 **** --- 710,716 ---- +
M-x calculatorA calculator.
M-x calendarA calendar.
M-x phases-of-moonShows upcoming quarters of the moon.
C-x )Stop recording macro
C-x ePlay back macro once
C-x e e e...Play back macro multiple times
M-0 C-x ePlay back macro over and over until it fails

For example, this sequence of keys does the exact same transformation that *************** *** 785,791 **** !
C-/Undo
C-u C-/Undo within current region
M-x shellNew shell buffer
C-u M-x shellNew shell buffer with specified name
--- 784,790 ---- !
C-/Undo
C-u C-/Undo within current region
M-x shellSwitch to shell buffer
C-u M-x shellNew shell buffer with specified name
*************** *** 828,841 **** use a separate command which will create a buffer and initialize it for you:

!
M-x shellCreate a new shell buffer
M-x diredCreate a new Dired buffer
!

Emacs ships with a major mode for pretty much every widely used programming ! language (and then some). These major modes provide language-specific ! indentation rules and syntax highlighting, and other language-specific ! commands. For starters:

--- 827,841 ---- use a separate command which will create a buffer and initialize it for you:

!
M-x shellCreate a new shell buffer (or switch to an ! existing one)
M-x diredCreate a new Dired buffer
!

Emacs ships with major modes for many widely used programming languages, ! markup languages, and configuration file formats. These major modes provide ! language-specific indentation rules and syntax highlighting, and other ! language-specific commands. Some examples:

*************** *** 846,851 **** --- 846,855 ----
HTMLInsert and close tags; preview in browser
+

In almost all cases, major modes for unsupported formats are available as + extension packages. You can find many of them + on EmacsWiki.

+

See (info "(emacs)Major Modes") for more information.

Minor modes