From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: dired question
Date: Mon, 18 Oct 2004 18:58:38 GMT [thread overview]
Message-ID: <jwvhdorkgcr.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: gvy3c0b3nrf.fsf@otaku.freeshell.org
> (setq srd-mark-list
> (adjoin (dired-get-filename)
> srd-mark-list
> :test #'equal))))
Aka (add-to-list 'srd-mark-list (dired-get-filename))
> (defun srd-do-shell-command (command)
> (interactive "scommand: ")
> (dired-do-shell-command command
> nil
> (reverse srd-mark-list)))
I suspect this will break in cases where you do:
- mark A, B, C
- C-k on B
- !
because B will not be among the marked files any more but will still be in
srd-mark-list.
Stefan
next prev parent reply other threads:[~2004-10-18 18:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-17 23:20 dired question Stephen Dickey
2004-10-18 5:21 ` oliver
2004-10-18 5:39 ` Stephen Dickey
2004-10-18 14:05 ` Stefan Monnier
2004-10-18 18:05 ` Stephen Dickey
2004-10-18 18:58 ` Stefan Monnier [this message]
2004-10-18 21:05 ` Stephen Dickey
2004-10-18 21:34 ` Thien-Thi Nguyen
2004-10-18 22:49 ` Brad Collins
-- strict thread matches above, loose matches on Subject: below --
2008-05-18 21:07 Dired question harven
2008-05-18 22:20 ` Drew Adams
2008-05-19 13:23 ` Xah Lee
2008-05-19 14:05 ` Joel J. Adamson
2008-05-19 19:11 ` harven
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=jwvhdorkgcr.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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.