[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11055: 23.4; move-file-to-trash bug in files.el.gz with patch
From: |
Stefan Monnier |
Subject: |
bug#11055: 23.4; move-file-to-trash bug in files.el.gz with patch |
Date: |
Wed, 21 Mar 2012 22:49:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> 1. Create a file whose name is not a legal regular expression, e.g.,
> =E2=80=9C~/[=E2=80=9C.=20
> 2. Provoke move-to-trash, for instance
> M-x eval-expression
> (move-file-to-trash (expand-file-name =E2=80=9C~/[=E2=80=9C))
> 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.=20=20
Thanks, I used a slightly different patch but it should be fixed now on
the trunk,
Stefan