help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with fill mode


From: Charles Jamieson
Subject: problem with fill mode
Date: Tue, 18 May 2004 21:02:15 GMT
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]