From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65984 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Problems with `require' in recent changes Date: Tue, 18 Dec 2007 09:29:55 +0900 Organization: Emacsen advocacy group Message-ID: References: <84ejdtxwsg.fsf@incoming.verizon.net> <87ejdmjspc.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197937842 14411 80.91.229.12 (18 Dec 2007 00:30:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 00:30:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 18 01:30:53 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4QMG-0008AH-7n for ged-emacs-devel@m.gmane.org; Tue, 18 Dec 2007 01:30:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4QLx-0000MG-21 for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2007 19:30:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4QLt-0000Ln-0B for emacs-devel@gnu.org; Mon, 17 Dec 2007 19:30:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4QLq-0000Lb-FD for emacs-devel@gnu.org; Mon, 17 Dec 2007 19:30:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4QLq-0000LY-Bg for emacs-devel@gnu.org; Mon, 17 Dec 2007 19:30:26 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J4QLq-0003H8-5B for emacs-devel@gnu.org; Mon, 17 Dec 2007 19:30:26 -0500 Original-Received: from [66.225.201.151] (port=59273 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1J4QLl-000170-Tg; Mon, 17 Dec 2007 18:30:22 -0600 X-Hashcash: 1:20:071218:ding@gnus.org::gJjJ7qpy4iheHTzy:0000EsNr X-Hashcash: 1:20:071218:emacs-devel@gnu.org::4seifpLJg9TwSe7R:0000000000000000000000000000000000000000001JH5 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:rYskB4osPoXyrhR9rZZwRJbxpzo= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:85234 gmane.emacs.gnus.general:65984 Archived-At: >>>>> Glenn Morris wrote: > Glenn Morris wrote: >> (or >> (condition-case nil >> (require 'password-cache) >> (file-error nil)) >> (require 'password)) > Or even shorter: > (if (locate-library "password-cache") > (require 'password-cache) > (require 'password)) Those and the one in CVS are all okay for XEmacs. If anything I like the last one. :)