[Top][All Lists]

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

c-ignore-auto-fill is not customizable

From: Jim Hunziker
Subject: c-ignore-auto-fill is not customizable
Date: Wed, 06 Mar 2002 10:13:51 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.8+) Gecko/20020131

In GNU Emacs 21.1.1 (sparc-sun-solaris2.6, X toolkit)
 of 2002-02-26 on grendel
configured using `configure  --prefix=/var/preserve --with-gif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: en_US
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Using customization, I tried to modify c-ignore-auto-fill from its
default, (string cpp code).  Looking at my .emacs after the
customization, I have the following line:
'(c-ignore-auto-fill (quote (string cpp)))
which looks correct.

During the session I make this customization, auto-fill works in code,
as I'd expect.  When I start a new emacs, however, the customization is
ignored.  (But if I check my .emacs, the line is still there.  If I go
into customization again, it says that the current setting is (string
cpp code).)

Somehow, the customization is never read when I start up.

I'm not sure if it's related to the bug, but this customization also
happens to be the first thing customized in my custom-set-variables.
All my other customizations seem to work fine.

Here's my theory about what's causing this bug.  Since
c-ignore-auto-fill is not available for customization until I start
c-mode (in other words, customize-apropos doesn't find it until c-mode
is started), when emacs starts up, it doesn't know about
c-ignore-auto-fill yet.  So it doesn't create the variable, and it waits
until c-mode starts, at which point it's created with the default value,
(string cpp code).


Jim Hunziker

reply via email to

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