all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: proofreading  man/dired.texi
       [not found] <m31xbjtgh4.fsf@naru.home>
@ 2005-02-15 17:27 ` Richard Stallman
  2005-02-15 20:12   ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2005-02-15 17:27 UTC (permalink / raw)
  Cc: emacs-devel

    I have attempted to proofread man/dired.texi.

    L22: dired-x is mentioned. I think "wdired" should be mentioned as
    well.

    L16: Not consistent with the "wdired" minor mode, in which characters
    do insert.

If wdired is inconsistent with dired, I would rather change wdired.
It is less well known and less often used.

Why does wdired allow self-insertion?
Is there a good reason for it?
If not, it would seem to be a bug.

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

* Re: proofreading  man/dired.texi
  2005-02-15 17:27 ` proofreading man/dired.texi Richard Stallman
@ 2005-02-15 20:12   ` Stefan Monnier
  2005-02-16  1:51     ` Miles Bader
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2005-02-15 20:12 UTC (permalink / raw)
  Cc: Joakim Verona, emacs-devel

> Why does wdired allow self-insertion?
> Is there a good reason for it?
> If not, it would seem to be a bug.

The whole purpose of wdired is to allow you to edit your directory (file
names, permissions, ...) directly with self-insert-command, so it's not at
all a bug.


        Stefan

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

* Re: proofreading man/dired.texi
  2005-02-15 20:12   ` Stefan Monnier
@ 2005-02-16  1:51     ` Miles Bader
  2005-02-16  4:46       ` Stefan Monnier
                         ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Miles Bader @ 2005-02-16  1:51 UTC (permalink / raw)
  Cc: rms, Joakim Verona, emacs-devel

On Tue, 15 Feb 2005 15:12:45 -0500, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> > Why does wdired allow self-insertion?
> > Is there a good reason for it?
> > If not, it would seem to be a bug.
> 
> The whole purpose of wdired is to allow you to edit your directory (file
> names, permissions, ...) directly with self-insert-command, so it's not at
> all a bug.

BTW, I noticed that wdired seems to be a bit unintuitive:

 (1) The function name "wdired-change-to-wdired-mode" is bizarre; why
not just `wdired-mode'????  Is there another way one is supposed to
enter it?

 (2) One must hit `C-c C-c' for changes to take effect; this seems a
bit heavy-weight -- why not just RET (which seems to be what other
systems use)?

 (3) Similarly, in analogy to other systems, it might be nice if there
was some obvious visual indication that wdired was active and
filenames "open for editting" -- e.g., if the filenames looked like a
customize-style "input field" (one might even use the same abstract
face for both, e.g. define an `input-field' face, and have customize
inherit from it).

Thoughts?

-Miles
-- 
Do not taunt Happy Fun Ball.

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

* Re: proofreading man/dired.texi
  2005-02-16  1:51     ` Miles Bader
@ 2005-02-16  4:46       ` Stefan Monnier
  2005-02-17 10:35       ` Richard Stallman
  2005-02-17 14:29       ` Matt Hodges
  2 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2005-02-16  4:46 UTC (permalink / raw)
  Cc: emacs-devel, rms, Joakim Verona, miles

>  (1) The function name "wdired-change-to-wdired-mode" is bizarre; why
> not just `wdired-mode'????  Is there another way one is supposed to
> enter it?

If it behaved like a minor mode, that would make sense.  But it behaves more
like a major mode right now, so it makes sense to have a separate command
which does the pre-processing needed before entering the wdired-mode
major mode.  In any case, it's probably more accidental than anything else.

>  (2) One must hit `C-c C-c' for changes to take effect; this seems a
> bit heavy-weight -- why not just RET (which seems to be what other
> systems use)?

I don't know of any other system that allows you to do what wdired does.
Most others I know are more like dired-efap: they allow you to edit just one
file name.

>  (3) Similarly, in analogy to other systems, it might be nice if there
> was some obvious visual indication that wdired was active and
> filenames "open for editting" -- e.g., if the filenames looked like a
> customize-style "input field" (one might even use the same abstract
> face for both, e.g. define an `input-field' face, and have customize
> inherit from it).

Similarly, other systems only provide "one field at a time".  But since
wdired only handles modifications in some fields and not in others, it might
indeed make sense to "highlight" the parts that can be changed.  Maybe with
an `input-field' face.


        Stefan

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

* Re: proofreading man/dired.texi
  2005-02-16  1:51     ` Miles Bader
  2005-02-16  4:46       ` Stefan Monnier
@ 2005-02-17 10:35       ` Richard Stallman
  2005-02-17 14:29       ` Matt Hodges
  2 siblings, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2005-02-17 10:35 UTC (permalink / raw)
  Cc: monnier, joakim, emacs-devel

    BTW, I noticed that wdired seems to be a bit unintuitive:

     (1) The function name "wdired-change-to-wdired-mode" is bizarre; why
    not just `wdired-mode'????  Is there another way one is supposed to
    enter it?

     (2) One must hit `C-c C-c' for changes to take effect; this seems a
    bit heavy-weight -- why not just RET (which seems to be what other
    systems use)?

     (3) Similarly, in analogy to other systems, it might be nice if there
    was some obvious visual indication that wdired was active and
    filenames "open for editting" -- e.g., if the filenames looked like a
    customize-style "input field" (one might even use the same abstract
    face for both, e.g. define an `input-field' face, and have customize
    inherit from it).

    Thoughts?

They all seem like good ideas--I think you should change them.
But it would be good to talk with the wdired maintainer first.

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

* Re: proofreading man/dired.texi
  2005-02-16  1:51     ` Miles Bader
  2005-02-16  4:46       ` Stefan Monnier
  2005-02-17 10:35       ` Richard Stallman
@ 2005-02-17 14:29       ` Matt Hodges
  2 siblings, 0 replies; 6+ messages in thread
From: Matt Hodges @ 2005-02-17 14:29 UTC (permalink / raw)


>>>>> Miles Bader writes:

 > (2) One must hit `C-c C-c' for changes to take effect; this seems a
 > bit heavy-weight -- why not just RET (which seems to be what other
 > systems use)?

I agree that this makes sense if you want to edit one filename at a
time, and then commit this change immediately.  However, if you edit
multiple filenames using, e.g., replace-string, replace-regexp,
string-rectangle (or whatever), then I think it's reasonable to have
something like C-c C-c to commit these changes.

 > (3) Similarly, in analogy to other systems, it might be nice if
 > there was some obvious visual indication that wdired was active and
 > filenames "open for editting" -- e.g., if the filenames looked like
 > a customize-style "input field" (one might even use the same
 > abstract face for both, e.g. define an `input-field' face, and have
 > customize inherit from it).

I think it would be useful to have some visual cue for filenames that
have been changed but not committed.  Even more so if it becomes
possible to commit changes for single filenames (with RET) without
exiting wdired-mode.

Matt

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

end of thread, other threads:[~2005-02-17 14:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m31xbjtgh4.fsf@naru.home>
2005-02-15 17:27 ` proofreading man/dired.texi Richard Stallman
2005-02-15 20:12   ` Stefan Monnier
2005-02-16  1:51     ` Miles Bader
2005-02-16  4:46       ` Stefan Monnier
2005-02-17 10:35       ` Richard Stallman
2005-02-17 14:29       ` Matt Hodges

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.