From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: roodwriter@ureach.com Newsgroups: gmane.emacs.help Subject: Re: build a macro that opens a directory and prompts for file name Date: Tue, 27 Jan 2009 05:45:55 -0500 Message-ID: <87ocxthvrw.fsf@dell-desktop.example.com> References: <87f0e43c-d0e9-45eb-8d4f-ae5c7745a2a3@t26g2000prh.googlegroups.com> <4r5tz7qrqjh.fsf@one.net> <7cwscil6fu.fsf@pbourguignon.anevia.com> <873af5xdyh.fsf@usenet.my.skamphausen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233056484 29154 80.91.229.12 (27 Jan 2009 11:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 11:41:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 12:42:38 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRmKR-0004MT-K0 for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 12:42:03 +0100 Original-Received: from localhost ([127.0.0.1]:43489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRmJ9-0000M2-OG for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 06:40:43 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe12.iad.POSTED!7564ea0f!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:MJDNpmgE092yZzpcRr/zAb7lDM4= Original-Lines: 37 Original-NNTP-Posting-Host: addndpeeanndebnboopongelpiliadeb Original-X-Complaints-To: abuse@charter.net Original-X-Trace: dolmjbnehhedbigjmcjobjcmnmlfmhhajaijgmiieihijfdfaddndpeeanndebnbmfbeeoeclehlkikcndmeafpaeciflfmbhijchbofcfmmnkjihefmmckpenppmdjfbgjklipccefckbgb Original-NNTP-Posting-Date: Tue, 27 Jan 2009 10:46:01 UTC Original-Xref: news.stanford.edu gnu.emacs.help:166374 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61693 Archived-At: Stefan Kamphausen writes: > Hi, > > "Drew Adams" 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