From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Brendan Leber Newsgroups: gmane.emacs.help Subject: Re: Extend Dired to Call a Function on a File? Date: Wed, 12 Oct 2016 13:36:53 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1476304657 32132 195.159.176.226 (12 Oct 2016 20:37:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2016 20:37:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 22:37:33 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buQHG-0007GW-Kz for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2016 22:37:26 +0200 Original-Received: from localhost ([::1]:35809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buQHF-0001Ph-BC for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2016 16:37:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buQGm-0001PW-7M for help-gnu-emacs@gnu.org; Wed, 12 Oct 2016 16:36:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buQGk-0007Pg-9T for help-gnu-emacs@gnu.org; Wed, 12 Oct 2016 16:36:55 -0400 Original-Received: from mail-yw0-x22e.google.com ([2607:f8b0:4002:c05::22e]:32968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buQGk-0007PR-4x for help-gnu-emacs@gnu.org; Wed, 12 Oct 2016 16:36:54 -0400 Original-Received: by mail-yw0-x22e.google.com with SMTP id t192so40671673ywf.0 for ; Wed, 12 Oct 2016 13:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendanleber-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BywGTi4F4JcRFNNpmYOf4jPQkdu5KAL8aaY88Zf4uD0=; b=KZgLubexQZFUAeKsGoEbMQVX6k6r2hLbOKQkO7wUeyg7n27WclUFd7/FVd5V2U9+Xz 6Hs8SPvNLdHP1WJnEjhbUszhCBF5Pj2PgQXlpImf0wEdH3oFLphujxnaaBp9dcVIS8eV EbQJwVJpWY/mGOAqI0k0lu3A6Axu+Gbq30HR5lSKKSlT25pYZnSwqaY07BZwVQvjjFIp XenhMDELbqcp3Ke289Szks6dTKOkYZ/KOt9RuLz25X6++7yeJI7ydxZHP2hw8m4tc4Ne EYTNX+gFQsPC/Ue3OWcL5Z92CnaVk1c9bhKIxTP1wH5D0O2E4J14zawg4ETvtpr42QqD kGuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BywGTi4F4JcRFNNpmYOf4jPQkdu5KAL8aaY88Zf4uD0=; b=hT3hHN93yXbMkA7aCqUW1kFBCjVUJVsH3XoZVRA60e1ztPBNDHB+ISaHrhkjztkIs4 nwS87WKyDk6dyeTbcnZPjaL3od3SnesNASARkAQQPAhwXaHgnC0cN7rpCQ4jxJ4kttCl rxfhuFaWCB3OP5tQ19EBhZ4CXNrACePpCteOVBG7IMxd/jzA6ypU7iWBDpeTR56NsWcb sXrNOoGxKxhka9Hg0kLsLBQZObyr/xaV7gPU5/c410XD49C5cpFopYpjSsX95b77U1zU oGpWDbLMAAnTAZzm66PUYHvDTYSJEaL0j7eXy1noAj+jhmplHskgKr5c5JI2l1b9WUvj AUDg== X-Gm-Message-State: AA6/9Rm5oHHTVX1FYwMPTKaUyFLHb0ZfY/GKYKqs9thS1YvecgjhvkOJadPDaM/jVRbCFMP76SI8JhNWbsKzdA== X-Received: by 10.13.221.200 with SMTP id g191mr2820138ywe.350.1476304613530; Wed, 12 Oct 2016 13:36:53 -0700 (PDT) Original-Received: by 10.129.146.22 with HTTP; Wed, 12 Oct 2016 13:36:53 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111515 Archived-At: On Wed, Oct 12, 2016 at 1:12 PM, Drew Adams wrote: > But I guess you are asking about mapping a Lisp function over files. That is what I meant. > If you are asking about Dired then presumably you are talking about > acting on the marked files (else, why Dired?). If so, and if you > use Dired+, then you can use `@', which is bound to command > `diredp-do-apply-function', to apply a Lisp function to each of the > marked files. I haven't used Dired+ but it sounds like the `@' key will do exactly what I want. Thanks! B -- C++ tries to guard against Murphy, not Machiavelli. - Damian Conway