From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Why is there no `until' in elisp? Date: Wed, 17 Oct 2018 11:03:06 -0400 Message-ID: References: <87murdu6to.fsf@portable.galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539788477 18534 195.159.176.226 (17 Oct 2018 15:01:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2018 15:01:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 17 17:01:13 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCnJx-0004j4-4F for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2018 17:01:13 +0200 Original-Received: from localhost ([::1]:37207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCnM3-0006cl-Jo for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2018 11:03:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCnLr-0006bh-PU for emacs-devel@gnu.org; Wed, 17 Oct 2018 11:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCnLo-0004X3-Iz for emacs-devel@gnu.org; Wed, 17 Oct 2018 11:03:11 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:51160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCnLo-0004Vx-79 for emacs-devel@gnu.org; Wed, 17 Oct 2018 11:03:08 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w9HF367s005876; Wed, 17 Oct 2018 11:03:06 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 8392EAE145; Wed, 17 Oct 2018 11:03:06 -0400 (EDT) In-Reply-To: (Yuri Khan's message of "Wed, 17 Oct 2018 15:04:43 +0700") X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6397=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6397> : inlines <6935> : streams <1801579> : uri <2732422> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230449 Archived-At: > In both these implementations, =E2=80=98until=E2=80=99 is still a pre-con= dition loop > (same as =E2=80=98while=E2=80=99, but with the condition negated). No, the condition can be anywhere: (while (progn (before) (test)) (after)) Stefan