[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to set line wrap
From: |
Anselm Helbig |
Subject: |
Re: How to set line wrap |
Date: |
Tue, 22 Dec 2009 16:16:26 +0100 |
> > > > > 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/
- 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 <=
- Re: How to set line wrap, RAYHAN MUKTADER, 2009/12/22
- RE: How to set line wrap, Drew Adams, 2009/12/22
- Re: How to set line wrap, Pascal J. Bourguignon, 2009/12/22