From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: jumping to peer parenthesis/brace Date: Thu, 22 Jun 2006 23:57:41 +0200 Message-ID: References: <17562.20992.530727.552706@gargle.gargle.HOWL> <449aec15$0$15786$14726298@news.sunsite.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151013486 28789 80.91.229.2 (22 Jun 2006 21:58:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Jun 2006 21:58:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 22 23:58:04 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 1FtXBY-0002uS-6T for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jun 2006 23:58:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtXBX-0004JO-Pm for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jun 2006 17:57:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FtXBM-0004In-RD for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 17:57:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FtXBJ-0004IS-7Z for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 17:57:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtXBJ-0004IP-2m for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 17:57:45 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FtXMM-00076D-It for help-gnu-emacs@gnu.org; Thu, 22 Jun 2006 18:09:10 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 2EA183A913B; Thu, 22 Jun 2006 23:57:43 +0200 (CEST) Original-Received: from [87.193.44.223] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1FtXBG-0000QS-00; Thu, 22 Jun 2006 23:57:43 +0200 In-Reply-To: <449aec15$0$15786$14726298@news.sunsite.dk> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "Colin S. Miller" X-Mailer: Apple Mail (2.750) X-Sender: Peter_Dyballa@web.de 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:35608 Archived-At: Am 22.06.2006 um 21:14 schrieb Colin S. Miller: > Peter Dyballa wrote: >> Am 22.06.2006 um 10:17 schrieb Pawel: >>> Could You tell me ow to do the following thing: >> Forward-sexp. And there is also backward-sexp. >> -- > > What is the difference between C-M-n (forward-list) and C-M-f > (forward-sexp) ? > For/Backward-sexp works always. A "sexp" is a "balanced expression." I do not understand this concept completely, but as examples I've seen it work over {} and [] and () balanced blocks, as long as the point is at the block but outside of it. If there is none such, the sexp is a word, because it's "balanced" by white space or punctuation? In any case some movement happens. For/Backward-list moves over the block *plus* the characters between the point and the end or beginning of the block. When inside a block, it produces an error, at least in TeX code -- which I really do not like. -- Greetings Pete "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania.