[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Something smelly here. [.emacs-custom file]
From: |
Reiner Steib |
Subject: |
Re: Something smelly here. [.emacs-custom file] |
Date: |
Fri, 23 Apr 2004 18:57:50 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
On Fri, Apr 23 2004, Harry Putnam wrote:
>> reader@newsguy.com wrote:
[...]
>> > Whenever I close gnus or send a news post something like this
>> > gets written to .emacs-custom:
>> > (custom-set-variables
>> > ;; custom-set-variables was added by Custom -- don't edit or
>> cut/paste it!
>> > ;; Your init file should contain only one such instance.
>> > '(canlock-password "3931d41841769fd6053e719084096803d2381412"))
>> > (custom-set-faces
>> > ;; custom-set-faces was added by Custom -- don't edit or
>> cut/paste it!
>> > ;; Your init file should contain only one such instance.
>> > )
>> > From: reader@newsguy.com
>> > X-Draft-From: ("rec.woodworking" "")
>> >
>> > The first part looks sort of normal although I have no idea what a
>> > `canlock-password' is all about, but the partial mail header is just
>> > wrong.
[...]
> Not really. Finding out what it is and that it can be turned off is
> good of course, but why is it getting written to .emacs-custom in a
> way that breaks init?
Looking at `message-canlock-password' I can hardly believe that an
error in message.el is responsible for that:
,----
| (defun message-canlock-password ()
| "The password used by message for cancel locks.
| This is the value of `canlock-password', if that option is non-nil.
| Otherwise, generate and save a value for `canlock-password' first."
| (unless canlock-password
| (customize-save-variable 'canlock-password (message-canlock-generate))
| (setq canlock-password-for-verify canlock-password))
| canlock-password)
`----
Can you reproduce it? Maybe it's best to submit a bug report via `M-x
gnus-bug RET'. I suspect something fishy in your setup.
Maybe you can also edebug the functions `customize-save-variable'
and/or `custom-save-all' to see what's happening.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/