[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to re-bound a long line
From: |
HS |
Subject: |
Re: How to re-bound a long line |
Date: |
1 Feb 2007 11:37:33 -0800 |
User-agent: |
G2/1.0 |
On 1 fev, 15:59, Joost Kremers <joostkrem...@yahoo.com> wrote:
> Vols wrote:
> > In my code, I have one line which is very long, for example, this line
> > has 500 words. Emacs only shows 100 words on one screen and I have to
> > move the cursor back to see all the other 400 words. I want emacs to
> > show all the 500 words in one screen.
> > auot-fill-mode looks not working.
>
> i reckon there are no spaces in that line?
>
> try (setq truncate-lines nil).
>
> C-h v truncate-lines RET for more details.
>
> --
> Joost Kremers joostkrem...@yahoo.com
> Selbst in die Unterwelt dringt durch Spalten Licht
> EN:SiS(9)
If you want to actually insert newlines into your text, use fill-
paragraph (or auto-fill).
If you just want to see the lines then "> try (setq truncate-lines
nil)". This will make long lines span over several "screen lines",
accordingly to screen width..
cheers,
hs
Re: How to re-bound a long line, Daniel Rubin, 2007/02/01