unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Roland Winkler <winkler@gnu.org>
Cc: 21746@debbugs.gnu.org
Subject: bug#21746: 24.5; purpose of dired-keep-marker-copy?
Date: Sat, 24 Oct 2015 01:04:06 -0700 (PDT)	[thread overview]
Message-ID: <be0730e5-48a6-41c9-97dd-9eb676947d89@default> (raw)
In-Reply-To: <56535.83174.772198.22058@gargle.gargle.HOWL>

> > There is a lot in Dired that I think should be exposed/documented
> > better/more.  By default we don't even load dired-x.el or
> > dired-aux.el, and they provide lots of stuff useful even for
> > beginners, including lots of menus.
> >
> > I would be in favor of our loading both of these Dired libraries
> > by default.  There is lots in Dired that users can benefit from,
> > but they are typically unaware of it.
> 
> There is a big difference between exposing and documenting more
> features from dired.

We generally don't document stuff in the manual that is not
exposed by default.  Loading dired-x.el and dired-aux.el
along with dired.el would help users, IMO.  (We are not in
1985 anymore, when it might have made sense to reduce the
default footprint of Dired.)

> I immediately agree on better documentation of
> dired features.  But I am not sure it will make new emacs users
> happy when they get overwhelmed by features they do not understand.
> Advanced users, on the other hand, know how to read the manuals and
> then get the customization they want.

There is no overwhelming by dired-x.el or dired-aux.el.
No one requires anyone to use or even be aware of a
particular command or key that is available.

The proof: `* c' has been available to you since Day One,
as part of dired.el, and you admit that you just learned
about it today.  So clearly its presence did not overwhelm
you all these years. ;-)

> > Marking with `C' is still useful, even if you never do anything
> > with those marks.  It provides a clear indication of the copied
> > files.
> 
> That's exactly why these C's are irritating and inconsistent: the
> properly documented marks `*' and `D' serve the purpose of
> indicating that an action _will be_ performed on certain files.

No, they just mark files, in particular ways (different ways).
They indicate that actions _might_ be performed on the files.

> The C's indicate that an action _has been_ performed

And that actions might be performed on the files they mark.
Via `* c'.

There is nothing unique about `C' marks in that context.
Once you know about `* c' you know that any mark can serve to
both (a) mark files in a particular way, distinguishing them
and (b) allow you to act on them (via `* c').  You can, in
effect, temporarily tag sets of files in different ways
(using different marks), and then act on them.

> and they get into the way when you are using the other marks.

No, not in terms of actions that use those marks.  An action
that acts on `*' marks or `D' marks does not act on `C' marks.

(I assume you meant only `*' and `D' by "the other marks",
though there can be any number of other marks.)

> Say, before marking files for some new action I type `g'
> (revert-buffer).  If this gives me an unmodified buffer, there are
> no left-over marks floating around that I have overlooked.  The C's
> are just in the way for how marks are used otherwise.

You could make a reasonable argument that all marks should
be removed by `g', but that is a separate question.  I might
disagree with that argument, but it is a reasonable one.

(FWIW, if you want to remove all marks you can use `C-x C-v',
but that updates the listing, which `g' does not do.)





  reply	other threads:[~2015-10-24  8:04 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23 19:44 bug#21746: 24.5; purpose of dired-keep-marker-copy? Roland Winkler
2015-10-23 20:30 ` Drew Adams
2015-10-23 20:54   ` Roland Winkler
2015-10-23 21:57     ` Drew Adams
2015-10-24  1:20       ` Roland Winkler
2015-10-24  8:04         ` Drew Adams [this message]
2015-10-24  8:11           ` Eli Zaretskii
2015-10-24  9:35           ` Andreas Schwab
2015-10-24 16:05             ` Drew Adams
2015-10-24 16:14               ` Drew Adams
2015-10-24 20:51               ` Roland Winkler
2015-10-24 21:09                 ` Andreas Schwab
2015-10-24 21:34                   ` Drew Adams
2015-10-24 22:00                     ` Andreas Schwab
2015-10-24 21:30                 ` Drew Adams
2015-10-25  0:15                   ` Michael Heerdegen
2015-10-25  4:01                   ` Roland Winkler
2015-10-25  5:12                     ` Drew Adams
2015-10-25 17:40                       ` Richard Stallman
2015-10-25 12:55                     ` Andreas Schwab
2015-10-25 18:40                     ` Eli Zaretskii
2022-04-28 11:50                       ` Lars Ingebrigtsen
2015-10-29  0:14               ` Juri Linkov
2015-10-29  0:37                 ` Michael Heerdegen
2015-10-29  0:53                 ` Drew Adams
2015-10-24  5:26       ` Eli Zaretskii
2015-10-24  6:10   ` Eli Zaretskii
     [not found] <<36360.86247.586145.22058@gargle.gargle.HOWL>
     [not found] ` <<69182d70-1f68-4105-9f24-7bbef43e7ecb@default>
     [not found]   ` <<40607.80402.459249.22058@gargle.gargle.HOWL>
     [not found]     ` <<987d58d9-30d3-4067-a0ae-7a7722a3f2fb@default>
     [not found]       ` <<83k2qcygzk.fsf@gnu.org>
2015-10-24  8:04         ` Drew Adams
2015-10-24  8:13           ` Eli Zaretskii
     [not found]       ` <<56535.83174.772198.22058@gargle.gargle.HOWL>
     [not found]         ` <<be0730e5-48a6-41c9-97dd-9eb676947d89@default>
     [not found]           ` <<837fmcy9ck.fsf@gnu.org>
2015-10-24  8:17             ` Drew Adams
2015-10-24  8:25               ` Eli Zaretskii
     [not found] <<b3efc431-90b5-4012-acbb-664f8b54e63b@default>
     [not found] ` <<83611wy995.fsf@gnu.org>
2015-10-24  8:21   ` Drew Adams
2015-10-24  8:28     ` Eli Zaretskii
     [not found]   ` <<cf6c5e6b-78d8-432a-8639-7c630e89c74c@default>
     [not found]     ` <<8337x0y8j8.fsf@gnu.org>
2015-10-24  8:34       ` Drew Adams
2015-10-24  8:50         ` Eli Zaretskii
     [not found]       ` <<eeff7ef4-08cd-49b6-bfb2-a4680b996a36@default>
     [not found]         ` <<831tcky7it.fsf@gnu.org>
2015-10-24 16:05           ` Drew Adams
     [not found] <<875f037b-3321-42b7-9128-bb4dd2bd1f7f@default>
     [not found] ` <<834mhgy8pv.fsf@gnu.org>
2015-10-24  8:30   ` Drew Adams

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=be0730e5-48a6-41c9-97dd-9eb676947d89@default \
    --to=drew.adams@oracle.com \
    --cc=21746@debbugs.gnu.org \
    --cc=winkler@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).