From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "narke" Newsgroups: gmane.emacs.help Subject: Re: Problem With Emacs Lisp Mode Date: 26 Jun 2005 23:19:28 -0700 Organization: http://groups.google.com Message-ID: <1119853168.565687.224890@g14g2000cwa.googlegroups.com> References: <877jgh5nzu.fsf@narke.yellow.line> <1119846018.854668.134710@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1119854811 32056 80.91.229.2 (27 Jun 2005 06:46:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2005 06:46:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 08:46:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DmnOB-0005am-13 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2005 08:46:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmnVl-0002Wx-23 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2005 02:54:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 219.131.240.240 Original-X-Trace: posting.google.com 1119853174 31279 127.0.0.1 (27 Jun 2005 06:19:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 27 Jun 2005 06:19:34 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=219.131.240.240; posting-account=RpLXtg0AAAAfLVV4lujiv8RuGyR8hLEW Original-Xref: shelby.stanford.edu gnu.emacs.help:132187 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:27662 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27662 Barry Margolin wrote: > 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. it says, C-e runs the command move-end-of-line > > -- > Barry Margolin, barmar@alum.mit.edu > Arlington, MA > *** PLEASE post questions in newsgroups, not directly to me ***