all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Emanuel Berg <moasenwood@zoho.eu>
Cc: "Help-Gnu-Emacs \(help-gnu-emacs@gnu.org\)" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Re: Dired: how to mark with other character but *
Date: Mon, 1 Feb 2021 16:35:34 +0000	[thread overview]
Message-ID: <SA2PR10MB447416ADBFEFF910FC11D517F3B69@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <878s89lgcl.fsf@zoho.eu>

> > ‘* c OLD-MARKCHAR NEW-MARKCHAR’ Replace all marks that use
> >      the character OLD-MARKCHAR with marks that use the
> >      character NEW-MARKCHAR (‘dired-change-marks’).
> >      This command is the primary way to create or use marks
> >      other than ‘*’ or ‘D’. The arguments are single
> >      characters—do not use <RET> to terminate them.
> >
> > (and yes, it is not easy to find unless you know what you're
> > looking for).
> 
> Still, sounds complicated with all the replace and change
> stuff - what's the command to just mark the file at point with
> an arbitrary char?

There isn't one.  But you could define one.
___

Note, BTW, that `* c' will let you change ANY
"mark" char, including just a space (no mark).

IOW, you can change (all) UNmarked lines to any
mark you like using `* c SPC CHAR', where SPC
is a space char and CHAR is any char you like.
___

This too is very helpful, IMO:

,----
| M-DEL (translated from <M-backspace>) runs the command
| dired-unmark-all-files (found in dired-mode-map), which is an
| interactive compiled Lisp function in ‘dired.el’.
| 
| It is bound to M-DEL, * ?.
| 
| (dired-unmark-all-files MARK &optional ARG)
| 
| Remove a specific mark (or any mark) from every file.
| After this command, type the mark character to remove,
| or type RET to remove all marks.
| With prefix arg, query for each marked file.
| Type C-h at that time for help.
`----

I use that all the time, but usually with just
`M-DEL RET', to remove all marks.

  parent reply	other threads:[~2021-02-01 16:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31  6:18 Dired: how to mark with other character but * Jean Louis
2021-01-31  6:23 ` Jean Louis
2021-01-31  6:43   ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-31  7:29     ` Jean Louis
2021-01-31  6:53 ` Marcin Borkowski
2021-01-31  7:23   ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-31  7:36     ` Jean Louis
2021-01-31  7:46       ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-01 16:35     ` Drew Adams [this message]
2021-02-01 17:09       ` [External] : " Drew Adams
2021-02-01 17:24         ` Drew Adams
2021-02-02  4:15           ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-05 20:59             ` Drew Adams
2021-02-05 21:02               ` Stefan Monnier
2021-02-05 21:10                 ` Drew Adams
2021-02-01 23:47         ` Drew Adams
2021-02-02  4:14         ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-31  7:34   ` Jean Louis
2021-01-31  8:20     ` Marcin Borkowski
2021-01-31  9:09       ` Jean Louis
2021-01-31  9:26         ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-31  9:34           ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-31 14:47 ` Eli Zaretskii
2021-02-01  2:25   ` Jean Louis
2021-01-31 21:30 ` Michael Heerdegen
2021-01-31 21:37   ` moasenwood--- via Users list for the GNU Emacs text editor

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA2PR10MB447416ADBFEFF910FC11D517F3B69@SA2PR10MB4474.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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 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.