Hi
XEmacs seems to get confused about how FreeBSD has set up $HOME.
Actually this might not be XEmacs' problem really, just that using
XEmacs is getting annoying.
FreeBSD sets up /home as a link to /usr/home. The result is this:
the-saint:~/:104>
the-saint:~/:104>echo $HOME
/home/kaarthik
the-saint:~/:105>pwd
/usr/home/kaarthik
the-saint:~/:106>
The HOME (and ~) is set to "/home/<user>" while pwd in the home
directory shows "/usr/home/<user>". With such a configuration, run M-x
gdb on a program. 'gdb' goes to /usr/home/<user>/directory/program.
Opening any file from the *gdb-program* buffer tries to open
"/usr/home/<user>/path/file.c". But I already have file opened as
"~/path/file.c". So now I have two buffers of the same file but marked
as two different files with the same name. Running uniquify actually
changes their buffer name to unique ones. So now modifying one buffer
of the file leads to the other buffer shouting that the file has
changed and whether I really want to continue editing the file. This
gets really annoying after some time. Is there someway to set this
right? Hope I was clear in my description. This is my XEmacs setup:
"XEmacs 21.5 (beta12) \"carrot\" (+CVS-20030425) [Lucid]
(i386-unknown-freebsd4.7) of Sat Apr 26 2003 on the-saint"
If more information is needed, please let me know. Thanks.
Kaarthik