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: Tue, 04 May 2004 09:05:32 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <877jvssn2g.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> <873c6irfe7.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083653705 12916 80.91.224.253 (4 May 2004 06:55:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 06:55:05 +0000 (UTC) Cc: dann@godzilla.ics.uci.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 08:54:56 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 1BKtpQ-0008Mu-00 for ; Tue, 04 May 2004 08:54:56 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKtpP-0000kD-00 for ; Tue, 04 May 2004 08:54:55 +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 1BKtoX-0004oG-9F for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 02:54:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKtnp-0004nu-Rw for emacs-devel@gnu.org; Tue, 04 May 2004 02:53:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKtnH-0004iz-SC for emacs-devel@gnu.org; Tue, 04 May 2004 02:53:15 -0400 Original-Received: from [66.33.219.19] (helo=spoon.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKtnH-0004is-2s; Tue, 04 May 2004 02:52:43 -0400 Original-Received: from mail.jurta.org (80-235-34-218-dsl.mus.estpak.ee [80.235.34.218]) by spoon.dreamhost.com (Postfix) with ESMTP id 4461613D868; Mon, 3 May 2004 23:52:40 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Mon, 03 May 2004 10:03:23 -0400") 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:22681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22681 Richard Stallman writes: > 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? > > What are the changes in question, and why would they be lost? wdired provides one user-level function `wdired-change-to-wdired-mode' to start editing the file names and two functions to exit wdired-mode: `wdired-finish-edit' and `wdired-abort-changes' with the former committing the changes and the latter aborting them. Both return wdired to dired mode. I proposed to add one user-level function which depending on the user's answer to the question about accepting changes would call either `wdired-finish-edit' or `wdired-abort-changes'. And an option which will allow to assume that the user always wants to accept the changes by answering `yes' and calling `wdired-finish-edit'. -- Juri Linkov http://www.jurta.org/emacs/