emacs-devel
[Top][All Lists]
Advanced

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

Re: What happened to wdired.el?


From: Stefan Monnier
Subject: Re: What happened to wdired.el?
Date: 30 Apr 2004 09:42:04 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> I think C-x C-q makes sense for wdired mode.  And the same key could
>> be used to start and finish wdired mode.

Since switching back to dired has irreversible side effects, I'm a bit
nervous about doing it that way.  It would work great tho if wdired was
changed so it doesn't perform the file operations but just records them for
dired so a dired-execute later actually performs them.

> Instead of binding C-x C-q, can it be made to use conditionalized bindings
> contingent on the `buffer-read-only' variable, as modes like diff-mode do?

I don't think we can do that with the current code: when switching to
wdired, we store the "current state" so that at the end we can see what has
changed and apply those changes.  Switching only bindings is not enough.
But if we change dired to constantly keep the "current state", then we
could do that.


        Stefan




reply via email to

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