auctex: to submit or not to submit that is the question.

Uwe Brauer oub at mat.ucm.es
Mon Apr 7 13:44:29 EDT 2008


Hello


I downloaded the completely xemacs-packages tree again and applied
Mats patch

    -  without the patch for XEmacs.rules

    -  with the patch for XEmacs.rules

The good news are that the packages compiles even without the patch
for XEmacs.rules

The bad news are, that, unfortunately, the difference in an important
file, namely auto-autoloads.el is significant.

Frankly I have difficulties to see why I should submit, the resulting
packages will not work correctly and we had, quite recently
(justified) complains by the auctex team about our outdated auctex
pkg. So to have complains that the resulting packages does not work,
does not do any good to Xemacs. 

I therefore propose to apply the XEmacs.rules patch *before* I submit.

I attach the diffs of the XEmacs.rules and auto-autoload.el files.


Uwe Brauer

-------------- next part --------------
62,63c62
< #   given to build them.  XEmacs.rules will automatically add auto-autoloads,
< #   custom-load, and custom-defines to this list, so don't include them.
---
> #   given to build them
461a461
> ifneq ($(PACKAGE_HANDLES_AUTOLOADES),t)
466,468d465
< 
< # We include xemacs-base in the load path so as to get the operator
< # definitions in autoload-operators.el.
474,476c471
< 	$(XEMACS_BATCH_CLEAN) \
< 	-eval '(setq load-path (cons "$(XEMACS_PACKAGES_BASE)/xemacs-packages/xemacs-base" load-path)))' \
< 	$(LOAD_AUTOLOADS) \
---
> 	$(XEMACS_BATCH_CLEAN) $(LOAD_AUTOLOADS) \
494,496c489
< 	$(XEMACS_BATCH_CLEAN) \
< 	-eval '(setq load-path (cons "$(XEMACS_PACKAGES_BASE)/xemacs-packages/xemacs-base" load-path)))' \
< 	$(LOAD_AUTOLOADS) \
---
> 	$(XEMACS_BATCH_CLEAN) $(LOAD_AUTOLOADS) \
502a496
> endif
-------------- next part --------------
diff -c /home/oub/ALLES/packages-new/xemacs-packages/Patch/lisp/auctex/auto-autoloads.el /home/oub/ALLES/packages-new/xemacs-packages/NOpatch2/lisp/auctex/auto-autoloads.el
*** /home/oub/ALLES/packages-new/xemacs-packages/Patch/lisp/auctex/auto-autoloads.el	2008-04-07 19:42:59.135791000 +0200
--- /home/oub/ALLES/packages-new/xemacs-packages/NOpatch2/lisp/auctex/auto-autoloads.el	2008-04-07 19:42:59.239797500 +0200
***************
*** 71,101 ****
  
  ;;;***
  
