Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users. Be DEPENDS to it. This should
address pkg/37146 by Aleksey Cheusov.
While here convert some emacs lisp packages to user-destdir.
Release 1.7m, Wed Aug 23 11:37:05 CEST 2006 (Manuel Serrano):
*** Instead of using the hard-wire "-l" ispell option, Flyspell.el
now checks is Ispell.el defines the variable ISPELL-LISP-COMMAND.
If it does, the value of this variable is used instead of the string
"-l".
Release 1.7l, Mon Jul 24 16:50:06 CEST 2006 (Manuel Serrano):
*** Fix a simple Xemacs bug. The function
FLYSPELL-AFTER-CHANGE-FUNCTION was missing a guard. It has to
check on Xemacs if this-command is a symbol or not!?
1) Simplify the way how an emacs version is picked when no emacs
is installed, but a user try to install an Emacs Lisp package.
Just pick up the version set as EMACS_TYPE than searching for
versions already installed etc. If the EMACS_TYPE version is
not supported by the Emacs Lisp Package, just fail. EMACS_TYPE
be default to GNU Emacs 21.
(In other words, users should set EMACS_TYPE as they want.
Otherwise GNU Emacs 21 is used.)
2) All Emacs Lisp Packages *must* prepend EMACS_PKGNAME_PREFIX to
a) the PKGNAME itself, and b) PKGNAME in its dependency lines.
EMACS_PKGNAME_PREFIX is expanded to "xemacs-" when XEmacs is
used. This keeps dependency graph of Emacs-Lisp-packages-
installed-for-XEmacs consistent.
3) Document EMACS_* variables as much as possible.
4) Provide more cookies for PLIST. Maybe utilized later.
Note that the 2) change doesn't affect the default, GNU Emacs 21
behaviour. So no version / revision bumps in this commit.
*** Change the meaning of FLYSPELL-LARGE-REGION. From now on,
if FLYSPELL-LARGE-REGION is nil, regions are treated as small.
*** Improve doublon detection in TeX mode. The fix gets rid
of errors introduced by indexes.
*** Add the FLYSPELL-PROG-MODE-HOOK to FLYSPELL-PROG-MODE.
Flyspell enables on-the-fly spell checking in Emacs by the means
of a minor mode. It is called Flyspell. This facility is hardly
intrusive. It requires no help. Flyspell highlights incorrect words
as soon as they are completed or as soon as the cursor hits a new
word.
Flyspell is language independent because you are free to select
your own dictionary.
Flyspell is compatible with TeX editing. That is, Flyspell tries,
as much as possible, to avoid highlighting TeX command.
Flyspell proposes corrections for miss-spelled words by the means
of pop-up menus. Alternatively you will be able to store the word
in the global dictionary, to add it to the current document dictionary
or to ignore the miss-spelling for the current session.
Flyspell also proposes automatic corrections.
(This DESCR is also written by wiz. :-)