Hi,
I'm looking at building auctex within the XEmacs packages.
I have come up with a solution which unfortunately requires
modification to XEmacs.rules. I don't like that idea but I'm stuck. A
suggestion for how to solve this locally in the auctex package is
welcome.
(Lengthy problem description follows.)
One of the problems is to create the same auto-autoloads.el as the
auctex standalone XEmacs package build procedure, e.g. make
xemacs-package using the source distribution, does. The reason for
this is that the auctex build procedure appends info after generating
the auto-autoloads.
For simulating this in the package tree I have added this rule to the
Makefile. (Slightly simplified to show the point.)
----------------------------------------------------------------------
[...]
EXTRA_AUTOLOADS_DEPENDENCIES = tex-site.el preview/auto.el
include ../../XEmacs.rules
$(AUTOLOAD_PATH)/auto-autoloads.el:: $(EXTRA_AUTOLOADS_DEPENDENCIES)
cat tex-site.el >> $(AUTOLOAD_PATH)/auto-autoloads.el
cat preview/auto.el >> $(AUTOLOAD_PATH)/auto-autoloads.el
[...]
----------------------------------------------------------------------
The EXTRA_AUTOLOADS_DEPENDENCIES is something I introduced in
XEmacs.rules in order for the regeneration of auto-autoloads.el to
kick in if the tex-site.el or preview/auto.el are changed. Otherwise
only the rule above will fire and the files will be appended
again. This is a similar problem to the handling of _pkg.el I guess.
Here is the patch to XEmacs.rules.
--- working directory: "/src/xemacs/packages/"
% cvs diff -u XEmacs.rules
Index: XEmacs.rules
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/XEmacs.rules,v
retrieving revision 1.59
diff -u -r1.59 XEmacs.rules
--- XEmacs.rules 24 May 2007 20:22:29 -0000 1.59
+++ XEmacs.rules 7 Oct 2007 13:45:45 -0000
@@ -462,11 +462,11 @@
# rebuilding), then our suppress forms may have changed. Just rebuilding
# the autoload file normally isn't enough as the old suppress forms will
# still sit there, so nuke it first.
-$(AUTOLOAD_PATH)/auto-autoloads.el:: $(AUTOLOAD_PATH)/_pkg.el
+$(AUTOLOAD_PATH)/auto-autoloads.el:: $(AUTOLOAD_PATH)/_pkg.el $(EXTRA_AUTOLOADS_DEPENDENCIES)
rm -f $(AUTOLOAD_PATH)/auto-autoloads.el
ifeq ($(XEMACS_21_5),t)
-$(AUTOLOAD_PATH)/auto-autoloads.el:: $(GENERATED_ELC_DEPENDENCIES)
+$(AUTOLOAD_PATH)/auto-autoloads.el:: $(GENERATED_ELC_DEPENDENCIES) $(EXTRA_AUTOLOADS_DEPENDENCIES)
$(XEMACS_BATCH_CLEAN) $(LOAD_AUTOLOADS) \
-l autoload -f batch-update-directory-autoloads \
$(PACKAGE) $(AUTOLOAD_PATH)
@@ -484,7 +484,7 @@
AUTOLOAD_FILE = (setq generated-autoload-file \
\"$(AUTOLOAD_PATH)/auto-autoloads.el\")
-$(AUTOLOAD_PATH)/auto-autoloads.el:: $(GENERATED_ELC_DEPENDENCIES)
+$(AUTOLOAD_PATH)/auto-autoloads.el:: $(GENERATED_ELC_DEPENDENCIES) $(EXTRA_AUTOLOADS_DEPENDENCIES)
$(XEMACS_BATCH_CLEAN) $(LOAD_AUTOLOADS) \
-eval "$(AUTOLOAD_PACKAGE_NAME)" \
-eval "$(AUTOLOAD_FILE)" \
Exit 1 15:47:31
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Ar an seachtú lá de mí Deireadh Fómhair, scríobh Stephen J. Turnbull:
> Aidan, you know anything about this?
Update your leim package to at least 1.25, which includes the latin-4-prefix
and latin-5-prefix input methods.
I’m about to commit a further change to that package, but it won’t affect
your build failure.
> Testing Interpreted Lisp
>
> FAIL: Assertion failed: (assoc language-input-method
> input-method-alist)
> SKIP: "check that IM latin-5-prefix can be activated" BECAUSE "input
> method unavailable"
> FAIL: Assertion failed: (assoc language-input-method
> input-method-alist)
> SKIP: "check that IM latin-4-prefix can be activated" BECAUSE "input
> method unavailable"
> FAIL: Assertion failed: (assoc language-input-method
> input-method-alist)
> SKIP: "check that IM latin-4-prefix can be activated" BECAUSE "input
> method unavailable"
> FAIL: Assertion failed: (assoc language-input-method
> input-method-alist)
> SKIP: "check that IM latin-4-prefix can be activated" BECAUSE "input
> method unavailable"
> FAIL: Assertion failed: (assoc language-input-method
> input-method-alist)
> SKIP: "check that IM latin-4-prefix can be activated" BECAUSE "input
> method unavailable"
> FAIL: Assertion failed: (assoc language-input-method
> input-method-alist)
> SKIP: "check that IM latin-4-prefix can be activated" BECAUSE "input
> method unavailable"
> KNOWN BUG: Assertion failed: (string-match "^;;;###coding system:
> escape-quoted" (buffer-substring nil nil byte-compile-result))
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Unfortunately, typing into the other window when using rot13-other-window
doesn't do anything very sensible -- it just enters straight unrotted text
into the buffer being viewed (well actually, it's probably applying rot1
26 times :). Anyone got any patches to make entry into that other window
become rot13'd into the real buffer?
Lbhef, fvapreryl.
--
Tim Connors
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
Tim Connors wrote:
> Unfortunately, typing into the other window when using rot13-other-window
> doesn't do anything very sensible -- it just enters straight unrotted text
> into the buffer being viewed (well actually, it's probably applying rot1
> 26 times :). Anyone got any patches to make entry into that other window
> become rot13'd into the real buffer?
This doesn't do quite what you *describe,* but it should suffice for
what you *want*. Needs Mule, and the Quail package. To enable, hit C-u
C-\ rot13 RET , and start typing; to disable, hit C-\ on its own.
(require 'quail)
(quail-define-package
"rot13" "rot13" "r13" nil
"ROT-13 input method.
Alphabetic characters are moved 13 places in the alphabet on input. ")
(let ((i -1)
(a (char-to-int ?a))
(A (char-to-int ?A)))
(while (< (incf i) 26)
(quail-defrule (string (+ i a)) (char-to-string (int-to-char (+ (%
(+ i 13) 26) a))))
(quail-defrule (string (+ i A)) (char-to-string (int-to-char (+ (%
(+ i 13) 26) A))))))
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
skip> As far as I know SCCS doesn't have any sort of annotate command.
Mike> Try "sccs get -p -m /x/y/z".
Cool. Does that make this problem a shortcoming in the SCCS backend of vc?
Skip
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta