* bug#7310: 23.2; environment not propery inherited
@ 2010-11-01 1:26 Randy Yates
2010-11-01 2:27 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Randy Yates @ 2010-11-01 1:26 UTC (permalink / raw)
To: 7310
------------------------------
Hello,
(I'm running emacs "23.2.1" under 2.6.34.7-61.fc13.x86_64.)
I have an environment variable defined in an xterm,
$ echo $LOCALTEXMF
/usr/local/share/texmf
but when I run emacs, even with emacs -Q, then evaluating
initial-environment
in the scratch buffer does not reveal the LOCALTEXMF variable.
--Randy Yates
yates@ieee.org
-----------------------------
In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
of 2010-06-03 on xb-01.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.10802000
configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gene
ric''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=none
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: rcirc
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
use-hard-newlines: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
i t s ' <backspace> <backspace> ' s C-9 C-b C-x b <return>
SPC a c t u a l l l y SPC <backspace> <backspace> <backspace>
y SPC i n SPC m y SPC . b a s h _ p r o v <backspace>
f i l e <return> C-x b <return> M-> C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n
C-SPC C-e M-w C-x b <return> C-y <return> q u o <tab>
y e s , SPC r i g h t . <return> y e a h . <backspace>
! <return> h u h ? <return> t <backspace> <help-echo>
<help-echo> e <backspace> q u o t <tab> e v e n SPC
w i t h SPC e m a c s SPC - Q <return> <help-echo>
o k <backspace> <backspace> q u o t <tab> o k , SPC
t h a n k SPC y o u . <return> M-x r e p o r t - e
m a c s - b u g <return> e n v i r o n m e n t SPC
d o e s n ' <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> n o t SPC i n h e r i t e d
C-a C-g C-g q u o t <tab> d o e s SPC - Q SPC p r e
v e n t SPC t h e SPC i n i t . e l SPC f r o m SPC
l o a d i n g ? <return> M-x r e p o r t - e m a c
s - b u g <return>
Recent messages:
Making completion list...
Type C-x 1 to delete the help window.
Mark saved where search started
Mark set
Setting up indent for shell type bash
setting up indent stuff
Indentation variables are now local.
Indentation setup for shell type bash
Loading vc-svn...done
Mark set [3 times]
Quit [2 times]
Load-path shadows:
/usr/share/emacs/site-lisp/verilog-mode hides /usr/share/emacs/23.2/lisp/progmodes/verilog-mode
Features:
(shadow sort rect mail-extr message idna ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util
hashcash mail-utils emacsbug vc-svn regexp-opt sh-script executable pp
help-mode easymenu view help-fns apropos disp-table rcirc time-date ring
multi-isearch package reporter vc vc-dispatcher derived cl cl-19 tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#7310: 23.2; environment not propery inherited
2010-11-01 1:26 bug#7310: 23.2; environment not propery inherited Randy Yates
@ 2010-11-01 2:27 ` Glenn Morris
2010-11-01 2:53 ` Randy Yates
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-11-01 2:27 UTC (permalink / raw)
To: Randy Yates; +Cc: 7310
Randy Yates wrote:
> I have an environment variable defined in an xterm,
>
> $ echo $LOCALTEXMF
> /usr/local/share/texmf
>
> but when I run emacs, even with emacs -Q, then evaluating
>
> initial-environment
>
> in the scratch buffer does not reveal the LOCALTEXMF variable.
This seems very odd. Are you sure $LOCALTEXMF is exported?
What happens with (assuming a sh-like shell):
export LOCALTEXMF=/usr/local/share/texmf
emacs -Q
M-: (getenv "LOCALTEXMF")
?
(works for me)
> In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
> of 2010-06-03 on xb-01.phx2.fedoraproject.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#7310: 23.2; environment not propery inherited
2010-11-01 2:27 ` Glenn Morris
@ 2010-11-01 2:53 ` Randy Yates
0 siblings, 0 replies; 3+ messages in thread
From: Randy Yates @ 2010-11-01 2:53 UTC (permalink / raw)
To: Glenn Morris; +Cc: 7310
Hi Glenn,
Sorry for the false alarm. It turns out I had
eval-expression-print-length set to 12 so I
wasn't seeing the entire environment string.
So, never mind!
--Randy
Glenn Morris <rgm@gnu.org> writes:
> Randy Yates wrote:
>
>> I have an environment variable defined in an xterm,
>>
>> $ echo $LOCALTEXMF
>> /usr/local/share/texmf
>>
>> but when I run emacs, even with emacs -Q, then evaluating
>>
>> initial-environment
>>
>> in the scratch buffer does not reveal the LOCALTEXMF variable.
>
> This seems very odd. Are you sure $LOCALTEXMF is exported?
>
> What happens with (assuming a sh-like shell):
>
> export LOCALTEXMF=/usr/local/share/texmf
> emacs -Q
> M-: (getenv "LOCALTEXMF")
>
> ?
>
> (works for me)
>
>> In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
>> of 2010-06-03 on xb-01.phx2.fedoraproject.org
>
--
Randy Yates % "Bird, on the wing,
Digital Signal Labs % goes floating by
mailto://yates@ieee.org % but there's a teardrop in his eye..."
http://www.digitalsignallabs.com % 'One Summer Dream', *Face The Music*, ELO
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-01 2:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 1:26 bug#7310: 23.2; environment not propery inherited Randy Yates
2010-11-01 2:27 ` Glenn Morris
2010-11-01 2:53 ` Randy Yates
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.