From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: sendmail-program default is determined at compilation time Date: Sat, 02 Sep 2006 18:45:28 -0400 Message-ID: <87bqpxc2gn.fsf@stupidchicken.com> References: <87zmdjdoj9.fsf@candyboy.here> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157237050 32015 80.91.229.2 (2 Sep 2006 22:44:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Sep 2006 22:44:10 +0000 (UTC) Cc: Toby Allsopp , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 03 00:44:08 2006 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 1GJeDZ-0005so-Dt for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2006 00:44:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJeDY-0003hd-RY for ged-emacs-devel@m.gmane.org; Sat, 02 Sep 2006 18:44:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJeDN-0003hY-KP for emacs-devel@gnu.org; Sat, 02 Sep 2006 18:43:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJeDL-0003hM-1p for emacs-devel@gnu.org; Sat, 02 Sep 2006 18:43:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJeDK-0003hJ-Ro for emacs-devel@gnu.org; Sat, 02 Sep 2006 18:43:46 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJeNU-0001eD-Fw; Sat, 02 Sep 2006 18:54:16 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 7AD604F087; Sat, 2 Sep 2006 18:45:28 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 02 Sep 2006 14:09:16 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:59270 Archived-At: Richard Stallman writes: > sendmail-program is defined in paths.el as: > > I think that just moving it to sendmail.el would prevent the value > from being chosen at dump time. Does that work? > > Whether to do this requires a little bit of thought. I think it was > put in paths.el specifically so that the value would be chosen at dump > time. I think the motive for that was to save time when first loading > sendmail.el. > > It is possible that the delay is now insignificant. > Would people please try that change? The delay is indeed insignificant. There is one complication: putting sendmail-program in sendmail.el means that it won't be available unless sendmail.el is loaded (unless we autoload it, which defeats the purpose of setting its default at compile time). I don't know if any other parts of Emacs assume it is available. At worst, we could initialize it in startup.el.