unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org, Noah Friedman <friedman@splode.com>
Subject: Re: do-after-load-evaluation
Date: Fri, 23 Jun 2006 14:12:08 +0200	[thread overview]
Message-ID: <87k678xe93.fsf@pacem.orebokech.com> (raw)
In-Reply-To: <85lkroi94c.fsf@lola.goethe.zz> (David Kastrup's message of "Fri,  23 Jun 2006 10:12:03 +0200")

David Kastrup <dak@gnu.org> writes:

> Any reason this is not "\\(\\`\\|/\\)foo\\(\\.elc?\\)?\\(\\.gz\\)?\\'"
> instead (should perform better)?

The regexp is built from `load-suffixes' in a place where we can't use
regexp-opt, so it's a simple mapconcat...  I'm not sure if performance
is an important factor in this context, anyway.

> And is there a reason that .elc? is optional?

I don't know about that... it's probably just to make the code do the
same thing as it did before the change.

-- 
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

  reply	other threads:[~2006-06-23 12:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23  3:22 do-after-load-evaluation Noah Friedman
2006-06-23  8:08 ` do-after-load-evaluation Romain Francoise
2006-06-23  8:12   ` do-after-load-evaluation David Kastrup
2006-06-23 12:12     ` Romain Francoise [this message]
2006-06-23 12:14       ` do-after-load-evaluation David Kastrup

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87k678xe93.fsf@pacem.orebokech.com \
    --to=romain@orebokech.com \
    --cc=emacs-devel@gnu.org \
    --cc=friedman@splode.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).