* undocumented change in mapconcat
@ 2002-03-21 13:02 Ulrich Neumerkel
2002-03-21 13:36 ` David Kastrup
2002-03-21 13:45 ` Andreas Schwab
0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Neumerkel @ 2002-03-21 13:02 UTC (permalink / raw)
--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
_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: undocumented change in mapconcat
2002-03-21 13:02 undocumented change in mapconcat Ulrich Neumerkel
@ 2002-03-21 13:36 ` David Kastrup
2002-03-21 13:45 ` Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: David Kastrup @ 2002-03-21 13:36 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: undocumented change in mapconcat
2002-03-21 13:02 undocumented change in mapconcat Ulrich Neumerkel
2002-03-21 13:36 ` David Kastrup
@ 2002-03-21 13:45 ` Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2002-03-21 13:45 UTC (permalink / raw)
Cc: bug-gnu-emacs
Ulrich Neumerkel <ulrich@a0.complang.tuwien.ac.at> 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
`concat' does not stringize integers any more, this has been deprecated
for a long time already. Use number-to-string as the map function.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-21 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 13:02 undocumented change in mapconcat Ulrich Neumerkel
2002-03-21 13:36 ` David Kastrup
2002-03-21 13:45 ` Andreas Schwab
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.