[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to set line wrap
From: |
RAYHAN MUKTADER |
Subject: |
Re: How to set line wrap |
Date: |
Tue, 22 Dec 2009 13:23:45 -0800 (PST) |
User-agent: |
G2/1.0 |
On Dec 22, 10:16 am, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> > > > > > Could some tell me how I can set the line wrap to 80 characters?
> > > > [...]
> > > > Thank you for your reply.
> > > > I have already tried C-u 5 C-x f. It did not do anything.
> > > > Are you recommending that I put the following in my ~/.emacs?
>
> > > > (setq-default fill-column 5)
> > > > (add-hook 'php-mode-hook 'turn-on-auto-fill)
>
> > > > I've never tried to personalize Emacs before. So, please correct me
> > > > if I am making a mistake.
>
> > [...]
>
> > I just tried it. I don't notice anything different.
> > What should I be looking for? Should the color change after five
> > characters?
>
> For php-mode auto-fill seems to only work within comments - in general
> it doesn't make much sense to use auto-fill for programming. Start
> typing a PHP comment and you'll see what auto-fill-mode does.
>
> Regards,
>
> Anselm
>
> --
> Anselm Helbig -http://mnemonikk.org/
I did not see any change with comments either. O well. I just wanted
some sort of warning if I exceed 80 characters in a single line.
- How to set line wrap, RAYHAN MUKTADER, 2009/12/22
- Re: How to set line wrap, Anselm Helbig, 2009/12/22
- Re: How to set line wrap, RAYHAN MUKTADER, 2009/12/22
- Re: How to set line wrap, Anselm Helbig, 2009/12/22
- Re: How to set line wrap, RAYHAN MUKTADER, 2009/12/22
- Re: How to set line wrap, Anselm Helbig, 2009/12/22
- Re: How to set line wrap,
RAYHAN MUKTADER <=
- RE: How to set line wrap, Drew Adams, 2009/12/22
- Re: How to set line wrap, Pascal J. Bourguignon, 2009/12/22