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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Engster <deng <at> randomsample.de>
Subject: bug#7414: closed (Re: bug#7414: 24.0.50; autoload-find-destination
 throws error in EOL detection)
Date: Wed, 17 Nov 2010 03:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7414: 24.0.50; autoload-find-destination throws error in EOL detection

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7414 <at> debbugs.gnu.org.

-- 
7414: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7414
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 7414-done <at> debbugs.gnu.org
Subject: Re: bug#7414: 24.0.50;
	autoload-find-destination throws error in EOL detection
Date: Tue, 16 Nov 2010 22:48:20 -0500
Version: 23.3

Thanks; fixed in emacs-23.

[Message part 3 (message/rfc822, inline)]
From: David Engster <deng <at> randomsample.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 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.