Eric Hanchrow
2006-05-28 16:38:21 UTC
I started Emacs like this (from gnome-terminal):
$ /usr/local/src/multi-tty-emacs/src/emacs -Q -nw
I then typed M-: (getenv "HOME"), and saw "/home/erich" in the echo area -- as I expected.
I then typed M-x make-frame-on-display RET :0 RET, and as expected got a new X frame.
In that new frame, I typed M-: M-p, to re-evaluate the "getenv" form;
this time, instead of seeing "/home/erich" as I expected, I saw nil.
This is bad -- many things depend on (getenv "HOME") working. In
particular, if I type C-x d RET, expecting to get a listing of my home
directory, I instead see a listing of the root directory; and if I
type M-x report-emacs-bug RET, I get an error whose details escape me
at the moment.
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/multi-tty-emacs/etc/DEBUG for instructions.
In GNU Emacs 22.0.51.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars, multi-tty)
of 2006-05-26 on debian
configured using `configure '--enable-maintainer-mode''
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.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
auto-compression-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
ESC x m a k e - f r a m TAB - o n TAB d TAB RET : 0
RET <switch-frame> M-: M-( g e t e n v SPC " H O M
E " <return> C-x 5 0 ESC : ESC p RET ESC x r e p o
r t - e m c a s - DEL DEL DEL DEL a c s - b u TAB
RET
Recent messages:
(/usr/local/src/multi-tty-emacs/src/emacs -Q)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
nil
"/home/erich"
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
next-history-element: Beginning of history; no preceding item
$ /usr/local/src/multi-tty-emacs/src/emacs -Q -nw
I then typed M-: (getenv "HOME"), and saw "/home/erich" in the echo area -- as I expected.
I then typed M-x make-frame-on-display RET :0 RET, and as expected got a new X frame.
In that new frame, I typed M-: M-p, to re-evaluate the "getenv" form;
this time, instead of seeing "/home/erich" as I expected, I saw nil.
This is bad -- many things depend on (getenv "HOME") working. In
particular, if I type C-x d RET, expecting to get a listing of my home
directory, I instead see a listing of the root directory; and if I
type M-x report-emacs-bug RET, I get an error whose details escape me
at the moment.
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/multi-tty-emacs/etc/DEBUG for instructions.
In GNU Emacs 22.0.51.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars, multi-tty)
of 2006-05-26 on debian
configured using `configure '--enable-maintainer-mode''
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.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
auto-compression-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
ESC x m a k e - f r a m TAB - o n TAB d TAB RET : 0
RET <switch-frame> M-: M-( g e t e n v SPC " H O M
E " <return> C-x 5 0 ESC : ESC p RET ESC x r e p o
r t - e m c a s - DEL DEL DEL DEL a c s - b u TAB
RET
Recent messages:
(/usr/local/src/multi-tty-emacs/src/emacs -Q)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
nil
"/home/erich"
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
next-history-element: Beginning of history; no preceding item