In case default-directory is / or some substring occuring later in the file name, this will incorrectly be removed in the filter. We need to only remove it when it is preceeded by space (i.e. at the start of the "filename" column). Granted, this also isn't completely fool-proof, but a situation where that could be a problem will hardly ever occur.
In case
default-directory
is/
or some substring occuring later in the file name, this will incorrectly be removed in the filter. We need to only remove it when it is preceeded by space (i.e. at the start of the "filename" column). Granted, this also isn't completely fool-proof, but a situation where that could be a problem will hardly ever occur.As of now I don't know a better solution.