From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65973 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Problems with `require' in recent changes Date: Sun, 16 Dec 2007 21:51:29 +0100 Message-ID: References: <84ejdtxwsg.fsf@incoming.verizon.net> <87ejdmjspc.fsf@catnip.gol.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197839569 29013 80.91.229.12 (16 Dec 2007 21:12:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 21:12:49 +0000 (UTC) To: ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 16 22:12:59 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 1J40n9-0008SM-Su for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 22:12:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J40mq-0007T2-7P for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 16:12:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J40mm-0007Rz-KX for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:12:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J40ml-0007Rn-Kj for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:12:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J40ml-0007Rk-EU for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:12:31 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J40ml-0002po-Eo for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:12:31 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id lBGLCRgh012718; Sun, 16 Dec 2007 22:12:27 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 8063412CBB; Sun, 16 Dec 2007 22:12:27 +0100 (CET) X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l; 3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2; n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 (Miles Bader's message of "Mon, 17 Dec 2007 05:22:07 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DCC-HP_X86_64_8CPU-Metrics: poseidon 1245; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new 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:85193 gmane.emacs.gnus.general:65973 Archived-At: On Sun, Dec 16 2007, Miles Bader wrote: > Hmmm, how about replacing the > (load "password-cache" t) > in the xemacs case with > (or (featurep 'password-cache) (load "password-cache" t)) > Sort of a "manual" require... :-/ Yes, that would avoid multiple loads of password-cache. So now we have... (if (featurep 'xemacs) ;; Not all XEmacs versions support `noerror' arg of `require'. (or (featurep 'password-cache) (load "password-cache" t) (require 'password)) (or (require 'password-cache nil t) (require 'password))) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/