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: Mon, 27 Jun 2005 00:58:43 -0400 Organization: Symantec Message-ID: References: <877jgh5nzu.fsf@narke.yellow.line> <1119846018.854668.134710@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119847996 20329 80.91.229.2 (27 Jun 2005 04:53:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2005 04:53:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 06:53:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DmlcC-00089h-0y for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2005 06:53:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dmljk-0000wG-42 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2005 01:00:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.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 23:58:43 -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: 42 Original-NNTP-Posting-Host: 24.128.234.87 Original-X-Trace: sv3-6itSWgo3yNPiOso7xzeO+yfpxYsKnkPVmNaeax4HKifYDyqu0rSONMSIYRh+hbSLDWNOXV7ZO+qynB9!z4YKbPEXafsg5CKmM+arMSDcSgW+M7KzzKTtntrTz8CnzLsir0BQ5yqK9TG26yAb6uFNnr3jGGWp!V3eZq7nDtHon+NaYfRo3/rtUoA0n9nQsGQ== 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:132186 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:27661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27661 In article <1119846018.854668.134710@g49g2000cwa.googlegroups.com>, "narke" wrote: > Barry Margolin wrote: > > 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. > > no. i did mean Ctrol-e and what i expected is go to the end of current > line. in my example, the Ctrol-e always moves cursor to end of the next > line. but if i split a statement into more than one lines, such as > (setq a > 1) > Ctrol-e will work normally. i do not know why. Sounds like you have some non-standard key bindings. What does C-h c C-e show? For me it says end-of-line. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***