[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem With Emacs Lisp Mode
From: |
Barry Margolin |
Subject: |
Re: Problem With Emacs Lisp Mode |
Date: |
Mon, 27 Jun 2005 00:58:43 -0400 |
User-agent: |
MT-NewsWatcher/3.4 (PPC Mac OS X) |
In article <1119846018.854668.134710@g49g2000cwa.googlegroups.com>,
"narke" <narkewoody@gmail.com> wrote:
> Barry Margolin wrote:
> > In article <877jgh5nzu.fsf@narke.yellow.line>,
> > Steven Woody <narkewoody@gmail.com> 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 ***
Re: Problem With Emacs Lisp Mode, Stefan Monnier, 2005/06/28