unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Looking for CDPATH functionality in emacs.
Date: Mon, 03 Jan 2011 20:08:58 +0100	[thread overview]
Message-ID: <87pqsd6bzp.fsf@ambire.localdomain> (raw)
In-Reply-To: <4D221B85.5040702@syslang.net> (Steven W. Orr's message of "Mon,  03 Jan 2011 13:55:01 -0500")

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

() "Steven W. Orr" <steveo@syslang.net>
() Mon, 03 Jan 2011 13:55:01 -0500

   1. Does anything already exist that smells like what I want?

Probably smells regardless, but FWIW, i use ‘jamenv-from-file’
(attached) with a ~/.directory-env-vars that looks like:

--8<---------------cut here---------------start------------->8---
;;; -*- emacs-lisp -*-
;;; comments start with ";"
;;; lines of form "- VAR" clear env var VAR
;;; lines of form "VAR VALUE" set env var VAR to VALUE

;; clear
- OLDPWD
- PAGER
- PWD

;; set
D               ~/build/tastiera-dura
G               ~/build/GNU
GG              ~/build/GNU/GG
--8<---------------cut here---------------end--------------->8---

Then, to get to, say ~/build/GNU, i type ‘C-x C-f $G RET’.


[-- Attachment #2: jamenv.el --]
[-- Type: application/emacs-lisp, Size: 1911 bytes --]

  reply	other threads:[~2011-01-03 19:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-03 18:55 Looking for CDPATH functionality in emacs Steven W. Orr
2011-01-03 19:08 ` Thien-Thi Nguyen [this message]
2011-01-03 19:20 ` Drew Adams
2011-01-03 20:16 ` Peter Dyballa
2011-01-04  4:42 ` Le Wang
2011-01-04  9:43   ` Le Wang
2011-01-04  5:55 ` Kevin Rodgers
2011-01-06  0:37 ` DevZero
     [not found] <mailman.12.1294080915.3992.help-gnu-emacs@gnu.org>
2011-01-06  9:40 ` Stefan Kamphausen

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=87pqsd6bzp.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --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).