From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tpeplt Newsgroups: gmane.emacs.help Subject: Re: Too many permutations computed Date: Fri, 04 Aug 2023 17:45:26 -0400 Message-ID: <87cz02qy6h.fsf@gmail.com> References: <873510f0jd.fsf@gmail.com> <87tttfk8sy.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 04 23:45:55 2023 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 1qS2cM-00037p-Vp for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 23:45:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qS2c7-0003Ez-11; Fri, 04 Aug 2023 17:45:39 -0400 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 1qS2c3-0003C2-JR for help-gnu-emacs@gnu.org; Fri, 04 Aug 2023 17:45:37 -0400 Original-Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qS2by-0006BV-Rx for help-gnu-emacs@gnu.org; Fri, 04 Aug 2023 17:45:32 -0400 Original-Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-63cef62a944so16181446d6.1 for ; Fri, 04 Aug 2023 14:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691185527; x=1691790327; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Nr0kMStfaiLMtEfO5Bso8Yh6dhB/b1JR0r0fPoT2DOs=; b=ejQLvzUtl7U7rtcDDMWIGWIc6w8rHPfvDF/7aOtFTXivlkqdzaLBLcX7OW9/yZL41b xZEhhVJ3+g8p6FHHwAETioCJ4G6XVKkSGuacBb2FvVXhsZc/Lmfij2JeSAQT+n038hLJ hNz5vdzFb5rqZQEC2i/nzcJSQWBf4a9PgzJs+PKA8VYq8Mvdc0KAeeXyGKMbHFZeuq2p lSVSFdxZy+NF0DMMX7+BicT1B/h5LBOyvYOYTSZG3+/Y3dhl98JO2aRL9GsF6d8AUIdy /GPL7JTembzVYzBT7EBXlKsvZZi/UPnRYQhnwTz3kVIlfZp8mmt4ljTfmvecLYIu62gv WsZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691185527; x=1691790327; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Nr0kMStfaiLMtEfO5Bso8Yh6dhB/b1JR0r0fPoT2DOs=; b=XX5THOMX3JrLpgQ+HJ2V6yNXg4FYapKGtJqVM5m4NL9f3F5b/DdWuZxDsUgl5v6QKJ 2i3menrzvKqpOD7tozNZklPb5BxJ4kODURxoBmZkYki1/lnp2spH3V9tTUVzNoImfMR7 n2a8F8hdcn2J5gNaAutQ7/SoaQeRYQh63htgwfnA3xSGoDPWbd6dCLNZB1KmqWKO0e4U MS89dhIORbwtXo67Y0UZeiifzwA0hQu2J0ggAYUmZDBimnhSRkjc00/CtiNE5xsADJAi Vg8CqH3dN6CXHsy79JwXrownTtZ0qLCcfSkLNRwknDYv4xPVoCqZN9M+t1Lo+kspOouz uTKw== X-Gm-Message-State: AOJu0Ywg4W5lD6I6KXMBUwGoFH6whxuCtniNbC24rfYW7sPlB3L/ubvC N+l8bcoFd24mQkuvCfXBjtE2KqorMQ3oHA== X-Google-Smtp-Source: AGHT+IHvM1qVu1/Tf5v0KXH7QfmR/nVn1JQwDgcRef6lCpIzpxyBqH/SC/ariOCX08tyYulZi1mN9Q== X-Received: by 2002:a0c:ef8b:0:b0:63d:36ab:93f0 with SMTP id w11-20020a0cef8b000000b0063d36ab93f0mr3000189qvr.54.1691185527192; Fri, 04 Aug 2023 14:45:27 -0700 (PDT) Original-Received: from t530.local ([2600:8806:a821:2b00::123a]) by smtp.gmail.com with ESMTPSA id z17-20020a0cf251000000b00636aafcbacesm957926qvl.56.2023.08.04.14.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 14:45:26 -0700 (PDT) In-Reply-To: <87tttfk8sy.fsf@dataswamp.org> (Emanuel Berg's message of "Fri, 04 Aug 2023 01:25:33 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::f2e; envelope-from=tpeplt@gmail.com; helo=mail-qv1-xf2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:144604 Archived-At: Emanuel Berg writes: > tpeplt wrote: > >> (if (evenp h) [...] > > Maybe that is a local function? > > But if you replace that with > > (zerop (/ h 2)) > > it works as you say. =E2=80=98evenp=E2=80=99 is a local function? C-h f evenp =3D> evenp is an alias for =E2=80=98cl-evenp=E2=80=99 in =E2=80=98cl.el=E2=80=99. (evenp INTEGER) Return t if INTEGER is even. This function is obsolete since 27.1; use =E2=80=98cl-evenp=E2=80=99 instead. This function does not change global state, including the match data. --