Package: auto-complete-el
Version: 1.3.1-1
Severity: normal
File: /usr/share/emacs/site-lisp/auto-complete/auto-complete.el

Starting from "emacs23 -q", evaluating

(progn
  (require 'auto-complete)
  (ac-symbol-documentation 'emacs-version)
  (describe-function 'emacs-version))

gives a warning in the *Messages* buffer

  Warning: defvar ignored because help-xref-following is let-bound

and an error

  Debugger entered--Lisp error: (void-variable help-xref-following)


I struck this somehow when auto-complete presented some variables and
their docstring and I later tried to bring up describe-variable
separately, but alas I don't have a good recipe to reproduce the
problem.

I believe ac-symbol-documentation should (require 'help-mode) before
let-binding help-xref-following, since as the message says a let will
defeat a defvar and leave the variable unbound.

Unless ac-symbol-documentation can be confident help-mode.el is already
loaded, but it looks like that's not so.

I believe help-mode.el and thus (require 'help-mode) is available in
emacs22 and up, but not xemacs21.  But that's fine since auto-complete
is only for emacs22 and up anyway is it?



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages auto-complete-el depends on:
ii  emacs22-gtk [emacs22]  22.3+1-1.2
ii  emacs23                23.4+1-3

auto-complete-el recommends no packages.

auto-complete-el suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to