Hi,
I think I explained my problem badly.
My problem is that although my buffer occupies all the emacs window, the lines don't wrap at the windows edge. They wrap quite a distance before (at about half the window). Is there a solution to this?
Thank you very much for your patience

On 9/6/09, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
On Sunday 06 September 2009 11:45 AM, bar tomas wrote:
On 9/6/09, Suvayu Ali
<fatkasuvayu+linux@gmail.com<fatkasuvayu%2Blinux@gmail.com>>
wrote:

On Sunday 06 September 2009 09:34 AM, bar tomas wrote:

Hi,
How can I set the option "wrap line at edge of window" in the .emacs init
file?
Also, I'd like to disable truncate long lines. Although I have disabled
this
option through the menu/Options, lines continue to be truncated befor the
windows edge. How can I stop truncation of long lines?
Thanks very much


How about put this in your .emacs
(custom-set-variables
       (...other customizations ...)
       '(truncate-lines nil))

Thanks very much.
Does that also make the text wrap around the window?


From the documentation after doing,
`C-h v truncate-lines <RET>'

-------------------------------------------------------------
truncate-lines is a variable defined in `C source code'.
Its value is t

 Automatically becomes buffer-local when set in any fashion.
 This variable is safe as a file local variable if its value
 satisfies the predicate `booleanp'.

Documentation:
*Non-nil means do not display continuation lines.
Instead, give each line of text just one screen line.

Note that this is overridden by the variable
`truncate-partial-width-windows' if that variable is non-nil
and this buffer is not full-frame width.

You can customize this variable.


--
Suvayu

Open source is the future. It sets us free.