all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: help-gnu-emacs@gnu.org
Subject: Re: Dired: how to mark with other character but *
Date: Sun, 31 Jan 2021 09:23:08 +0300	[thread overview]
Message-ID: <YBZMzCV/gX69/lH3@protected.rcdrun.com> (raw)
In-Reply-To: <courier.0000000060164B9D.00007B5F@stw1.rcdrun.com>

I have solved it now by making new function based on
(dired-flag-file-deletion ARG &optional INTERACTIVE):

(defun rcd-dired-mark-view-file (arg &optional interactive)
  "In Dired, mark the current line's file for viewing.
If the region is active, mark all files in the region.
Otherwise, with a prefix arg, mark files on the next ARG lines.

If on a subdir headerline, mark all its files except `.' and `..'.
If the region is active in Transient Mark mode, mark all files
in the active region."
  (interactive (list current-prefix-arg t))
  (let ((dired-marker-char 86))
    (dired-mark arg interactive)))

(define-key dired-mode-map "\\" 'rcd-dired-mark-view-file)



  reply	other threads:[~2021-01-31  6:23 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 [this message]
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     ` [External] : " Drew Adams
2021-02-01 17:09       ` 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=YBZMzCV/gX69/lH3@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@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 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.