From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Strange results from sort-coding-systems Date: Thu, 23 Mar 2006 10:21:10 +0900 Message-ID: References: <87pskfcv7o.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1143076905 17152 80.91.229.2 (23 Mar 2006 01:21:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2006 01:21:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 23 02:21:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FMEWC-0002gk-CU for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 02:21:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMEWB-0000r1-Tg for ged-emacs-devel@m.gmane.org; Wed, 22 Mar 2006 20:21:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMEVw-0000qn-MN for emacs-devel@gnu.org; Wed, 22 Mar 2006 20:21:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMEVt-0000pO-IV for emacs-devel@gnu.org; Wed, 22 Mar 2006 20:21:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMEVt-0000pE-D1 for emacs-devel@gnu.org; Wed, 22 Mar 2006 20:21:21 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FMEWN-0000HL-7u for emacs-devel@gnu.org; Wed, 22 Mar 2006 20:21:51 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k2N1LBP5023160; Thu, 23 Mar 2006 10:21:11 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k2N1LBVd016650; Thu, 23 Mar 2006 10:21:11 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FMEVi-0003PQ-00; Thu, 23 Mar 2006 10:21:10 +0900 Original-To: Kevin Rodgers In-reply-to: (message from Kevin Rodgers on Wed, 22 Mar 2006 09:58:40 -0700) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51980 Archived-At: In article , Kevin Rodgers writes: > Stefan Monnier wrote: >>> (let ((pref (car (sort-coding-systems >>> '(mule-utf-16-be mule-utf-16-le mule-utf-8))))) >> >> >> sort-coding-systems is destructive, so you need to pass it a copy of >> the list. > Its doc string should mention that "The CODINGS list is modified by side > effects", just like sort's doc string. Right. I've just committed such a change. --- Kenichi Handa handa@m17n.org