Mathias Dahl <brakjoller <at> gmail.com> writes: > Kevin Rodgers <ihs_4664 <at> yahoo.com> writes: > > > If typing that directory name even once is too much, try setting an > > environment variable to it so you can reference it: C-x C-f > > $CERTAIN_DIR <tab> > > [...] > Anyone else doing the same thinking? It would have been really cool to > have something like this. Maybe some "magical" character that > `find-file' reacts to and switch to using bookmarks, or something like > that.
I like the "named dirs" feature of ZSH (http://www.zsh.org). You can given a directory a name using the `hash' command, like this: % hash -d emacs-cvs=/home/ecl/Emacs/emacs-cvs Later you can switch to that directory by using: % cd ~emacs-cvs But note that bookmarks can have more complicated names, which might contain spaces. Maybe also of interest: ;; From http://www.emacswiki.org/cgi-bin/wiki.pl/GraphicalBookmarkJump (defun iswitchb-bookmark-jump (bname) "*Switch to bookmark interactively using `iswitchb'." (interactive (list (flet ((iswitchb-make-buflist (default) (require 'bookmark) (setq iswitchb-buflist (bookmark-all-names)))) (iswitchb-read-buffer "Jump to bookmark: ")))) (bookmark-jump bname)) _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs