Warning: `mapcar' called for effect

Bug #482849 reported by Bryce Harrington
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
emacsen-common (Debian)
Fix Released
Unknown
emacsen-common (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: emacs23

Got this warning when installing emacs23-nox in an i386 chroot environment.

Setting up emacs23-nox (23.1+1-4ubuntu5) ...
update-alternatives: using /usr/bin/emacs23-nox to provide /usr/bin/emacs (emacs) in auto mode.
emacs-install emacs23
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc

In debian-run-directories:
debian-startup.el:131:25:Warning: `mapcar' called for effect; use `mapc' or
    `dolist' instead
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 482849] [NEW] Warning: `mapcar' called for effect

what problems does this warning cause for you?
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
era (era) wrote :

> what problems does this warning cause for you?

Wouldn't it be fair to assume that it's a minor / cosmetic issue. Let's see to it that it's reported upstream so that the Debian maintainer can fix this whenever they update the file next time.

affects: emacs23 (Ubuntu) → emacsen-common (Ubuntu)
Revision history for this message
era (era) wrote :

Confirming based on multiple upstream bug reports.

Changed in emacsen-common (Ubuntu):
status: New → Confirmed
Changed in emacsen-common (Debian):
status: Unknown → New
Revision history for this message
Bryce Harrington (bryce) wrote :

Yeah I didn't see any other breakage I could attribute to this, just mentioning in case it's important and if not, in the general hope of quelling innocuous warnings. Guessing it's just a code cleanup thing.

Changed in emacsen-common (Ubuntu):
importance: Undecided → Low
Revision history for this message
Andrey Bondarenko (abone) wrote :

Debuan bug #530961 has a patch to the issue since Sep 2009. A debdiff with the patch from Debian bug is attached.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

I've set the Maintainer field to Ubuntu Developers <email address hidden> and uploaded the patch.

Thanks.

Changed in emacsen-common (Ubuntu):
assignee: nobody → Alessio Treglia (quadrispro)
status: Confirmed → In Progress
assignee: Alessio Treglia (quadrispro) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package emacsen-common - 1.4.19ubuntu2

---------------
emacsen-common (1.4.19ubuntu2) natty; urgency=low

  [ Andrey Bondarenko ]
  * debian-startup.el: fix "Warning: 'mapcar' called for effect"
    patch by Era Eriksson (LP: #482849) taken from Debian bug #530961.

  [ Alessio Treglia ]
  * Set target to natty.
 -- Andrey Bondarenko <email address hidden> Thu, 25 Nov 2010 14:31:18 +0500

Changed in emacsen-common (Ubuntu):
status: Fix Committed → Fix Released
Changed in emacsen-common (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.