GNU bug report logs - #7414
24.0.50; autoload-find-destination throws error in EOL detection

Previous Next

Package: emacs;

Reported by: David Engster <deng <at> randomsample.de>

Date: Tue, 16 Nov 2010 16:41:02 UTC

Severity: normal

Found in version 24.0.50

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Engster <deng <at> randomsample.de>
To: 7414 <at> debbugs.gnu.org
Subject: bug#7414: 24.0.50; autoload-find-destination throws error in EOL detection
Date: Tue, 16 Nov 2010 17:45:23 +0100
While trying to update the autoloads of the Emacs Code Browser (ECB),
the following error occured (byte-code snipped):

Debugger entered--Lisp error: (wrong-type-argument numberp [utf-8-unix utf-8-dos utf-8-mac])
  zerop([utf-8-unix utf-8-dos utf-8-mac])
  autoload-find-destination("/Users/foo/emacs-packages/ecb/ecb-help.el" "ecb-help")
  autoload-generate-file-autoloads("ecb-help.el" nil "/Users/foo/emacs-packages/ecb/ecb-autoloads.el")
  update-directory-autoloads("/Users/foo/emacs-packages/ecb/")
  apply(update-directory-autoloads "/Users/foo/emacs-packages/ecb/")
  batch-update-autoloads()
  ecb-batch-update-autoloads()
  ecb-update-autoloads()

The culprit is obviously this

        (unless (zerop (coding-system-eol-type buffer-file-coding-system))
          (set-buffer-file-coding-system 'unix))

which doesn't consider that coding-system-eol-type can return a vector
of coding systems.

-David




This bug report was last modified 14 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.