From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Why is FUNC in cl-callf not allowed to be an expression? Date: Tue, 21 May 2019 06:16:09 -0400 Message-ID: References: <874l631ek1.fsf@web.de> <87pnoqtuhm.fsf@web.de> <87r2961gox.fsf@web.de> <87mujohasa.fsf@web.de> <87a7fn3c6c.fsf@web.de> <875zqabh3t.fsf@web.de> <87zhnma11c.fsf@web.de> <871s0y3weo.fsf@web.de> <87tvdshew9.fsf@web.de> <87k1ek673s.fsf@web.de> <87d0kc5xs5.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19737"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , Emacs developers To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 21 12:24:10 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hT1wI-000506-Gp for ged-emacs-devel@m.gmane.org; Tue, 21 May 2019 12:24:10 +0200 Original-Received: from localhost ([127.0.0.1]:50897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT1wH-0007Qm-I0 for ged-emacs-devel@m.gmane.org; Tue, 21 May 2019 06:24:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT1op-0002w6-UV for emacs-devel@gnu.org; Tue, 21 May 2019 06:16:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT1op-0002LM-3n for emacs-devel@gnu.org; Tue, 21 May 2019 06:16:27 -0400 Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:41364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hT1oo-0002Ka-Ve for emacs-devel@gnu.org; Tue, 21 May 2019 06:16:27 -0400 Original-Received: by mail-oi1-x230.google.com with SMTP id y10so12337512oia.8 for ; Tue, 21 May 2019 03:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uMO9ojXrL2r06oWDmgfLJV4NdlzwIQi+PSOyO9tY464=; b=a+hit3CTkuqM1xjpGGOyHCtUpnPTZ2k+aWY4TKC78irzVLwks4nP8gUqVzGbOoDHe6 jHYqHs5ZsdVlB9cstAVjlpwzAzzIK6eNkikPr7k2pNjGPV0UdXUBmor+MC/WolpY3O2w 7liZRX0nFAI0PC2LMrIr2Gn1+M6nSEbhTn15qO3eZbn+DqkWBn2U8ZVUUk8dMWdv2TX8 NHwxE9i7IWgQKjm5LEXcgHi3VgP2zgP9takQeMhIH7NKR/5bgijjxJAgxnR1iAGSmHY3 JjP+a/OKbPFuV44NW8dS+XXVW94leH2ObPiwVLOUfNKtuvNnFwwisTzcRS6tCnXZGvyA WFaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uMO9ojXrL2r06oWDmgfLJV4NdlzwIQi+PSOyO9tY464=; b=AP4zBYTbm9SZpX41T8HXgqY0LZ2d6j8S3P1LxONES6Rd+LCpLkR5ATGmIGM7J+wTTh x3Y05k0EAbRjTljaDOeRkwKIPIvo0RN9SyUV8Aw5Kr3xGeeuljDSqRGhEMKxf5iCMenx zmC3MwLDV8BEkfRxlrub1fCaojW20uIDXmQrdq3Lt6NarMVvuuTghBghID7UPQnyojOP ViClRWgGh0qnNIAhsQN+1U9+yWRItYjWQk326GwVZ3X7Iaaelsk5MAqg4BpZpvTigDll xAZ3bMF1EXb3Kp+KFwLc4ic5iKO0aAyq6wTO37573phD9fnDIZYpZG7IRZG6UDGUPgeD RBOQ== X-Gm-Message-State: APjAAAWmA1Dup+8EEimbKgjQNF/cQXVvih8Us4voyJQMDYHlSRmq1OS4 nzYQPkiT9G+H4GGUwxEKTu3e5cZ+QFv388bB2h8= X-Google-Smtp-Source: APXvYqy/OSer2zN0OC4mp93LDcSWOrIf6vCk5ql5dAgk9rlpp2n0uoLPHJwsa3q1b//859MCizc7HTleKIjwz7pK2BA= X-Received: by 2002:aca:eb4a:: with SMTP id j71mr2970854oih.69.1558433786081; Tue, 21 May 2019 03:16:26 -0700 (PDT) In-Reply-To: <87d0kc5xs5.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::230 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:236851 Archived-At: On Mon, 20 May 2019 at 22:47, Michael Heerdegen wrote: > > > (cl-callf (with (if flag #'1+ #'1-)) my-number) > OTOH, it probably wouldn't be good idea to complicate cl-callf if we > also want to add other stuff. Yeah, why not use something like (funcallf (if flag #'1+ #'1-) my-number)