Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: Problems with `require' in recent changes
Date: Tue, 18 Dec 2007 09:29:55 +0900	[thread overview]
Message-ID: <b4mejdk4zgc.fsf@jpl.org> (raw)
In-Reply-To: <gf7ijd9n65.fsf@fencepost.gnu.org>

>>>>> 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. :)

  reply	other threads:[~2007-12-18  0:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 12:04 Dave Goldberg
2007-12-12  3:12 ` Katsumi Yamaoka
2007-12-12  3:15   ` Glenn Morris
2007-12-12  5:39     ` Katsumi Yamaoka
2007-12-12 15:09       ` Stefan Monnier
2007-12-12 20:45         ` Reiner Steib
2007-12-14  0:07           ` Katsumi Yamaoka
2007-12-16 18:32             ` Reiner Steib
2007-12-16 20:22               ` Miles Bader
2007-12-16 20:51                 ` Reiner Steib
2007-12-17  2:25                   ` Glenn Morris
2007-12-17 18:44                     ` Glenn Morris
2007-12-18  0:29                       ` Katsumi Yamaoka [this message]
2007-12-28 19:34                         ` Reiner Steib
2007-12-17 21:45                   ` Dave Goldberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mejdk4zgc.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).