For anybody trying to download the XEmacs-21.0-b50 installer:
I've wrapped a little CGI script around the file so that when
you click on it, it should download properly, instead of trying
to open the file as text in the browser window. This should make
it much easier to download. Please let me know if there are
still any problems downloading this.
It still can be found at
http://nj1.aae.com/~cwaldman/xemacs Hi,
I tested binaries & installation under w95.
I selected the following packages:
xemacs-base
dired
mail-lib
edit-utils
text-modes
c-support
cc-mode
calendar
time
fsf-compat
mine
net-utils
os-utils
vc
I installed unto my C: drive in the default location.
I use a Linux file server and my H: drive points to my home-dir
under Linux (I use Samba).
I have "set HOME=h:\" in my autoexec.bat (so my home dir is the
same under linux and W95; in particular my .emacs is *the same*)
My .emacs follows:
----------------------------------------
;;
;; Keypad Key bindings
;;
(global-set-key [kp-0] 'set-mark-command)
(global-set-key [kp-add] 'copy-region-as-kill)
(global-set-key [kp-decimal] 'delete-char )
(global-set-key [kp-subtract] 'kill-region)
(global-set-key [kp-multiply] 'yank)
(global-set-key [kp-divide] 'yank-pop)
;;
;; Function key bindings
;;
(global-set-key [f1] 'help-command)
(global-set-key [f2] 'save-buffer)
(global-set-key [f3] 'find-file-other-window)
(global-set-key [f5] 'delete-other-windows)
(global-set-key [f6] 'other-window)
(global-set-key [f8] 'next-error)
(global-set-key [f9] 'compile)
(global-set-key [f10] 'shell-command)
;;
;; Display function in topbar menu
;;
(require 'func-menu)
(add-hook 'find-file-hooks 'fume-add-menubar-entry)
;;
;; Automatic 'fromdos' functionality
;;
(add-hook 'find-file-hooks 'remove-or-convert-trailing-ctl-M)
(defun remove-or-convert-trailing-ctl-M ()
"Propose to remove or convert trailing ^M from a file."
(interactive)
(save-excursion
(goto-char (point-min))
(if (search-forward "\^M" nil t)
;; a ^M is found
(if (or (= (preceding-char) ?\^J)
(= (following-char) ?\^J) )
;; Must find a way to display the buffer before this question
(if (y-or-n-p "Remove trailing ^M ? ")
(progn (goto-char (point-min))
(perform-replace "\^M" "" nil nil nil)
(pop-mark) )
(message "No transformation.") )
(if (y-or-n-p "Convert ^M into ^J ? ")
(progn (goto-char (point-min))
(perform-replace "\^M" "\^J" nil nil nil)
(pop-mark) )
(message "No transformation.") ) )
;;(message "No ^M in this file !")
) ) )
(autoload 'pc-select-mode "pc/pc-select" nil t)
(pc-select-mode t)
(custom-set-variables
'(init-face-from-resources nil)
'(speedbar-package t)
'(locale-package nil)
'(egg-its-package nil)
'(vc-package t)
'(comment-column 56)
'(mouse-avoidance-mode (quote banish) nil (avoid))
'(delete-key-deletes-forward t)
'(sounds-au-package t)
'(strokes-package t)
'(font-lock-use-colors t)
'(mew-package t)
'(c-backslash-column 80)
'(font-lock-use-fonts nil)
'(pcl-cvs-package nil)
'(compilation-mouse-motion-initiate-parsing t)
'(c-cleanup-list (quote (brace-else-brace brace-elseif-brace empty-defun-braces
scope-operator)))
'(mule-base-package nil)
'(c-default-style "user")
'(igrep-package t)
'(leim-package nil)
'(mine-package t)
'(truncate-lines t)
'(c-electric-pound-behavior (quote (alignleft)))
'(line-number-mode t)
'(edict-package nil)
'(net-utils-package t)
'(kill-whole-line t)
'(mail-lib-package t)
'(slider-package t)
'(get-frame-for-buffer-default-instance-limit 4)
'(vc-cc-package nil))
(custom-set-faces)
----------------------------------------
Almost everything work (somehow).
My notes are (bear in mind this is far from an exhaustive test!):
- On startup xemacs complains because "Error in init file:
Cannot open load file: pc\pc-select"; which is correct because
the subdir lisp\pc does *not* exist (I copied it by hand from
my Linux install and the problem went away).
- xemacs seems (still) to be unable to handle any internal command.
(shell-command "set") ;; (to see what env.var I have defined)
beeps a: "Spawning child process: Exec format error".
I already reported this (since none answered me I assumed I was the
only one to see this and I hoped I goofed the build somehow), if
someone is interested in my findings (i traced the problem, but
I'm unsure in how to fix it) please drop me a note.
- I tried to use the "vc" package (included in the release), but I
incurred in several problems:
- I had to manually (load-library "vc")
- the menu came up but Tools->VC->"CVS Update Directory" said
"Symbol's function definition is void: cvs-update"
- I copied the .../lisp/pcl-cvs subdir and the error became:
"Error starting: "bin/sh", "Exec format error"".
- I gave up ;-(
My personal opinion:
This thing is NOT ready for prime time.
Normal W{95|NT} users will have difficulties because xemacs
is too unix-ish.
Unix-aware users will expect to have "the real thing" and will
be disappointed (sorely so).
I, for one, would like to use xemacs (instead of some other
W95 editor) to be able to browse CVS, use emerge (possibly aganist
repository, ...), otherwise I would stick to SemWare's e32.
I'm a little afraid to go the cygwin32 road, since I tested it
and felt like a monster with the problems of both worlds.
What I would really like would be to be able to prepare a package
(to be handed to non-unix-savvy developers) to enable editing,
compiling, diffing, Tagging and CVSsing.
Any suggestion??
Thanks!
Mauro
Best Regards
Mauro Condarelli