all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: Dired like functionality on a custom text file
Date: Mon, 19 May 2008 12:26:44 -0700 (PDT)	[thread overview]
Message-ID: <6db01013-2953-4c52-b053-a6767caa035e@d77g2000hsb.googlegroups.com> (raw)
In-Reply-To: 683a41e6-1009-4c2e-9354-b748c6f7ad95@t12g2000prg.googlegroups.com

On May 19, 8:38 pm, Jesse <jesse.br...@gmail.com> wrote:
> I have a situation where I have a lot of common files i need to edit
> but they are all in various directories spread across my hard drive.
> I was trying to come up with a way where I could make a text file that
> has all the paths to the files I commonly need and somehow open that
> file into a dired like mode.  Is there anyway I can do this, or even
> alternatively possibly easily pass the current line my cursor is on in
> that file to the mini buffer when I put in the visit command?

M-x find-name-dired prompts for the name of a directory
and a filename wildcard, and fetch in a Dired buffer all
files in the subdirectories matching the wildcard.

M-x find-grep-dired fetches files which contain strings matching a
regular expression, recursively starting from
a given directory.

Finally, dired-x is an extension to dired which provides a feature
called "Virtual Dired". This feature puts a buffer with Dired-like
contents in Dired mode. Have a look at the dired-x manual (C-h i m
dired-x), which comes with a basic emacs install. You need first to
enable dired-x with something like
 (add-hook 'dired-load-hook  (lambda ()
                 (load "dired-x")))


  reply	other threads:[~2008-05-19 19:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 18:38 Dired like functionality on a custom text file Jesse
2008-05-19 19:26 ` harven [this message]
2008-05-19 20:38   ` Drew Adams
2008-05-19 21:57 ` David Kastrup
2008-05-20  5:01 ` Dmitri Minaev
2008-05-20 11:16 ` Chris McMahan
2008-05-20 12:07 ` Bernardo Bacic
2008-05-20 15:03   ` reader
2008-05-21 11:39     ` Bernardo Bacic
2008-05-21 14:10       ` reader
     [not found]       ` <mailman.11963.1211387800.18990.help-gnu-emacs@gnu.org>
2008-05-24  5:39         ` Alan
2008-05-24 15:51           ` Drew Adams
2008-05-20 13:31 ` Drew Adams
2008-05-20 20:54   ` Drew Adams
2008-05-20 17:35 ` Ilya Zakharevich

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=6db01013-2953-4c52-b053-a6767caa035e@d77g2000hsb.googlegroups.com \
    --to=harven@free.fr \
    --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.