help-gnu-emacs
[Top][All Lists]
Advanced

[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 12:16:45 -0800
User-agent: G2/1.0

On 1 fev, 16:47, "Vols" <volunte...@gmail.com> wrote:
> Thanks. It works with  adding   "(setq truncate-lines nil)"
> but after I use 'C-x 3' to create two frames, the 'truncation' doesn't
> work for either frame.
>
> Vol
>
> On Feb 1, 11:37 am, "HS" <hug...@gmail.com> wrote:
>
> > 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

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 got to make use of emacs documentation features. The info above
is from C-h v on truncate-lines)

Regards
HS



reply via email to

[Prev in Thread] Current Thread [Next in Thread]