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

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


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


which is bound to the command   forward-sentence
is written


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


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@cs.vassar.edu" with a subject of "unsubscribe" or "help"

Emacspeak Files | Subscribe | Unsubscribe