From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Problems with `require' in recent changes Date: Mon, 17 Dec 2007 05:22:07 +0900 Message-ID: <87ejdmjspc.fsf@catnip.gol.com> References: <84ejdtxwsg.fsf@incoming.verizon.net> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197836554 20433 80.91.229.12 (16 Dec 2007 20:22:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 20:22:34 +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 Sun Dec 16 21:22:45 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 1J400Z-0002Sb-9p for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 21:22:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J400G-0007iT-4U for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 15:22:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J400B-0007fJ-WA for emacs-devel@gnu.org; Sun, 16 Dec 2007 15:22:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J400A-0007ax-7a for emacs-devel@gnu.org; Sun, 16 Dec 2007 15:22:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J400A-0007af-2j for emacs-devel@gnu.org; Sun, 16 Dec 2007 15:22:18 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J4004-0002td-Hi; Sun, 16 Dec 2007 15:22:13 -0500 Original-Received: from 203-216-100-114.dsl.gol.ne.jp ([203.216.100.114] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1J4000-0006U4-MS; Mon, 17 Dec 2007 05:22:08 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 9D4402FF7; Mon, 17 Dec 2007 05:22:07 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Reiner Steib's message of "Sun, 16 Dec 2007 19:32:11 +0100") Original-Lines: 23 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85189 gmane.emacs.gnus.general:65972 Archived-At: Reiner Steib writes: > I have tried to add compatible calls. Please test and feel free to > improve it: > (if (featurep 'xemacs) > (or (load "password-cache" t) > ;; Not all XEmacs versions support `noerror' arg of `require'. > (require 'password)) 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... :-/ -Miles -- It wasn't the Exxon Valdez captain's driving that caused the Alaskan oil spill. It was yours. [Greenpeace advertisement, New York Times, 25 February 1990]