From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Sendmail/Mac: initialize correctly [patch] Date: Mon, 26 Dec 2005 13:24:04 -0600 (CST) Message-ID: <200512261924.jBQJO4Q09846@raven.dms.auburn.edu> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135625202 21828 80.91.229.2 (26 Dec 2005 19:26:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Dec 2005 19:26:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 26 20:26:40 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EqxzR-0005lS-N5 for ged-emacs-devel@m.gmane.org; Mon, 26 Dec 2005 20:26:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eqy0f-0006p0-2I for ged-emacs-devel@m.gmane.org; Mon, 26 Dec 2005 14:27:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eqy0P-0006oW-7x for emacs-devel@gnu.org; Mon, 26 Dec 2005 14:27:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eqy0N-0006oH-J0 for emacs-devel@gnu.org; Mon, 26 Dec 2005 14:27:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eqy0N-0006oE-EB for emacs-devel@gnu.org; Mon, 26 Dec 2005 14:27:35 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eqy0F-0005ZD-AE for emacs-devel@gnu.org; Mon, 26 Dec 2005 14:27:27 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.13.3+Sun/8.13.3) with ESMTP id jBQJQBEP019428; Mon, 26 Dec 2005 13:26:11 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id jBQJO4Q09846; Mon, 26 Dec 2005 13:24:04 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: david.reitter@gmail.com In-reply-to: (message from David Reitter on Mon, 26 Dec 2005 12:26:41 +0100) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.1 (manatee.dms.auburn.edu [131.204.53.104]); Mon, 26 Dec 2005 13:26:11 -0600 (CST) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48388 Archived-At: David Reitter wrote: The below patch fixes that; I'm not aware of a more elegant solution (I asked in an earlier thread on Nov 24). Was using custom-reevaluate-setting discussed in that thread? Does it work in your situation? I believe it should work, because the defcustom has no :set function. I do not immediately know what we will have to do in similar situations when there is a :set function, short of pre-loading the file, which might not be desirable. :custom-initialize-reset was supposed to take care of problems with autoloaded defcustoms, but apparently, it does not. Concretely: ===File ~/startup-diff====================================== *** startup.el 12 Dec 2005 20:44:32 -0600 1.391 --- startup.el 26 Dec 2005 12:19:17 -0600 *************** *** 776,781 **** --- 776,782 ---- (custom-reevaluate-setting 'mouse-wheel-down-event) (custom-reevaluate-setting 'mouse-wheel-up-event) (custom-reevaluate-setting 'file-name-shadow-mode) + (custom-reevaluate-setting 'send-mail-function) ;; Register default TTY colors for the case the terminal hasn't a ;; terminal init file. ============================================================