From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: RAYHAN MUKTADER Newsgroups: gmane.emacs.help Subject: Re: How to set line wrap Date: Tue, 22 Dec 2009 07:07:10 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <76d3932e-13dd-40e7-b05a-d14eeac56574@q16g2000vbc.googlegroups.com> <87aaxbp437.wl%anselm.helbig+news2009@googlemail.com> <878wcvoz9u.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1261502406 12267 80.91.229.12 (22 Dec 2009 17:20:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2009 17:20:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 22 18:19:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NN8Of-0000np-2p for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 18:19:57 +0100 Original-Received: from localhost ([127.0.0.1]:35653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NN8Oe-0008EO-PT for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 12:19:44 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!t12g2000vbk.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 24.0.112.198 Original-X-Trace: posting.google.com 1261494430 3569 127.0.0.1 (22 Dec 2009 15:07:10 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Dec 2009 15:07:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t12g2000vbk.googlegroups.com; posting-host=24.0.112.198; posting-account=OT4QewoAAAC2yYcxiQu3UX05RaZ6OV1r User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:175726 X-Mailman-Approved-At: Tue, 22 Dec 2009 12:18:13 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70805 Archived-At: On Dec 22, 9:32=A0am, Anselm Helbig wrote: > Hi! > > > > > 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. =A0It 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. =A0So, please correct me > > if I am making a mistake. > > Go on, try it! It won't reformat you hard drive. 8-) Also, Emacs is > all about customization, but you'll have to learn a little bit of > elisp to grasp what is going on. See e.g. > > =A0http://steve-yegge.blogspot.com/2008/01/emergency-elisp.html > > or of course the elisp intro that comes with Emacs. > > HTH, > > Anselm > > -- > Anselm Helbig -http://mnemonikk.org/ I just tried it. I don't notice anything different. What should I be looking for? Should the color change after five characters? I will read the link you've provided. Thank you for your prompt response. It is very much appreciated.