[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] Re: extending emms-source-file-exclude-regexp

From: Michael Olson
Subject: [emms-help] Re: extending emms-source-file-exclude-regexp
Date: Thu, 10 Aug 2006 16:20:37 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Yoni Rabkin Katzenell <address@hidden> writes:

> In my .emacs I use the following to define functions for extending the
> exclude list in emms-source-file-exclude-regexp:
> (defmacro emms-with-exclude-regexp (directory-list &rest body)
>   `(let ((emms-source-file-exclude-regexp
>         (concat (or ,emms-source-file-exclude-regexp "")
>                 "\\|\\("
>                 (or (regexp-opt ,directory-list) "")
>                 "\\)")))
>      ,@body))
> I'm not sure if this is generally useful or simply has to do with the
> way I store my music.

Can you show an example of this being used?  I don't see why it would
be useful.

Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

Attachment: pgpFn6C0mW9J5.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]