Jim, I'm using the installer from
http://ergoemacs.org/
I'm not building Emacs. The original Emacs is horribly unergonomic.
Powerful as it can be as a center for all user action on a PC, it's a little
embarrassing for its keyboard bindings, as the creators of ErgoEmacs have
amply explained.
I want to stick with ErgoEmacs or switch to some other editor. Suggestions
anyone?
Jim, did you get your ErgoEmacs install to work with Factor?
When I open ErgoEmacs, it does its initialization. Clicking on the edit
field at the bottom, immediately after initialization opens a pane in the
bottom half of the window and shows all that was done:
Loading c:/Program Files (x86)/ErgoEmacs
1.8.1/site-lisp/../ergoemacs/init...
Loading ergoemacs-keybindings/ergoemacs-mode...
Loading functions...done
Loading ergoemacs-unbind...done
Loading ergoemacs-layout-us...done
Loading ergoemacs-keybindings/ergoemacs-mode...done
Loading init_load_packages...
Loading haskell-mode-2.7.0/haskell-site-file...done
(((fundamental-mode . minibuffer-complete-and-exit) . 2) ((fundamental-mode
. execute-extended-command) . 3) ((Info-mode .
Info-mouse-follow-nearest-node) . 1) ((Info-mode . mouse-drag-region) . 1)
((Info-mode . mwheel-scroll) . 22) ((Info-mode . info-emacs-manual) . 1)
((fundamental-mode . self-insert-command) . 76) ((fundamental-mode .
shell-command) . 2) ((fundamental-mode . mwheel-scroll) . 54)
((fundamental-mode . delete-backward-char) . 12) ((fundamental-mode .
kill-region) . 3) ((fundamental-mode . mouse-set-point) . 7)
((fundamental-mode . mouse-drag-region) . 20) ((fundamental-mode .
minibuffer-complete-word) . 3) ((fundamental-mode . set-background-color) .
4) ((fundamental-mode . backward-char) . 5) ((fundamental-mode .
delete-char) . 1) ((fundamental-mode . cua--prefix-override-handler) . 2)
((fundamental-mode . cua-copy-region) . 2) ((fundamental-mode .
scroll-bar-toolkit-scroll) . 103))
Loading init_load_packages...done
Loading init_version...done
Loading init_functions...done
Loading init_settings...done
Loading c:/Program Files (x86)/ErgoEmacs 1.8.1/ergoemacs/init_aliases.el
(source)...done
Loading init_keybinding...done
Loading init_mouse...done
Loading init_clean_menus...done
Loading c:/ErgoEmacs 1.8.1/.emacs.d/.recentf...done
Cleaning up the recentf list...done (0 removed)
server-ensure-safe-dir: The directory `~/.emacs.d/server' is unsafe
Above there is no mention of loading a file called .emacs, although you may
wonder whether "Loading init_load_packages or init-functions or
init_settings is a kind of synonym for the stuff in .emacs. Apparently not.
I can press M-a, type "set-back-ground color", press Enter, type "grey",
press Enter, and see the background change to grey, as expected. I entered
the same command
(set-background-color "grey")
into my .emacs file, saved it, opened ErgoEmacs, and saw no color change. I
conclude that the init file is not being loaded. I checked the file for
only LF line-end termination, too. It is correct.
Turns out that the user's HOME variable is the one to be used. I set my
HOME to C:\Users\<username>. There is a long discussion about the
correctness of this choice:
http://groups.google.com/group/ergoemacs/browse_thread/thread/7699b73df70005
ed
Note that the first posting in the above thread say that .emacs is loaded
from the place where HOME points. I placed my .emacs file there in
C:\Users\<username>; my HOME variable points
to the same place. My init file does not load when ErgoEmacs is launched.
I must be missing something.
I was hoping to do some Factor this weekend. That may not happen.
Has anyone experience with E-TextEditor (sometimes called just "E")? It
seems to be a Windows-based TextMate work-alike. Is anyone any working on
non-Emacs REPL-base editor integration for Factor?
Shaping
From: Jim mack [mailto:j...@less2do.com]
Sent: 2010-November-06, 19:54
To: factor-talk@lists.sourceforge.net
Subject: Re: [Factor-talk] ErgoEmacs init file not loading
Shaping,
I don't remember the order I did these things in, but here are some
artifacts I can find.
User variable "HOME" set to c:\emacs
System variable HOME set to C:\documents and settings\jmack
nothing in registry at HKCU\SOFTWARE\GNU\
.emacs file at c:\emacs. Make sure not to use a windows editor on it,
unless it has settings for unix cr stripping.
c:\emacs
.emacs.d
init.txt
emacs-23.1
INSTALL
bin\runemacs.exe
C:\emacs\emacs-23.1\bin\runemacs.exe is where it built itself to using make.
INSTALL contains the instructions I followed: <<<<<<<<<<<<<<<<<
1. Make sure your system has at least 120 MB of free disk space.
2a. `cd' to the directory where you unpacked Emacs and invoke the
`configure' script:
./configure
5. Invoke the `make' program:
make
6. If `make' succeeds, it will build an executable program `emacs'
in the `src' directory. You can try this program, to make sure
it works:
src/emacs -q
7. Assuming that the program `src/emacs' starts and displays its
opening screen, you can install the program and its auxiliary
files into their installation directories:
make install
>>>>>>>>>>>>>>>>>>
As a complete newbie, I did everything exactly as specified, and made no
assumptions. I had previously had ruby running on this xp 32 box, had
installed git. Has emacs ever been able to start, or is this a case where
emacs starts but integration through fuel to factor is the issue?
C:\Program Files\ErgoEmacs\ergoEmacs.exe also runs for me, does not contain
any .emacs files itself.
It may be that my going with a seeming convention of c:\emacs as the base
for the gnu emacs was what helps the defaults keep together?
On Sat, Nov 6, 2010 at 3:59 PM, Shaping <shap...@charter.net> wrote:
Hi Jim.
I'm trying to use ErgoEmacs, but I cannot get it working either on Windows 7
64-bit.
The contents of my .emacs file:
(load-file "F:\media\repositories\factor\misc\fuel\fu.el")
(setq fuel-listener-factor-binary "F:\media\repositories\factor"
(setq fuel-listener-factor-image "F:\media\repositories\factor"
(set-background-color "cornsilk")
These lines are gleaned from the readme file that comes with the FUEL vocab.
The contents don't matter now because the file is not being loaded by Emacs
or ErgoEmacs.
I saved the .emacs file in the ErgoEmacs install directory, in the bin
subdirectory, in .emacs.d and in .emac.s/server. The .emacs.d directory is
the only non-installation directory the installer creates.
When ErgoEmacs launches for the first time, the status bar says "The
directory '~/.emacs.d/server is unsafe".
1. If the environment variable HOME is set, use the directory it
indicates.
2. If the registry entry HKCU\SOFTWARE\GNU\Emacs\HOME is set, use the
directory it indicates.
3. If the registry entry HKLM\SOFTWARE\GNU\Emacs\HOME is set, use the
directory it indicates. Not recommended, as it results in users sharing the
same HOME directory.
4. If C:\.emacs exists, then use C:/. This is for backward
compatibility, as previous versions defaulted to C:/ if HOME was not set.
5. Use the user's AppData directory, usually a directory called
Application Data under the user's profile directory, the location of which
varies according to Windows version and whether the computer is part of a
domain.
This bit above seems thorough, but does not help with Emacs or ErgoEmacs.
Where did you place your .emacs file. Did you need to create a HOME
environment variable?
Shaping
From: Jim mack [mailto:j...@less2do.com]
Sent: 2010-November-05, 03:42
To: factor-talk@lists.sourceforge.net
Subject: Re: [Factor-talk] Working style; default font; preferred text
styler with REPL
I got gnu emacs working on my xp laptop by following these instructions,
http://www.gnu.org/software/emacs/windows/ntemacs.html
and the ones on the factor website:
http://www.gnu.org/software/emacs/windows/ntemacs.html. I was able to get
it to call factor & compile, and to update my source file's USING: as I
added words.
Then, I played around with ergo emacs, and screwed everything up, and ran
out of time. I'm a newbie, just thought that piece of info would be
confirmation that it's possible.
Jim
----------------------------------------------------------------------------
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
--
Jim
"I'm for extending the working Medicare program for our seniors all the way
back to contraception, so Americans can concentrate on living their lives
without fear of changing a job, going bankrupt from deductibles or fighting
HMO bureaucracy."
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk