unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "davex" <dmagill@attglobal.net>
Subject: Re: Elisp newbie trying a derived mode (clarifying intent)
Date: 28 Sep 2006 18:49:26 -0700	[thread overview]
Message-ID: <1159494566.323253.174670@m73g2000cwd.googlegroups.com> (raw)
In-Reply-To: <mailman.7564.1159475819.9609.help-gnu-emacs@gnu.org>

Kevin Rodgers wrote:
> davex wrote:
> > Hello all, my first post here, and I've recently started coding elisp.
> > I want a simple method of interactively selecting multiple files or
> > directories, and passing the selection list to an external program.
> > My first thought was to tweak dired mode, so that I could just navigate
--- tweak = make a derived mode based on dired, with added functions
--(davex)
> > around dirs, marking files and dirs that I want (with 'm') and then
> > have a special key call dired-do-shell-command with something to
> > append each marked entry to a text file.
--- let me clarify the above--I'd like to make this simple to use
regularly, hence have a single keystroke call dired-do-shell-command,
with the correct shell command (to write out the filename) hard-coded--
i suppose i could do this as a keyboard macro, but if I can do a
derived mode in a clean concise way, I could apply this skill
elsewhere.
Am I on the right track? Is a derived mode a common useful solution?
---(davex)
> >
> > Question: is there something simpler than dired to tweak? All I really
> > need is the directory navigation and marking capability.
>
> Why do you need to tweak anything at all, since dired already provides
> all that?
> 
> -- 
> Kevin

  parent reply	other threads:[~2006-09-29  1:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28 19:02 Elisp newbie trying a derived mode davex
2006-09-28 20:35 ` Kevin Rodgers
     [not found] ` <mailman.7564.1159475819.9609.help-gnu-emacs@gnu.org>
2006-09-29  1:49   ` davex [this message]
2006-09-29  9:06     ` Elisp newbie trying a derived mode (clarifying intent) Mathias Dahl
2006-09-29 16:48       ` Kevin Rodgers
     [not found]       ` <mailman.7597.1159548604.9609.help-gnu-emacs@gnu.org>
2006-10-03  7:46         ` Mathias Dahl

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=1159494566.323253.174670@m73g2000cwd.googlegroups.com \
    --to=dmagill@attglobal.net \
    /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.
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).