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: How to set line wrap Date: Mon, 21 Dec 2009 15:56:06 -0800 (PST) Organization: http://groups.google.com Message-ID: <76d3932e-13dd-40e7-b05a-d14eeac56574@q16g2000vbc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1261463484 21614 80.91.229.12 (22 Dec 2009 06:31:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2009 06:31:24 +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 07:31:17 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 1NMyH6-000422-7L for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 07:31:16 +0100 Original-Received: from localhost ([127.0.0.1]:41862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMyH5-0002v6-Vq for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 01:31:16 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!q16g2000vbc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 69.248.200.48 Original-X-Trace: posting.google.com 1261439766 12506 127.0.0.1 (21 Dec 2009 23:56:06 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 21 Dec 2009 23:56:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q16g2000vbc.googlegroups.com; posting-host=69.248.200.48; posting-account=OT4QewoAAAC2yYcxiQu3UX05RaZ6OV1r User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:175713 X-Mailman-Approved-At: Tue, 22 Dec 2009 01:28:45 -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:70793 Archived-At: Hello, Could some tell me how I can set the line wrap to 80 characters? The following is what my ~/.emacs file currently looks like: (set-fill-column 5) ;; Turn on tabs (setq indent-tabs-mode t) (setq-default indent-tabs-mode t) ;; Bind the TAB key (global-set-key (kbd "TAB") 'self-insert-command) ;; Set the tab width (setq default-tab-width 4) (setq tab-width 4) (setq c-basic-indent 4) (load-library "php-mode") (global-font-lock-mode t) As you can see I have set fill column to 5 just to test it. However, My my cursor does not move to the next line after I go pass five characters and I don't see any change in highlighting either. I have also tried C-u 5 C-x f but I did not see any difference. Kindly help.