all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathon Isaac Swiderski <jonswid@umich.edu>
Subject: Re: .emacs can only turn on auto-fill for text-mode *not* c-mode!?!?
Date: Thu, 9 Jan 2003 17:37:35 -0500	[thread overview]
Message-ID: <Pine.SOL.4.44.0301091729150.13478-100000@mspacman.gpcc.itd.umich.edu> (raw)
In-Reply-To: <bf23f78f.0301071756.7b219859@posting.google.com>

On 7 Jan 2003, Christian Seberino wrote:

> This works great in .emacs for text mode...
>
> (setq default-major-mode 'text-mode)
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
>
>
> However, this does *not* work for c-mode...
>
> (add-hook 'c-mode-hook 'turn-on-auto-fill)

What do you mean, "it does not work"?  Are you getting an error message
(please post it!), or does it simply appear that nothing is happening?

Likely nothing is happening --- if c-mode uses the text-mode hook, then
auto-fill-mode is already on, and emacs is likely finding it rather
difficult to turn on what is already on.


-- 
Jonathon Isaac Swiderski \\ dangercat-20@dangercat.net
cs.oberlin.edu/~jswiders  \\  www.dangercat.net/resume

a cow is of bovine ilk
one end is moo
the other milk

  reply	other threads:[~2003-01-09 22:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08  1:56 .emacs can only turn on auto-fill for text-mode *not* c-mode!?!? Christian Seberino
2003-01-09 22:37 ` Jonathon Isaac Swiderski [this message]
2003-01-09 22:58   ` Barry Margolin

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

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

  git send-email \
    --in-reply-to=Pine.SOL.4.44.0301091729150.13478-100000@mspacman.gpcc.itd.umich.edu \
    --to=jonswid@umich.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.