unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: JUAN-LEON Lahoz Garcia <juanleon1@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: wdired.el cleanup
Date: Tue, 12 Apr 2005 10:23:47 +0200	[thread overview]
Message-ID: <m3aco4v1ws.fsf@kaliban.madrid.ecid.cig.mot.com> (raw)
In-Reply-To: <jwvpsx140nc.fsf-monnier+emacs@gnu.org>


>>>>> "Stefan" == Stefan Monnier <Stefan> writes:
 > 
 >> [ PS. Is there any reason not to bind C-x C-q in dired-mode-map by
 >> default to wdired-change-to-wdired-mode? IMHO this key combination
 >> is not easy to accidentally hit for wdired unaware users, but easy
 >> to remember for wdired aware users ].
 > 
 > IIRC using C-x C-q is indeed the intention.
 > I can't remembr why I didn't do it at the time, maybe I just got
 > side-tracked.  I do remember there were questions about the wdired->dired
 > direction where users might want to be able to just make the buffer
 > read-only with C-x C-q without wanting to "commit" the changes.

Right now, in wdired mode, successive C-x C-q hist make the buffer to
switch between read only and writable states. If this has no sense,
C-x C-q can be bind by default (in dired-mode-map) to
wdired-abort-changes (to abort), to wdired-finish-edit (to commit) or
to ignore (to avoid confusion).

 > PS: I installed your patch, except for the mistaken change from
 > wdired-mode-hook to wdired-mode-hooks.

Oooops! Thank you very much

--
juanleon

      reply	other threads:[~2005-04-12  8:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11  8:49 wdired.el cleanup JUAN-LEON Lahoz Garcia
2005-04-11 19:02 ` Stefan Monnier
2005-04-12  8:23   ` JUAN-LEON Lahoz Garcia [this message]

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=m3aco4v1ws.fsf@kaliban.madrid.ecid.cig.mot.com \
    --to=juanleon1@gmail.com \
    --cc=emacs-devel@gnu.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).