all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7414: 24.0.50; autoload-find-destination throws error in EOL detection
@ 2010-11-16 16:45 David Engster
  2010-11-17  3:48 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: David Engster @ 2010-11-16 16:45 UTC (permalink / raw)
  To: 7414

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7414: 24.0.50; autoload-find-destination throws error in EOL detection
  2010-11-16 16:45 bug#7414: 24.0.50; autoload-find-destination throws error in EOL detection David Engster
@ 2010-11-17  3:48 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-11-17  3:48 UTC (permalink / raw)
  To: 7414-done

Version: 23.3

Thanks; fixed in emacs-23.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-17  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 16:45 bug#7414: 24.0.50; autoload-find-destination throws error in EOL detection David Engster
2010-11-17  3:48 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.