unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* setting enviromment variable
@ 2009-08-25 20:33 henry atting
  2009-08-26 14:18 ` Anselm Helbig
  0 siblings, 1 reply; 5+ messages in thread
From: henry atting @ 2009-08-25 20:33 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

setting environment variables does not work anymore.
I do it like this:

;; ledger file variable
(setenv "LEDGER_FILE" (concat (getenv "LEDGER_FILE") "~/ledger/ledger.dat"))
;; printer variable
(setenv "PRINTER" (concat (getenv "PRINTER") "HL2030"))

Evaluating produces:

"~/ledger/ledger.dat~/ledger/ledger.dat~/ledger/ledger.dat~/ledger/ledger.dat"
"HL2030HL2030HL2030HL2030"

Hence I cannot print or use ledger from the eshell command line:

While parsing environment variable option
'LEDGER_FILE=~/ledger/ledger.dat~/ledger/ledger.dat': Error: The ledger
file '/home/atting/ledger/ledger.dat~/ledger/ledger.dat' does not exist
or is not readable

(GNU Emacs 23.1.50.1)

henry

-- 
http://literaturlatenight.de


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-27 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 20:33 setting enviromment variable henry atting
2009-08-26 14:18 ` Anselm Helbig
2009-08-26 15:00   ` Peter Dyballa
     [not found]   ` <mailman.5445.1251298860.2239.help-gnu-emacs@gnu.org>
2009-08-26 15:16     ` Anselm Helbig
2009-08-27 15:54   ` henry atting

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).