From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.help Subject: Re: problems of everyday life Date: Wed, 16 Nov 2022 09:51:01 +0200 Organization: LINKOV.NET Message-ID: <86v8nfuyl6.fsf@mail.linkov.net> References: <87r0y4w8hy.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 16 08:53:43 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovDEs-0006HS-Sp for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Nov 2022 08:53:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovDE6-0004ti-Vf; Wed, 16 Nov 2022 02:52:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovDDx-0004tQ-Gu for help-gnu-emacs@gnu.org; Wed, 16 Nov 2022 02:52:47 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovDDv-0005zg-Gd for help-gnu-emacs@gnu.org; Wed, 16 Nov 2022 02:52:45 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 4F1A7C0006 for ; Wed, 16 Nov 2022 07:52:38 +0000 (UTC) In-Reply-To: <87r0y4w8hy.fsf@dataswamp.org> (Emanuel Berg's message of "Tue, 15 Nov 2022 16:19:21 +0100") Received-SPF: pass client-ip=217.70.183.198; envelope-from=juri@linkov.net; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140989 Archived-At: > or maybe > > (apply #'+ '(5 7 10)) > > or ... well, what do you prefer? This reminds the implementation of sleep sort: (dolist (i '(3 1 4 1 5 92 65 3 5 89 79 3)) (run-with-timer (* i 0.001) nil 'message "%d" i)) The sorted output printed in the *Messages* buffer: 1 [2 times] 3 [3 times] 4 5 [2 times] 65 79 89 92