Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > emacs and word wrapping

emacs and word wrapping
Thread Tools
Forum Regular
Join Date: Feb 2003
Status: Offline
Reply With Quote
Mar 7, 2003, 02:01 PM
 
Has anyone figured out how to do soft word wrap in emacs? I'm aware of auto-fill, but that does hard wrap (puts in real line breaks). I just want it to look like it's got line breaks, but not write them to file.
     
Dedicated MacNNer
Join Date: May 2002
Status: Offline
Reply With Quote
Mar 9, 2003, 06:42 PM
 
Originally posted by malone:
Has anyone figured out how to do soft word wrap in emacs? I'm aware of auto-fill, but that does hard wrap (puts in real line breaks). I just want it to look like it's got line breaks, but not write them to file.
I have answer but I don't think it is what
you would expect. You have two options
one read the manual to figure out
what C-X command you need for it.

You don't wan't that get the OSX version
of emacs (it's a port from nextstep) you
will find it at the apple download page.

It has a menu option that lets you do soft
wrap (it even adds these cool arrows at the end of the line to show that it is wraping the line ).
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Mar 9, 2003, 10:55 PM
 
Originally posted by theory:
I have answer but I don't think it is what
you would expect. You have two options
one read the manual to figure out
what C-X command you need for it.

You don't wan't that get the OSX version
of emacs (it's a port from nextstep) you
will find it at the apple download page.

It has a menu option that lets you do soft
wrap (it even adds these cool arrows at the end of the line to show that it is wraping the line ).
Unless I'm misunderstanding you, what you're desribing isn't line-wrapping. If you type more than a window's width of text, it will appear to wrap to the next line and put a little arrow there, but what it's actually doing is extending the line beyond the width of the window. All the lines of text that are connected by those little arrows are actually considered to be a single line and, if you look at it, you'll see that it's 'wrapping' in the middle of words, cutting them off.

I'm curious, what are you doing in Emacs that you want it to wrap the lines? If you're trying to use it as a word processor, I'd recommend you teach yourself LaTeX. It'll let you do full formatting and stuff like that and will automatically handle line-wrapping as well as hyphenation. It's what I use for writing all my papers for school.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:41 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2