Subject: Re: bug#11055: 23.4; move-file-to-trash bug in files.el.gz with patch
From: Stefan Monnier <[email-masked]>
To: David Casperson <[email-masked]>
Cc: [email-masked]
Date: Wed, 21 Mar 2012 22:49:34 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> 1.  Create a file whose name is not a legal regular expression, e.g.,
>     “~/[“. 
> 2.  Provoke move-to-trash, for instance
>     M-x eval-expression
>     (move-file-to-trash (expand-file-name “~/[“))

> The problem comes from using file-names as regular expressions without
> quoting.  Here is a potential patch.  You may use and copy-left as you
> see fit.  

Thanks, I used a slightly different patch but it should be fixed now on
the trunk,

        Stefan