From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: What happened to wdired.el? Date: Sun, 02 May 2004 18:57:04 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <873c6irfe7.fsf@mail.jurta.org> References: <200404281829.i3SITeGK028426@scanner2.ics.uci.edu> <200404290105.i3T15UGK014344@scanner2.ics.uci.edu> <87llkenrol.fsf@mail.jurta.org> <20040430084333.GA29704@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083513762 9460 80.91.224.253 (2 May 2004 16:02:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 May 2004 16:02:42 +0000 (UTC) Cc: emacs-devel@gnu.org, dann@godzilla.ics.uci.edu, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 02 18:02:34 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKJQI-0001PK-00 for ; Sun, 02 May 2004 18:02:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKJQH-0003o3-00 for ; Sun, 02 May 2004 18:02:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKJQ8-00014h-Gw for emacs-devel@quimby.gnus.org; Sun, 02 May 2004 12:02:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKJPz-00011F-Ee for emacs-devel@gnu.org; Sun, 02 May 2004 12:02:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKJPR-0000e5-RA for emacs-devel@gnu.org; Sun, 02 May 2004 12:02:14 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKJPR-0000e0-Hf; Sun, 02 May 2004 12:01:41 -0400 Original-Received: from mail.jurta.org (80-235-32-164-dsl.mus.estpak.ee [80.235.32.164]) by knife.dreamhost.com (Postfix) with ESMTP id 77DDEE40B9; Sun, 2 May 2004 09:01:38 -0700 (PDT) Original-To: Stefan Monnier User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22534 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22534 Stefan Monnier writes: >>> 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. The user can forget to call dired-execute later. But what about C-x C-q asking yes/no question about accepting the changes, and an option to disable such a question? There is already a function `wdired-check-kill-buffer' asking a question, so a similar function `wdired-check-finish-buffer' could be added to finish wdired by C-x C-q safely. -- Juri Linkov http://www.jurta.org/emacs/