unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: roodwriter@ureach.com
To: help-gnu-emacs@gnu.org
Subject: Re: build a macro that opens a directory and prompts for file name
Date: Tue, 27 Jan 2009 05:45:55 -0500	[thread overview]
Message-ID: <87ocxthvrw.fsf@dell-desktop.example.com> (raw)
In-Reply-To: 873af5xdyh.fsf@usenet.my.skamphausen.de

Stefan Kamphausen <skampi@gmx.net> writes:

> Hi,
>
> "Drew Adams" <drew.adams@oracle.com> writes:
>
>> FYI, you can also just use Emacs (yes, Emacs) command
>> `cd' to change the `default-directory' at any time. No
>> need to open a Dired buffer.
>
> FWIW, cdargs ([1]please excuse the self-ad) offers a kind
> of bookmarks for the shell and ships with some elisp to
> use the cdargs bookmarks from Emacs, too.
>
> Cheers, Stefan
>
> Footnotes: [1]
> http://www.skamphausen.de/cgi-bin/ska/CDargs
>
> -- Stefan Kamphausen --- http://www.skamphausen.de a
> blessed +42 regexp of confusion (weapon in hand) You hit.
> The format string crumbles and turns to dust.


Bookmarks, which I use, work great for small numbers of
files. But since I generate tons of small files, I keep an
index list of files, with their descriptions, plus the
entire path and file name for that file. So they look
something like this:

/home/rod/vacation.txt How I spent my summer vacation.

I have a macro that copies the entire file name and path and
pastes it into C-x C-f. I've bound it to a function key so
my index kind of works like a hyperlink.

Rod


  reply	other threads:[~2009-01-27 10:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23 15:13 build a macro that opens a directory and prompts for file name Norm
2009-01-23 15:27 ` Chris McMahan
2009-01-23 15:38   ` Norm
2009-01-24  7:16     ` Drew Adams
     [not found]     ` <mailman.5627.1232781454.26697.help-gnu-emacs@gnu.org>
2009-01-26 10:15       ` Pascal J. Bourguignon
2009-01-26 18:15         ` Drew Adams
     [not found]         ` <mailman.5864.1232993759.26697.help-gnu-emacs@gnu.org>
2009-01-27 10:04           ` Stefan Kamphausen
2009-01-27 10:45             ` roodwriter [this message]
2009-01-28  8:09               ` Kevin Rodgers
2009-01-29 13:08 ` Sebastian Tennant

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=87ocxthvrw.fsf@dell-desktop.example.com \
    --to=roodwriter@ureach.com \
    --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.
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).