all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <David.Kastrup@t-online.de>
Subject: Re: undocumented change in mapconcat
Date: 21 Mar 2002 14:36:17 +0100	[thread overview]
Message-ID: <x58z8mdovi.fsf@tupik.goethe.zz> (raw)
In-Reply-To: 200203211302.OAA24575@a0.complang.tuwien.ac.at

ulrich@a0.complang.tuwien.ac.at (Ulrich Neumerkel) writes:

> --text follows this line--
> 
> In GNU Emacs 21.1.2 (i686-pc-linux-gnu, X toolkit)
>  of 2002-03-15 on a8.complang.tuwien.ac.at
> configured using `configure  --prefix /usr/local
>  --without-toolkit-scroll-bars'
> 
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
> 
> in 20.7.2 (mapconcat 'identity '(1 10) ", ") yielded "1, 10"
> but in 21.1.2 this gives an error

This is not an undocumented change in mapconcat, but rather a
documented change in concat.  See the NEWS file:
** Code that uses `concat' with integer args now gets an error, as
long promised.

The solution, of course, is to use
(mapconcat 'int-to-string '(1 10) ", ")

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


  reply	other threads:[~2002-03-21 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-21 13:02 undocumented change in mapconcat Ulrich Neumerkel
2002-03-21 13:36 ` David Kastrup [this message]
2002-03-21 13:45 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x58z8mdovi.fsf@tupik.goethe.zz \
    --to=david.kastrup@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.