emacs-devel
[Top][All Lists]
Advanced

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

Re: wdired


From: Stefan Monnier
Subject: Re: wdired
Date: Mon, 27 Feb 2006 14:01:30 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The patch below attempts to correct this behavior and simplify the code.

>       * wdired.el (wdired-change-to-wdired-mode, wdired-finish-edit,
>         wdired-search-and-rename, wdired-do-symlink-changes,
>         wdired-do-perm-changes): Simplify code.
>       (wdired-preprocess-files, wdired-preprocess-symlinks,
>         wdired-preprocess-perms): Make read-only property of preceding
>         character rear-nonsticky to avoid that it can be modified.  Put
>         old-name and old-link properties on character preceding name and
>         replace put-text-property by add-text-properties.
>       (wdired-get-filename, wdired-get-previous-link): Get old-name
>       and old-link properties from character preceding name and
>       simplify code.
>       (wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit):
>       Make local-map property rear-nonsticky to avoid that text
>       following permissions may be modified.  Use add-text-properties
>       instead of put-text-property when changing a permission bit.
>       (wdired-change-to-dired-mode): Remove stickiness properties.

For what it's worth, the patch looks OK to me.


        Stefan




reply via email to

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