all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ignore-errors is void?
@ 2008-07-09 13:48 Bastian Webster
  2008-07-09 15:21 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bastian Webster @ 2008-07-09 13:48 UTC (permalink / raw)
  To: help-gnu-emacs

I came into work today with Emacs complaining on start up:

Symbol's function definition is void: ignore-errors.

I am using Emacs 22.2.1 with haskell-mode 2.4.

Here is the output from --debug-init:
  (ignore-errors (with-temp-buffer (call-process "ghc" nil t nil "--
print-libdir") (expand-file-name
"package.conf" ...)))
  eval((ignore-errors (with-temp-buffer (call-process "ghc" nil t nil
"--print-libdir") (expand-file-name "package.conf" ...))))
  custom-initialize-reset(haskell-package-conf-file (ignore-errors
(with-temp-buffer (call-process "ghc" nil t nil "--print-libdir")
(expand-file-name "p$
  custom-declare-variable(haskell-package-conf-file (ignore-errors
(with-temp-buffer (call-process "ghc" nil t nil "--print-libdir")
(expand-file-name "p$
  require(inf-haskell)
  eval-buffer(#<buffer  *load*> nil "/home/bastian/.emacs" nil t)  ;
Reading at buffer position 2047
  load-with-code-conversion("/home/bastian/.emacs" "/home/
bastian/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@
\312\307\313\314#\203#^@\315\202A^@\312\307\313\316#\203/^@\317\202A^@
\315\202A^@   \$
  command-line()
  normal-top-level()


I don't understand a lick of it, and any help would be appreciated.


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

* Re: ignore-errors is void?
  2008-07-09 13:48 ignore-errors is void? Bastian Webster
@ 2008-07-09 15:21 ` Peter Dyballa
  2008-07-09 19:08 ` Johan Bockgård
  2008-07-09 19:17 ` Nikolaj Schumacher
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-07-09 15:21 UTC (permalink / raw)
  To: Bastian Webster; +Cc: help-gnu-emacs


Am 09.07.2008 um 15:48 schrieb Bastian Webster:

>   eval-buffer(#<buffer  *load*> nil "/home/bastian/.emacs" nil t)  ;
> Reading at buffer position 2047

Launch your Emacs with -q (do not load user init file), open then  
~/.emacs in some buffer, and type:

	M-x goto-char RET 2047 RET

and you'll be in some proximity to the cause of the error. The error  
can come from an opening "(" 123 lines above ...

--
Greetings

   Pete

There are three types of people in this world: those who can count,  
and those who cannot.






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

* Re: ignore-errors is void?
  2008-07-09 13:48 ignore-errors is void? Bastian Webster
  2008-07-09 15:21 ` Peter Dyballa
@ 2008-07-09 19:08 ` Johan Bockgård
  2008-07-09 19:17 ` Nikolaj Schumacher
  2 siblings, 0 replies; 5+ messages in thread
From: Johan Bockgård @ 2008-07-09 19:08 UTC (permalink / raw)
  To: help-gnu-emacs

Bastian Webster <Bastian.Webster@gmail.com> writes:

> Symbol's function definition is void: ignore-errors.
>
> I am using Emacs 22.2.1 with haskell-mode 2.4.
>
> Here is the output from --debug-init:
>   (ignore-errors (with-temp-buffer (call-process "ghc" nil t nil "--
> print-libdir") (expand-file-name

`ignore-errors' isn't defined by default. You can load it by (require 'cl)

Also, the bug has been fixed in the haskell-mode's CVS

    2007-12-12  Stefan Monnier  <...>

         * inf-haskell.el (haskell-package-conf-file): Don't use
           `ignore-errors' because this form is not byte-compiled :-(.

    2007-12-11  Stefan Monnier  <...>

         * Release version 2.4.

-- 
Johan Bockgård


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

* Re: ignore-errors is void?
  2008-07-09 13:48 ignore-errors is void? Bastian Webster
  2008-07-09 15:21 ` Peter Dyballa
  2008-07-09 19:08 ` Johan Bockgård
@ 2008-07-09 19:17 ` Nikolaj Schumacher
  2 siblings, 0 replies; 5+ messages in thread
From: Nikolaj Schumacher @ 2008-07-09 19:17 UTC (permalink / raw)
  To: Bastian Webster; +Cc: help-gnu-emacs

Bastian Webster <Bastian.Webster@gmail.com> wrote:

> I came into work today with Emacs complaining on start up:
>
> Symbol's function definition is void: ignore-errors.
>
> I am using Emacs 22.2.1 with haskell-mode 2.4.

It sounds like haskell-mode might be forgetting to...
(eval-when-compile (require 'cl))




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

* Re: ignore-errors is void?
@ 2008-07-09 19:29 Bastian Webster
  0 siblings, 0 replies; 5+ messages in thread
From: Bastian Webster @ 2008-07-09 19:29 UTC (permalink / raw)
  To: help-gnu-emacs

It seems the problem has occurred because I ran 'make' and byte-compiled 
the files.  If I delete all of the .elc files, then everything runs as 
it should.  I don't understand, and I guess I can live with it, but I 
would like to know *why*.




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

end of thread, other threads:[~2008-07-09 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-09 13:48 ignore-errors is void? Bastian Webster
2008-07-09 15:21 ` Peter Dyballa
2008-07-09 19:08 ` Johan Bockgård
2008-07-09 19:17 ` Nikolaj Schumacher
  -- strict thread matches above, loose matches on Subject: below --
2008-07-09 19:29 Bastian Webster

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.