Recent changes in Lightning Completion/Ultra-TeX

(For a slightly more detailed list of changes, see the file ChangeLog.)

Changes made between 27 January 1999 and 12 February 1999:

Fixed bug in light.el, changed name of *Completions buffer (added space at the start).

Changes made 26 January 1999:

Fixed bug in ultex.el, fixed typo in light.el, got rid of some byte-compiler warnings in aucify.el.

Changes made 19 January 1999:

Bug fixes in aucify.el and in ultex.el.

Changes made 14 January 1999:

Released version 0.51. Tried to make lightning completion work better when a recent version of the custom package is not available.

Changes made December 1998:

Released version 0.50. Some major changes this time.


First, lightning completion now occurs only if Emacs is idle for a time specified by the variable lc-complete-idle-time-default. The default value is 0.5, which is just long enough to really annoy those of us who are used to the old-fashioned, instantaneous, completion. To get the old behavior, set this variable to 0. Second, just about all of the options for lightning completion are customizable via the custom package in Emacs: run

  M-x customize-group lightning-completion
Recent versions of GNU Emacs and XEmacs include this customization package; if you use an older version, you may need to install it. See the custom home page for more information, or just download the thing.

Third, I fixed a few bugs.


First, I added support for multiple textree files. Now every time Emacs opens up a TeX file, it sees what the documentclass/style is and what packages are loaded; then it looks at the variable ultex-extra-tree-files to see if these classes/styles/packages have textree files associated to them. If so, they are loaded. See the documentation (or look in the customization group ``ultra-tex-files'') for more details. Second, just about all of the options for Ultra-TeX mode are customizable by running the command

  M-x customize-group ultra-tex
Because of this change, there is a new file, ultex-cus.el, in the distribution. This file contains all of the customization code (not that it matters to anyone, but you may have been wondering what that new file was). Also because of this change, the .ultex file is perhaps not so useful: I recommend using customize to set whatever options you want, and customize automatically stores these options in your .emacs file. Third, I added a few menus, so when you run plain Ultra-TeX mode, there is a menu which lets you add and remove commands from textree files, show various Greek keyboards, and things like that. When you also are using AUC-TeX (via the option ultex-use-auctex), there is a menu that lets you run TeX, LaTeX, BibTeX on the file, view the file, print the file, whatever. Fourth, I fixed a few bugs.

Because of the addition of customization code, I have removed various sample files from the package (like sample-keys.el, sample.emacs, and sample.ultex). They are not nearly as useful since options should now be more easily browsed and changed by users.

Warning: Starting with version 0.50 of this package, I have removed support for GNU Emacs 18. If you have to use Emacs 18, stick with version 0.41 or earlier.

Changes made 28 September 1998:


I fixed a bug in the Greek keys stuff that occurred with defining SPC in the Greek keymap.

Changes made 24 September 1998:


I tried to improve things for working with multiple-file documents. If you have a document broken up into several files, with one main file (called main.tex, for instance) containing a bunch of \include and \input statements, then a while ago I set things up (actually, Mike Mandell provided most of the code) so that new commands, labels, etc. would be retrieved from each of the include files. For some time now, the AUC-TeX people have had things set up so that if you are editing one of the auxiliary files, say chpt6.tex, if that file either starts with a line like

%% -*- TeX-master: "main.tex"; -*-
or ends with lines like
%% Local variables:
%% TeX-master: "main.tex"
%% End:
then running LaTeX on the buffer (by hitting C-c C-c, for instance) actually runs LaTeX on the file main.tex.

The change: I've now set things up so that if the file chpt6.tex contains either of the aforementioned sets of lines involving the variable TeX-master, then the file named by that variable will be scanned for definitions when you start editing chpt6.tex.

Changes made 3 September 1998:

I changed the default keybindings in light.el so that hitting backspace would do the right thing in XEmacs. No changes for people using GNU Emacs.

I also changed some of the suggested key bindings in sample-keys.el, and changed a bit of the documentation in light.texi to reflect this.

Follow this link for a description of older changes.
Last modified 21 December 1998.

Back to the Lightning Completion/Ultra-TeX home page.

Back to John Palmieri's home page.