|
From: | Richard Stallman |
Subject: | Re: convert-standard-filename on w32 does not preserve match-data? |
Date: | Thu, 28 Dec 2006 12:19:00 -0500 |
The code using convert-standard-filename probably already feels a bit overloaded. convert-standard-filename is an "add on" to what one actually tries to do and it is easily left out. Requiring the coder to also add save-match-data seems like an unnecessary burden in this case and I therefore think that convert-standard-filename should call save-match-data internally. That is how I see it. There will be some cases where for speed it is better not to do save-match-data. But in many cases the cleanliness of adding it is more important than the speed of omitting it.
[Prev in Thread] | Current Thread | [Next in Thread] |