Jump to content

emacs breaks up long line?


Guest quakey
 Share

Recommended Posts

Guest quakey

Hi,

 

I am learning to use emacs and I notice that it always breaks up a long line after I press enter to go to the next line. For example, if i type:

 

abcdefghijdfdfsfjgihiglsjdfijsdlifjdsfdlfisjdfisdjflisdjfdsljfsldfjsdfjsd

 

then i hit enter to go to the next line, it would become

 

abcdefghijdfdfsfjgihiglsjdfijsdlifjdsfdlfisj

dfisdjflisdjfdsljfsldfjsdfjsd

 

Then I would have to move the 2nd line back to the 1st line. It's very annoying. Why does emacs do that??

 

Thank you!

Link to comment
Share on other sites

Hello:

You can set line length using:

C-u 85 C-x f for a line length of 85. You pick the length you want.

default is set at 70

To change existing text to the new length (eg. 85)

place cursur in paragraph to change, then type M-q

where M is meta key; it's alt key on my keyboard.

emacs changes the whole paragraph.

 

Emacs is great; stay with it a while. Good luck.

Link to comment
Share on other sites

Guest quakey

Thanks! It works great.

 

Hello:

You can set line length using:

C-u 85 C-x f for a line length of 85. You pick the length you want.

default is set at 70

To change existing text to the new length (eg. 85)

place cursur in paragraph to change, then type M-q

where M is meta key; it's alt key on my keyboard.

emacs changes the whole paragraph.

 

Emacs is great; stay with it a while. Good luck.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...