Previous Thread:   Using Pocket PC 2003 to access shares on my PC

9/28/2005 7:18:08 AM    WM 2003 versions of EMACS
I have an iPAQ hx4705.  I would like to get a working version of GNU EMACS  
  
for it.  The version that I have located is old (from a German site) and  
  
does not start up correctly on my system.  Could someone point me toward a  
  
version that works under WM 2003 SE (and one that is a real EMACS, not ng or  
  
a limited version)?  
  
I am currently using the Scheme editor, but it cannot handle the large files  
  
GNU EMACS could on my old Jornada 820.  It also lacks the XML mode software  
  
that made editing the specific files I need easier to do.  
  
I have tried installing the old version of GNU Emacs that worked fine on my  
  
old Jornada 820.  The compiled version appears unable to read my registry.  
  
It wants to find its files on speilekarte (I believe that is correct).  I  
  
tried recompiling the source using the latest MS tools for WM 2003  
  
development, but nmake complains very early in the process and the code has  
  
no Visual Studio project file.  
  
--  
  
Robert Delius Royar       The email address is valid as it is written.



9/28/2005 8:19:28 AM    Re: WM 2003 versions of EMACS
I'm interested in this as well, and have given it a shot.  
  
My observations are that the problem comes from the mislocation and  
  
content of the config file... I didn't have time to persue it then, but  
  
the page seems to indicate that it should work as it has on other ppc's.  
  
Suggest going back to the download site and posting questions there.  
  
If you get a solution, please post your findings here.  
  
Beverly Howard [MS MVP-Mobile Devices]

9/29/2005 8:17:25 AM    Re: WM 2003 versions of EMACS
Batch file???  
  
Beverly Howard [MS MVP-Mobile Devices]

9/29/2005 1:15:15 PM    Re: WM 2003 versions of EMACS
r royar wrote:  
  
[...]  
  
I hate to ask the obvious, but I will anyway. I just installed it and it  
  
works fine on my WM2003 ipaq. When you ran the registry.bat batch file to  
  
set up the emacs registry entries, did you edit it first to correctly  
  
reflect the location you installed the emacs files to, and did you double  
  
check your edits for errors?  
  
In the "set emacsdir=..." line, DO NOT put quotes around the path, even if  
  
the path contains spaces.  
  
In all the cereg lines, put/leave quotes around the paths.  
  
Check all the paths are valid.  
  
Tony

9/29/2005 1:41:13 PM    Re: WM 2003 versions of EMACS
Beverly Howard [Ms-MVP/MobileDev] wrote:  
  
OK, rewind :). I used the hpc/wce3.0 distribution from  
  
http://www.rainer-keuchel.de/wince/emacs-wince.html, in case there are other  
  
versions floating around. In the "emacs-wince-all-platforms" archive, in the  
  
"execute-on-pc" folder, there is a "registry.bat" batch file to set up the  
  
emacs regsiry entries on the PPC (that folder also contains the "cereg" tool  
  
needed to use the batch file). So after you've copied the files from  
  
"emacs-wince-all-platforms" and "emacs-wince-arm-hpc-wce300" archives to  
  
your device, you need to edit that batch file according to your install  
  
location etc, and then execute it from the desktop (with the cereg  
  
executable in your path).  
  
Tony

9/29/2005 2:36:26 PM    Re: WM 2003 versions of EMACS
Many Thanks... will try to take a look at this tonight.  
  
Beverly Howard [MS MVP-Mobile Devices]

9/30/2005 6:23:35 AM    Re: WM 2003 versions of EMACS
Thu, 29 Sep 2005 (13:15 -0000 UTC) Tony A. wrote:  
  
Yes, the paths are correct, but all the paths are on "CF Card."  I have  
  
found some other pre-SE designed software that cannot read files (at  
  
startup) from paths that contain a space (ng being one).  I wonder if that  
  
might be part of the problem?  Perhaps there is a way to rename the "CF  
  
Card" device.  
  
I also tried setting the variables in cmd.exe and running from there, but I  
  
received the same error.  
  
--  
  
Robert Delius Royar       The email address is valid as it is written.

9/30/2005 1:12:41 PM    Re: WM 2003 versions of EMACS
r royar wrote:  
  
[...]  
  
Weird, my card is called "storage card" and it works with that, so spaces  
  
seem to be ok, so I don't know what's going on there. Might be worth using a  
  
registry editor on the PPC to check what actually got put in there, in case  
  
something went wrong with the cereg program (if you haven't done that  
  
already).  
  
Here's the batch file I used, in case you spot anything different.  
  
set emacsdir=\storage card\emacs  
  
cereg -k HKLM\Environment -n UNIXROOTDIR -v "\storage card"  
  
cereg -k HKLM\Environment -n COMPUTERNAME -v "ipaq1"  
  
cereg -k HKLM\Environment -n EMACSDATA -v "%emacsdir%\etc"  
  
cereg -k HKLM\Environment -n EMACSDIR -v "%emacsdir%"  
  
cereg -k HKLM\Environment -n EMACSDOC -v "%emacsdir%\etc"  
  
cereg -k HKLM\Environment -n EMACSLOADPATH -v "%emacsdir%\lisp"  
  
cereg -k HKLM\Environment -n EMACSPATH -v "%emacsdir%\bin"  
  
cereg -k HKLM\Environment -n HOME -v "\storage card\tony"  
  
cereg -k HKLM\Environment -n PATH -v "\storage card\bin;\bin"  
  
cereg -k HKLM\Environment -n SHELL -v "none"  
  
cereg -k HKLM\Environment -n TEMP -v "\tmp"  
  
cereg -k HKLM\Environment -n TMP -v "\tmp"  
  
cereg -k HKLM\Environment -n TMPDIR -v "\tmp"  
  
cereg -k HKLM\Environment -n USERNAME -v "tony"  
  
Tony