Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I have emacs set to move the the last word at the 80 character mark?

What I mean is this:

Instead of

ran/
ge

I would like emacs to place the whole word range on the next line at the 80 character mark.

Right now emacs will type past 80 characters and and cut the word at the terminal edge.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

There's a Long Lines mode that handles this. Emacs 22 comes with long lines mode, and 23.1 has word wrapping built into the engine; earlier versions can use this elisp script.

share|improve this answer
    
@Michael Mrozek is there a way for the long lines to auto indent to the correct indention level? –  dustin May 4 '13 at 5:34
    
I don't know anything about long lines, I was just trying to make the answer less dependent on the link –  Michael Mrozek May 4 '13 at 6:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.