unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Charles Jamieson <cjamieson@no.junk>
Subject: problem with fill mode
Date: Tue, 18 May 2004 21:02:15 GMT	[thread overview]
Message-ID: <rRuqc.31496$6f5.2980136@attbi_s54> (raw)

I can't get emacs to automatically place c files into fill mode.  I have 
tried the following lines in .emacs:

	(auto-fill-mode 1)

	(auto-fill-mode t)

	(add-hook 'C-mode-hook
           '(lambda () (turn-on-auto-fill)))

	(add-hook 'C-mode-hook
           '(lambda () (auto-fill-mode t))

	(add-hook 'C-mode-common-hook
           '(lambda () (auto-fill-mode t))

Here is a copy of my entire message buffer, in case anyone thinks 
another startup file is interfering with my .emacs file.

Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/aspell-init.el 
(source)...done
Loading 
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el 
(source)...
Loading encoded-kb...done
Loading 
/usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...done
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Loading mwheel...done
Loading delsel...done
Loading cc-styles...done
For information about the GNU Project and its goals, type C-h C-p.
Loading cc-mode...done
Loading lazy-lock...done
Fontifying main.cpp... (regexps...................)
Loading lazy-lock...done
Loading view...done
Mark set [4 times]


-charles

             reply	other threads:[~2004-05-18 21:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18 21:02 Charles Jamieson [this message]
2004-05-18 22:58 ` problem with fill mode Kevin Rodgers
2004-05-18 23:49   ` Charles Jamieson

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='rRuqc.31496$6f5.2980136@attbi_s54' \
    --to=cjamieson@no.junk \
    /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).