W dniu 2013-10-09 17:32, Alastair Irving pisze:
I agree regarding the -q switch. However, its still included in the emacspeak.sh script on linux and we presumably want things to be as consistent as possible.
This is the thing I want to fix. That's why I put a note about it in readme file in Windows version. The road is not easy, because core emacs doesn't want to help. Here is a fresh discussion on subject on emacs-devel list:
http://emacs.1067599.n5.nabble.com/run-load-a-lisp-script-before-user-init-file-tp299200.htmlAs you said, Alastair. I would like to fix it in a cross-platform way. But if someone does it before me, that's even better. The only thing is to synchronize with each other, not to duplicate our work. Here is my plan:
1. Locate site-start and remember its directory 2. If necessary, create a new site-start.el in (car load-path). load-path must be checked while run through a script with -Q or -q 3. Create a site-start.d directory 4. Put a testing script in that directory 5. Run emacs and test if the script gets executed 6. If the script is not executed, make site-script.d executable directory (details in thread mentioned above). This change is to stay forever in Emacs, uninstall won't remove the directory. This is the thing Emacs should do for us, but admins there are not interested. Storing the directory name in a site-start-d variable should also be a handy thing. 7. Place a startup script in site-start.d 8. The script will test if env var ACTIVATE_EMACSPEAK is set. Only then will it activate emacspeak.Points 1-6 should be spread as a universal workaround for the lack of site-start.d in Emacs.
On Windows we have additional problem, becase dll files must be in the system path. Currently it is done by batch file, so putting a load command in user init file may be not enough to fire our app. Maybe a complete initialization script will solve this issue. Or I'll try to link whole library into a single dll.
Jarek ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help".
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998