From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: About elisp, Lossing data after sort Date: Wed, 14 Mar 2007 09:48:15 +0100 Organization: Informatimago Message-ID: <87649443e8.fsf@voyager.informatimago.com> References: <1173837100.827152.92620@l75g2000hse.googlegroups.com> <1173849872.137952.101020@b75g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173865265 7943 80.91.229.12 (14 Mar 2007 09:41:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 09:41:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 14 10:40:58 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HRPyb-0005W3-IA for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 10:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRPzS-00069v-UV for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 04:41:50 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: individual.net ef1OS5SihqIcxm7CyrXeTQ2Ze2n2TKfnFtqC+j0unxAgh+lPUI Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) Cancel-Lock: sha1:oY0a8UBOzKu+KSJzxG4h1zZY7Hw= Original-Xref: shelby.stanford.edu gnu.emacs.help:146350 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41954 Archived-At: "htbest2000" writes: > On Mar 14, 12:39 pm, Barry Margolin wrote: >> In article <1173837100.827152.92...@l75g2000hse.googlegroups.com>, >> "htbest2000" wrote: >> > (sort list '<) >> >> Change that to: >> >> (setq list (sort list '<)) >> > Thanks in advance! Too late! But do you understand why you should use (setq list (sort list '<)) instead of merely (sort list '<)? -- __Pascal Bourguignon__ http://www.informatimago.com http://pjb.ogamita.org