Hi there
I would like to have the variable
`compilation-error-regexp-systems-list' buffer-local. I don't see much
of a point to drag all those error parsing regexps across my entire
XEmacs. However, in `compilation-mode' there is a nasty call to
kill-all-local-variables rendering my efforts useless.
Does anyone know why this is in there? Doesn't occur to
me. Unfortunately there are some loosely specified error regexps
that do a catch all, shadowing some of my own definitions.
Actually there is an interesting email, which might provide a clue, to
be found here http://osdir.com/ml/emacs.sources/2004-03/msg00031.html
Regards
-- Marcus
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Another chapter in the continuing saga of producing an XEmacs package
with MH-E 8... :-)
When I try to build MH-E 8, I get a custom-load.el that looks like this:
;;; custom-load.el --- automatically extracted custom dependencies
;;; Code:
(autoload 'custom-add-loads "cus-load")
;;; custom-load.el ends here
Notice the lack of calls to custom-add-loads.
I was able to generate a reasonable-looking custom-loads.el by visiting
<my_workspace>/xemacs-packages/mh-e and doing
M-x Custom-make-dependencies RET lisp RET
from my currently running XEmacs process, which of course already has
MH-E loaded.
Looking at the MH-E 8 source, I see that it doesn't invoke defcustom,
defface, or defgroup directly. Instead, it defines deffoo-mh wrapper
macros and invokes *them*.
Custom-make-dependencies-1 looks for sexp's that start with "defcustom",
"defface", or "defgroup". The regexp looks like it would find
invocations of defcustom-mh and friends (line numbers are for
lib/xemacs-21.4.19/lisp/cus-dep.el):
121 (while (re-search-forward
122 "^(defcustom\\|^(defface\\|^(defgroup"
123 nil t)
But consider what it does when it has found a likely match:
124 (beginning-of-line)
125 (let ((expr (read (current-buffer))))
126 ;; We need to ignore errors here, so that
127 ;; defcustoms with :set don't bug out. Of
128 ;; course, their values will not be assigned in
129 ;; case of errors, but their `custom-group'
130 ;; properties will by that time be in place, and
131 ;; that's all we care about.
132 (ignore-errors
133 (eval expr))
We'll get the right results if defcustom-mh et al are already defined,
but nothing if they're not defined.
I'm not sure how to proceed.
I'd rather not replace the deffoo-mh invocations with direct calls to
deffoo, since that approach seems unlikely to work for upstream.
I thought about moving the deffoo-mh definitions to their own file, and
modifying the build rules to load the macros before invoking
Custom-make-dependencies. For example, if I define a new makefile macro
called CUSTOM_LOAD_PREMAKE, it could be null for most packages, but
something like "-l mh-macros" for MH-E. Then the build rule for
custom-load.el could look like
$(AUTOLOAD_PATH)/custom-load.el: $(GENERATED_ELC_DEPENDENCIES)
$(XEMACS_BATCH_CLEAN) $(LOAD_AUTOLOADS) -l cus-dep \
$(CUSTOM_LOAD_PREMAKE) \
-f Custom-make-dependencies $(AUTOLOAD_PATH)
@touch $(AUTOLOAD_PATH)/custom-load.el
@rm -f $(AUTOLOAD_PATH)/custom-load.el~
Comments? Suggestions?
thanks,
mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Jason Spiro writes:
> How many seconds is the delay for a 100KB or so source file?
Depends on the mode. CC Mode seems to be the worst, with >5s being
common for a full fontification of a 100KB file. This is unacceptable
especially when starting up with many files in your .emacs.desktop.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Folks:
I just built XEmacs 21.5.28 on GNU/OpenSolaris (Nexenta). I hit the
problem and used the fix described herein:
http://calypso.tux.org/pipermail/xemacs-beta/2007-July/011615.html
Now I think I have a problem with packages or with lisp paths. I
tried to use efs to get packages, by executing M-x package-get-all
(or any other "package-get-" function), then it says "Symbol's value
as variable is void: allow-remote-paths".
One wrinkle is that I configured it with "./configure --prefix=/usr/
local/stow/xemacs-21.5.28", and then later ran "cd /usr/local/stow &&
sudo stow -v xemacs-21.5.28", which means that the path by which
xemacs is being launched is /usr/local/bin/xemacs, which is a symlink
to /usr/local/stow/xemacs-21.5.28/bin/xemacs.
Thanks in advance for any help!
Regards,
Zooko
-------
nooxie:~$ xemacs -debug-paths -batch
startup-setup-paths arguments:
inhibit-packages: nil
inhibit-site-lisp: t
called-early: nil
emacs-roots:
("/usr/local/stow/xemacs-21.5.28/")
emacs-data-roots:
("/usr/local/stow/xemacs-21.5.28/")
user-init-directory: "~/.xemacs/"
configure-package-path: nil
lisp-directory:
"/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/lisp/"
early-package-hierarchies and early-package-load-path:
nil
nil
late-package-hierarchies and late-package-load-path:
nil
nil
last-package-hierarchies and last-package-load-path:
nil
nil
load-path:
("/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/lisp/")
module-directory:
"/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/i386-pc-
solaris2.11/modules/"
site-module-directory:
"/usr/local/stow/xemacs-21.5.28/lib/xemacs/site-modules/"
Info-directory-list:
("/usr/local/stow/xemacs-21.5.28/share/info/" "/usr/local/share/info"
"/usr/share/info")
exec-directory:
/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/i386-pc-solaris2.11/
exec-path:
("/c/Python24/Scripts/" "/home/zooko/bin/" "/usr/local/bin/" "/usr/
local/sbin/" "/usr/sbin/" "/usr/bin/" "/sbin/" "/usr/bin/X11/" "/usr/
games/" "/usr/bin/mh/" "/usr/X11R6/bin/" "/bin/" "/usr/lib/surfraw/"
"/cygdrive/c/Python24/" "/home/zooko/playground/pyutil/pyutil/
scripts/" "/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/i386-pc-
solaris2.11/")
doc-directory:
"/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/i386-pc-
solaris2.11/"
data-directory:
"/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/etc/"
data-directory-list:
("/usr/local/stow/xemacs-21.5.28/lib/xemacs-21.5-b28/etc/")
-------
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta