unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to set line wrap
Date: Tue, 22 Dec 2009 15:32:13 +0100	[thread overview]
Message-ID: <878wcvoz9u.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <ef94a9c7-6c21-4e10-b9ea-0eec32062774@h2g2000vbd.googlegroups.com>

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/


  reply	other threads:[~2009-12-22 14:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 23:56 How to set line wrap RAYHAN MUKTADER
2009-12-22 12:48 ` Anselm Helbig
2009-12-22 14:21   ` RAYHAN MUKTADER
2009-12-22 14:32     ` Anselm Helbig [this message]
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=878wcvoz9u.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.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).