unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Juri Linkov <juri@jurta.org>,
	Dan Nicolaescu <dann@godzilla.ics.uci.edu>,
	emacs-devel@gnu.org
Subject: Re: What happened to wdired.el?
Date: 30 Apr 2004 09:42:04 -0400	[thread overview]
Message-ID: <m1pt9psi1i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20040430084333.GA29704@fencepost>

>> 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	other threads:[~2004-04-30 13:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 18:29 What happened to wdired.el? Dan Nicolaescu
2004-04-29  0:21 ` Stefan Monnier
2004-04-29  1:05   ` Dan Nicolaescu
2004-04-29  9:11     ` Juri Linkov
2004-04-29 14:17       ` Stefan Monnier
2004-04-29 14:14     ` Stefan Monnier
2004-04-30  0:47       ` Juri Linkov
2004-04-30  8:43         ` Miles Bader
2004-04-30 13:42           ` Stefan Monnier [this message]
2004-05-02 15:57             ` Juri Linkov
2004-05-03 14:03               ` Richard Stallman
2004-05-04  6:05                 ` Juri Linkov
2004-05-04 20:08                   ` Richard Stallman
2004-05-04 20:39                     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1pt9psi1i.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@godzilla.ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).