unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: RAYHAN MUKTADER <rmuktader@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to set line wrap
Date: Mon, 21 Dec 2009 15:56:06 -0800 (PST)	[thread overview]
Message-ID: <76d3932e-13dd-40e7-b05a-d14eeac56574@q16g2000vbc.googlegroups.com> (raw)

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.



             reply	other threads:[~2009-12-21 23:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 23:56 RAYHAN MUKTADER [this message]
2009-12-22 12:48 ` How to set line wrap Anselm Helbig
2009-12-22 14:21   ` RAYHAN MUKTADER
2009-12-22 14:32     ` Anselm Helbig
2009-12-22 15:07       ` RAYHAN MUKTADER
2009-12-22 15:16         ` Anselm Helbig
2009-12-22 21:23           ` RAYHAN MUKTADER
2009-12-22 21:54             ` Pascal J. Bourguignon
2009-12-22 22:35             ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76d3932e-13dd-40e7-b05a-d14eeac56574@q16g2000vbc.googlegroups.com \
    --to=rmuktader@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).