all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Symbol's function definition is void: mapcan
@ 2013-12-23 16:08 Timur Aydin
  2013-12-23 17:06 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Timur Aydin @ 2013-12-23 16:08 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am using the bzr version of emacs, and I am seeing the error messages
in the subject line in two separate instances. The first time was when I
tried to get the GNUS email client to work. I wasn't able to and gave
up. The second time i started playing around with the "eww" web browser
and whenever I hit any link, this error is displayed. This must be a
fundamental problem because it is happening with two unrelated
applications, but I can't find out what it is.

I speculated that this is because of a dependency to the cl (common
lisp) library so I have put (require 'cl) into my .emacs.el. This time,
the error changed to:

Wrong type argument: listp, nil

So, what could be happening?

-- 
Timur



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

* RE: Symbol's function definition is void: mapcan
  2013-12-23 16:08 Symbol's function definition is void: mapcan Timur Aydin
@ 2013-12-23 17:06 ` Drew Adams
  2013-12-23 20:35 ` Tassilo Horn
  2013-12-24  7:02 ` Timur Aydin
  2 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2013-12-23 17:06 UTC (permalink / raw)
  To: Timur Aydin, help-gnu-emacs

> I am using the bzr version of emacs, and I am seeing the error messages
> in the subject line in two separate instances. The first time was when I
> tried to get the GNUS email client to work. I wasn't able to and gave
> up. The second time i started playing around with the "eww" web browser
> and whenever I hit any link, this error is displayed. This must be a
> fundamental problem because it is happening with two unrelated
> applications, but I can't find out what it is.
> 
> I speculated that this is because of a dependency to the cl (common
> lisp) library so I have put (require 'cl) into my .emacs.el. This time,
> the error changed to:
> 
> Wrong type argument: listp, nil
> 
> So, what could be happening?

mapcan is a Common Lisp function.  For Emacs, you can either, as you
tried, load library cl.el (actually, cl-extra.el) or load cl-lib.el
and use cl-mapcan instead of mapcan.

If the code you are using is not yours, and it calls mapcan instead
of cl-mapcan, then presumably it should be requiring cl.el (cl-extra.el).

If your loading cl.el leads to a wrong-type-argument error, then it
sounds like the code has a bug.  Try loading the source code for the
function that calls mapcan, then `M-x debug-on-error THE-FUNCTION',
for THE-FUNCTION that calls mapcan.  Step through the debugger to
find out what the problem is.  Or maybe just inspect that function,
to see what it is expecting vs what it receives as arg.

If it seems to be a bug in the code that calls mapcan, consider
reporting it: to the author if not part of Emacs, or
`M-x report-emacs-bug' if part of Emacs.



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

* Re: Symbol's function definition is void: mapcan
  2013-12-23 16:08 Symbol's function definition is void: mapcan Timur Aydin
  2013-12-23 17:06 ` Drew Adams
@ 2013-12-23 20:35 ` Tassilo Horn
  2013-12-24  7:02 ` Timur Aydin
  2 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2013-12-23 20:35 UTC (permalink / raw)
  To: Timur Aydin; +Cc: help-gnu-emacs

Timur Aydin <ta@taydin.org> writes:

Hi Timur,

> I am using the bzr version of emacs, and I am seeing the error
> messages in the subject line in two separate instances. The first time
> was when I tried to get the GNUS email client to work. I wasn't able
> to and gave up. The second time i started playing around with the
> "eww" web browser and whenever I hit any link, this error is
> displayed. This must be a fundamental problem because it is happening
> with two unrelated applications, but I can't find out what it is.
>
> I speculated that this is because of a dependency to the cl (common
> lisp) library so I have put (require 'cl) into my .emacs.el. This
> time, the error changed to:
>
> Wrong type argument: listp, nil

Both the cl-dependency and the wrong type argument error have been fixed
in emacs bzr trunk some days ago (the problem was in the TLS connection
code which is used by Gnus), so you should be fine after running "bzr
update".

Bye,
Tassilo



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

* Re: Symbol's function definition is void: mapcan
  2013-12-23 16:08 Symbol's function definition is void: mapcan Timur Aydin
  2013-12-23 17:06 ` Drew Adams
  2013-12-23 20:35 ` Tassilo Horn
@ 2013-12-24  7:02 ` Timur Aydin
  2 siblings, 0 replies; 4+ messages in thread
From: Timur Aydin @ 2013-12-24  7:02 UTC (permalink / raw)
  To: help-gnu-emacs

After updating my local bzr repo, both GNUS and eww started working
again. Thanks for the responses, guys!

-- 
Timur



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

end of thread, other threads:[~2013-12-24  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-23 16:08 Symbol's function definition is void: mapcan Timur Aydin
2013-12-23 17:06 ` Drew Adams
2013-12-23 20:35 ` Tassilo Horn
2013-12-24  7:02 ` Timur Aydin

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.