! ;;;### (autoloads (docTeX-mode TeX-latex-mode BibTeX-auto-store) "latex" "auctex/latex.el")
  
  (autoload 'BibTeX-auto-store "latex" "\
  This function should be called from `bibtex-mode-hook'.
  It will setup BibTeX to store keys in an auto file." nil nil)
  
- (add-to-list 'auto-mode-alist '("\\.drv\\'" . latex-mode))
- 
- (autoload 'TeX-latex-mode "latex" "\
- Major mode in AUCTeX for editing LaTeX files.
- See info under AUCTeX for full documentation.
- 
- Special commands:
- \\{LaTeX-mode-map}
- 
- Entering LaTeX mode calls the value of `text-mode-hook',
- then the value of `TeX-mode-hook', and then the value
- of `LaTeX-mode-hook'." t nil)
- 
- (add-to-list 'auto-mode-alist '("\\.dtx\\'" . doctex-mode))
- 
- (autoload 'docTeX-mode "latex" "Major mode in AUCTeX for editing .dtx files derived from `LaTeX-mode'.\nRuns `LaTeX-mode', sets a few variables and\nruns the hooks in `docTeX-mode-hook'." t nil)
- 
- (defalias 'TeX-doctex-mode 'docTeX-mode)
- 
  ;;;***
  
  ;;;### (autoloads (multi-prompt) "multi-prompt" "auctex/multi-prompt.el")
--- 71,82 ----
  
  ;;;***
  
! ;;;### (autoloads (BibTeX-auto-store) "latex" "auctex/latex.el")
  
  (autoload 'BibTeX-auto-store "latex" "\
  This function should be called from `bibtex-mode-hook'.
  It will setup BibTeX to store keys in an auto file." nil nil)
  
  ;;;***
  
  ;;;### (autoloads (multi-prompt) "multi-prompt" "auctex/multi-prompt.el")
***************
*** 119,150 ****
  
  ;;;***
  
! ;;;### (autoloads nil "tex-fold" "auctex/tex-fold.el")
! (autoload 'TeX-fold-mode "tex-fold" "Minor mode for hiding and revealing macros and environments." t)
! 
! (defalias 'tex-fold-mode 'TeX-fold-mode)
! 
! ;;;***
! 
! ;;;### (autoloads (tex-font-setup) "tex-font" "auctex/tex-font.el")
! 
! (autoload 'tex-font-setup "tex-font" "\
! Setup font lock support for TeX." nil nil)
! 
! ;;;***
! 
! ;;;### (autoloads (TeX-texinfo-mode) "tex-info" "auctex/tex-info.el")
! 
! (defalias 'Texinfo-mode 'texinfo-mode)
! 
! (autoload 'TeX-texinfo-mode "tex-info" "\
! Major mode in AUCTeX for editing Texinfo files.
! 
! Special commands:
! \\{Texinfo-mode-map}
! 
! Entering Texinfo mode calls the value of `text-mode-hook'  and then the
! value of `Texinfo-mode-hook'." t nil)
  
  ;;;***
  
--- 100,106 ----
  
  ;;;***
  
! ;;;### (autoloads nil "tex-info" "auctex/tex-info.el")
  
  ;;;***
  
***************
*** 160,189 ****
  
  ;;;***
  
! ;;;### (autoloads (TeX-submit-bug-report ams-tex-mode TeX-auto-generate-global TeX-auto-generate TeX-plain-tex-mode TeX-tex-mode) "tex" "auctex/tex.el")
! 
! (autoload 'TeX-tex-mode "tex" "\
! Major mode in AUCTeX for editing TeX or LaTeX files.
! Tries to guess whether this file is for plain TeX or LaTeX.
! 
! The algorithm is as follows:
! 
!    1) if the file is empty or `TeX-force-default-mode' is not set to nil,
!       `TeX-default-mode' is chosen
!    2) If \\documentstyle or \\begin{, \\section{, \\part{ or \\chapter{ is
!       found, `latex-mode' is selected.
!    3) Otherwise, use `plain-tex-mode'" t nil)
! 
! (autoload 'TeX-plain-tex-mode "tex" "\
! Major mode in AUCTeX for editing plain TeX files.
! See info under AUCTeX for documentation.
! 
! Special commands:
! \\{plain-TeX-mode-map}
! 
! Entering `plain-tex-mode' calls the value of `text-mode-hook',
! then the value of `TeX-mode-hook', and then the value
! of plain-TeX-mode-hook." t nil)
  
  (autoload 'TeX-auto-generate "tex" "\
  Generate style file for TEX and store it in AUTO.
--- 116,122 ----
  
  ;;;***
  
! ;;;### (autoloads (TeX-submit-bug-report TeX-insert-quote TeX-auto-generate-global TeX-auto-generate) "tex" "auctex/tex.el")
  
  (autoload 'TeX-auto-generate "tex" "\
  Generate style file for TEX and store it in AUTO.
***************
*** 191,214 ****
  
  (autoload 'TeX-auto-generate-global "tex" "\
  Create global auto directory for global TeX macro definitions." t nil)
  
! (autoload 'ams-tex-mode "tex" "\
! Major mode in AUCTeX for editing AmS-TeX files.
! See info under AUCTeX for documentation.
! 
! Special commands:
! \\{AmSTeX-mode-map}
! 
! Entering AmS-tex-mode calls the value of `text-mode-hook',
! then the value of `TeX-mode-hook', and then the value
! of `AmS-TeX-mode-hook'." t nil)
  
  (autoload 'TeX-submit-bug-report "tex" "\
  Submit a bug report on AUCTeX via mail.
  
  Don't hesitate to report any problems or inaccurate documentation.
  
! If you don't have setup sending mail from (X)Emacs, please copy the
  output buffer into your mail program, as it gives us important
  information about your AUCTeX version and AUCTeX configuration." t nil)
  
--- 124,144 ----
  
  (autoload 'TeX-auto-generate-global "tex" "\
  Create global auto directory for global TeX macro definitions." t nil)
+ (autoload 'ams-tex-mode "tex" nil t)
  
! (autoload 'TeX-insert-quote "tex" "\
! Insert the appropriate quote marks for TeX.
! Inserts the value of `TeX-open-quote' (normally ``) or `TeX-close-quote'
! \(normally '') depending on the context.  If `TeX-quote-after-quote'
! is non-nil, this insertion works only after \".
! With prefix argument FORCE, always inserts \" characters." t nil)
  
  (autoload 'TeX-submit-bug-report "tex" "\
  Submit a bug report on AUCTeX via mail.
  
  Don't hesitate to report any problems or inaccurate documentation.
  
! If you have not set up sending mail from (X)Emacs, please copy the
  output buffer into your mail program, as it gives us important
  information about your AUCTeX version and AUCTeX configuration." t nil)
  


More information about the XEmacs-Beta mailing list