From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: How to set line wrap Date: Tue, 22 Dec 2009 15:32:13 +0100 Organization: Freie Universitaet Berlin Message-ID: <878wcvoz9u.wl%anselm.helbig+news2009@googlemail.com> References: <76d3932e-13dd-40e7-b05a-d14eeac56574@q16g2000vbc.googlegroups.com> <87aaxbp437.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1261492982 11653 80.91.229.12 (22 Dec 2009 14:43:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2009 14:43:02 +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 15:42:54 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 1NN5wr-0001Un-QP for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 15:42:53 +0100 Original-Received: from localhost ([127.0.0.1]:49688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NN5ws-0004qh-19 for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 09:42:54 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: news.uni-berlin.de oHSzOcMssY5Oqm8mQdXcCAXFd6Jl+q8/HMWuI/w9wKYYIjcVBrEkABSSKw Cancel-Lock: sha1:S7kDZfxwsv+ZSDlKVsIBrZ9aCuE= In-Reply-To: Mail-Followup-To: Anselm Helbig Original-Xref: news.stanford.edu gnu.emacs.help:175725 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:70800 Archived-At: 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. 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. 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. http://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/