[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3785: 23.0.91; Strangeness involving regexp in directory-files comma
bug#3785: 23.0.91; Strangeness involving regexp in directory-files command used on dir of links
Thu, 09 Jul 2009 00:39:51 +0200
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
On Wed, 08 Jul 2009 10:06:58 -0400 Loyd Fueston <address@hidden> wrote:
> I have files of todo items for various projects and a directory of
> links to those files. A simple function to search those files was
> skipping over links named "misc" and "emacs". The following function
> narrows the problem down. It seems to be a true problem but maybe I'm
> doing something dumb? I use emacs-snapshot, 188.8.131.52 but checked
> using emacs 22.2.1 from Debian Lenny and same problem occurs. Also
> checked with emacs-snapshot started with emacs -Q. Problem is same.
> ;;; ============================================================
> (defun test-links ()
> "This narrows down a problem showing in a more complex program."
> (setq links (directory-files "~/programming/emacs/debug/links" t "[:word:]"
The regexp should be "[[:word:]]"