unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* wdired-change-to-wdired-mode
@ 2010-02-09 22:08 Richard Stallman
  2010-02-10  4:24 ` wdired-change-to-wdired-mode Thamer Mahmoud
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2010-02-09 22:08 UTC (permalink / raw)
  To: emacs-devel

How about giving wdired-change-to-wdired-mode a key binding in Dired
mode?  Craig Muth suggested `r', but there may be an even more natural
choice.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdired-change-to-wdired-mode
  2010-02-09 22:08 wdired-change-to-wdired-mode Richard Stallman
@ 2010-02-10  4:24 ` Thamer Mahmoud
  2010-02-10  6:24   ` wdired-change-to-wdired-mode Thierry Volpiatto
  2010-02-10  6:53   ` wdired-change-to-wdired-mode joakim
  0 siblings, 2 replies; 6+ messages in thread
From: Thamer Mahmoud @ 2010-02-10  4:24 UTC (permalink / raw)
  To: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> How about giving wdired-change-to-wdired-mode a key binding in Dired
> mode?  Craig Muth suggested `r', but there may be an even more natural
> choice.

`E' as in `Editable file names' seems apt.

I think that wdired-mode has the potential of being "destructive" if
turned on unexpectedly by pressing the wrong key. Using a two-key
combination (i.e., Shift+Key) is more safe, IMHO.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdired-change-to-wdired-mode
  2010-02-10  4:24 ` wdired-change-to-wdired-mode Thamer Mahmoud
@ 2010-02-10  6:24   ` Thierry Volpiatto
  2010-02-10 23:04     ` wdired-change-to-wdired-mode Richard Stallman
  2010-02-10  6:53   ` wdired-change-to-wdired-mode joakim
  1 sibling, 1 reply; 6+ messages in thread
From: Thierry Volpiatto @ 2010-02-10  6:24 UTC (permalink / raw)
  To: emacs-devel

Thamer Mahmoud <thamer.mahmoud@gmail.com> writes:

> Richard Stallman <rms@gnu.org> writes:
>
>> How about giving wdired-change-to-wdired-mode a key binding in Dired
>> mode?  Craig Muth suggested `r', but there may be an even more natural
>> choice.
>
> `E' as in `Editable file names' seems apt.
>
> I think that wdired-mode has the potential of being "destructive" if
> turned on unexpectedly by pressing the wrong key. Using a two-key
> combination (i.e., Shift+Key) is more safe, IMHO.

What's the problem with C-x C-q?

,----[ C-h f dired-toggle-read-only RET ]
| dired-toggle-read-only is an interactive compiled Lisp function in
| `dired.el'.
| 
| (dired-toggle-read-only)
| 
| Edit dired buffer with Wdired, or set it read-only.
| Call `wdired-change-to-wdired-mode' in dired buffers whose editing is
| supported by Wdired (the major mode of the dired buffer is `dired-mode').
| Otherwise, for buffers inheriting from dired-mode, call `toggle-read-only'.
| 
| [back]
| 
| ===*===*===*===*===*===*===*===*===*===*===
`----

-- 
Thierry Volpiatto





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdired-change-to-wdired-mode
  2010-02-10  4:24 ` wdired-change-to-wdired-mode Thamer Mahmoud
  2010-02-10  6:24   ` wdired-change-to-wdired-mode Thierry Volpiatto
@ 2010-02-10  6:53   ` joakim
  2010-02-10  7:05     ` wdired-change-to-wdired-mode Miles Bader
  1 sibling, 1 reply; 6+ messages in thread
From: joakim @ 2010-02-10  6:53 UTC (permalink / raw)
  To: Thamer Mahmoud; +Cc: emacs-devel

Thamer Mahmoud <thamer.mahmoud@gmail.com> writes:

> Richard Stallman <rms@gnu.org> writes:
>
>> How about giving wdired-change-to-wdired-mode a key binding in Dired
>> mode?  Craig Muth suggested `r', but there may be an even more natural
>> choice.
>
> `E' as in `Editable file names' seems apt.
>
> I think that wdired-mode has the potential of being "destructive" if
> turned on unexpectedly by pressing the wrong key. Using a two-key
> combination (i.e., Shift+Key) is more safe, IMHO.

I think we already decided on a binding for this, C-x C-q. I use it all the
time. Before the decision I used "r".

>
>
>
-- 
Joakim Verona




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdired-change-to-wdired-mode
  2010-02-10  6:53   ` wdired-change-to-wdired-mode joakim
@ 2010-02-10  7:05     ` Miles Bader
  0 siblings, 0 replies; 6+ messages in thread
From: Miles Bader @ 2010-02-10  7:05 UTC (permalink / raw)
  To: joakim; +Cc: emacs-devel, Thamer Mahmoud

joakim@verona.se writes:
>> I think that wdired-mode has the potential of being "destructive" if
>> turned on unexpectedly by pressing the wrong key. Using a two-key
>> combination (i.e., Shift+Key) is more safe, IMHO.
>
> I think we already decided on a binding for this, C-x C-q. I use it all the
> time. Before the decision I used "r".

How about [remap toggle-read-only] and [remap vc-toggle-read-only] instead?

-Miles,who-uses-a-different-global-binding-for-toggle-read-only

-- 
Optimist, n. A proponent of the doctrine that black is white.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: wdired-change-to-wdired-mode
  2010-02-10  6:24   ` wdired-change-to-wdired-mode Thierry Volpiatto
@ 2010-02-10 23:04     ` Richard Stallman
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2010-02-10 23:04 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: emacs-devel

    What's the problem with C-x C-q?

It seems ok.  It just did not show up when I looked for a binding for
wdired-change-to-wdired-mode.  So I thought there wasn't one.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-10 23:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 22:08 wdired-change-to-wdired-mode Richard Stallman
2010-02-10  4:24 ` wdired-change-to-wdired-mode Thamer Mahmoud
2010-02-10  6:24   ` wdired-change-to-wdired-mode Thierry Volpiatto
2010-02-10 23:04     ` wdired-change-to-wdired-mode Richard Stallman
2010-02-10  6:53   ` wdired-change-to-wdired-mode joakim
2010-02-10  7:05     ` wdired-change-to-wdired-mode Miles Bader

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).