[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: end-of-line command?



   Is there an alternative key binding to move to the end of a line?  

The following expression binds the end-of-line command to 
Control-c Control-e

    (global-set-key "\C-c\C-e" 'end-of-line)

Place your cursor after the expression's closing parenthesis and type
Control-x Control-e

This is the command eval-last-sexp and will bind the command to the
key.  If you are using the Control-c Control-e keybinding for
something else, pick another keybinding.   For example,

    Control-c e

would be

    \C-ce

For the Alt or Meta key, write \M- followed by the key.
For example,     

    Meta-e

which is bound to the command   forward-sentence
is written

    \M-e


Next you know, you will be writing programs in Emacs Lisp!

Please take a look at my introductory book, 
`Programming in Emacs Lisp: an Introduction'
which should be, but is not always, installed in Info as

    emacs-lisp-intro.info

It is designed to be read online in Info and is for people who are not
programmers and who are not necessarily interested in programming, but
who do want to customize or extend their computing environment.

-----------------------------------------------------------------------------
       To unsubscribe or change your address send mail to
"emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe