From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Problem With Emacs Lisp Mode Date: Sun, 26 Jun 2005 22:46:59 -0400 Organization: Symantec Message-ID: References: <877jgh5nzu.fsf@narke.yellow.line> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119840159 7994 80.91.229.2 (27 Jun 2005 02:42:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2005 02:42:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 04:42:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DmjZu-0002ZI-9S for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2005 04:42:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmjhS-0004AX-N3 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2005 22:50:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 26 Jun 2005 21:47:00 -0500 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) X-Copies-To: never Original-Lines: 27 Original-NNTP-Posting-Host: 24.128.234.87 Original-X-Trace: sv3-BCVrwaDqP7J9FMq2Tcq9mWwzXqFB9XjAOu6tWU4pLQYHcnCPy3KrQ6Cwv+yK26TzlfVgqV3+fxvEIW2!Y3X19a32uXtkJq8LCSAQcUiyrWSzemLSZi76bWXfEA4Ya4rIQSDZhi6O1IqotDtvaYBDKz83jFvo!fz+OV7xQZZMFVz2A/sqxwKZiI7GxhPXjQQ== Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:132184 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:27659 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27659 In article <877jgh5nzu.fsf@narke.yellow.line>, Steven Woody wrote: > everyone knows that a Ctrl-e will move the cursor to the end of current > statement, but in Emacs Lisp mode, it seems no the true to me. Created a .el > file and typed in something like below, > > (setq a 1) > (setq b 2) > > then, i put the cursor on the begin of the first sentence, the do a Ctrl-e, > the cursor will unexpectedly go to the end of the second sentence! has anyone > encountered this kind of problem? i like to share your solution. thanks! Control-e normally goes to the end of the current *line*. Are you talking about Meta-e? Sentences end with a ".", "!", or "?" character followed by whitespace, with an optional close quote or close parenthesis after the punctuation. Your example doesn't have any of these, so it goes to the end of the paragraph. Most of the commands that deal with Lisp expressions are Meta-Control. E.g. M-C-e will go to the end of the current function definition. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***