help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: Dired: how to mark with other character but *


From: Drew Adams
Subject: RE: [External] : Re: Dired: how to mark with other character but *
Date: Mon, 1 Feb 2021 17:24:30 +0000

> > There isn't one.  But you could define one.
> 
> (defun diredp-mark-with-char (char &optional arg)...

Also, there are these functions to mark with a
particular char:  

 dired-mark-files-regexp
 dired-mark-files-containing-regexp

(They're commands, but they don't ask for the
char when called interactively.)
___

And you can just set `dired-marker-char' to
whatever char you want, anytime:

 `M-: (setq dired-marker-char ?Q)'

And then use that marker for all Dired commands.

`dired-marker-char' affects many Dired features,
even font-locking.  They just DTRT, in general.
Look for `dired-marker-char' in files dired*.el.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]