emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacement of spaces in wdired


From: Chris Moore
Subject: Re: Replacement of spaces in wdired
Date: Thu, 07 Dec 2006 19:29:05 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Chong Yidong <address@hidden> writes:

> martin rudalics <address@hidden> writes:
>
>> It is large because it also tries to handle permission bits correctly.
>
> Have you tried Martin's patch?  Does it work for you?  Please reply to
> the list, thanks.

I hadn't tried it, but I just did.

It seems to behave very well, allowing me to use query-replace and
only replacing what it should, and the permission bit editing works
nicely too.

One problem I found is that it allows me to edit the last space in the
" -> " string that indicates a symbolic link.

If I have a symbolic link "a -> b" in the directory I'm editing, I can
delete the 2nd space, leaving "a ->b", and when I hit C-c C-c, I end
up with "a -> /dev/null".

Doing a query replace of " " with "." when there are symlinks present
also replaces the " " which follows each "->".

This isn't something the patch attempted to address, but it's
something that should be addressed I think.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]