From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MEdbAB/2YGSY2wAASxT56A (envelope-from ) for ; Sun, 14 May 2023 16:54:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id w+z3Oh72YGROKwEAG6o9tA (envelope-from ) for ; Sun, 14 May 2023 16:54:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 930E810447 for ; Sun, 14 May 2023 16:54:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pyD6J-0004Lq-Jm; Sun, 14 May 2023 10:53:31 -0400 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 1pyD6H-0004LY-Sj for emacs-orgmode@gnu.org; Sun, 14 May 2023 10:53:29 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pyD6G-0007l3-75 for emacs-orgmode@gnu.org; Sun, 14 May 2023 10:53:29 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-64ab2a37812so14206509b3a.1 for ; Sun, 14 May 2023 07:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684076005; x=1686668005; h=mime-version:in-reply-to:reply-to:date:subject:cc:to:from :user-agent:references:message-id:from:to:cc:subject:date:message-id :reply-to; bh=y4x1Dvl7+Ybs3hzk6VVyR5nRxuLY3xRyMxCbpBpOZ08=; b=nY6loJXJ60CbWw6xsF9jofqRNgsSb3vgXcUH9u/N1GeS6+Uj9izJLXwOlkOtSU7W7l 0CL15RUO4rhYZuFyr3K0sRaKHIf2zD01/1oSdYQVfQE4nThxRlx3XMdSZWQnY496H2WO xFgLbiUZ0exjOWFWO4SDdj7tJVO3Jo2gDPq3D7ZrXojh2Mtz+hSDVt+xQKxO4ehP83zd igUsKvrPIF7i1fy6n3b9Z3/FpADFTSpYBGHm3xUgieRtHjxv0tRh2XsPJUGY2fZcDlBj m75q177u/IMiS3lx0ydj4nJl/wL3yshFsPx/xBRiuhL3zicOg5qI/czucTda838/VYQB JFDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684076005; x=1686668005; h=mime-version:in-reply-to:reply-to:date:subject:cc:to:from :user-agent:references:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y4x1Dvl7+Ybs3hzk6VVyR5nRxuLY3xRyMxCbpBpOZ08=; b=EziyqUejAwWdy7Y8DS+9upaU3kttuH/G72Aereajl9Juz5Rhig3FypI3uhGEQSzQfW zSSQVa9xXU6vLKynNvghZ7Dz6N1Hp6AxPY45Djqegrw7kMSUNZh2KYwxwSHo+CaRAx7i MlVMOL386R/G9fsBRgiGMnHwgGy1T7Z/WhS7YF7MaQIwKFZ7BMlIKNWVzKOODVdv1IYO Iwz74r/kQsYhfxYX5flmlPThvlr9RPxBYQhlTTQQnrsE8lp/GommAV0fNU9ib1icokMm XIO7zJqXNO4weJPDR2c2uQ8T8yteKLBVLzMONaVHkjE6oGWF6BzHpAX4ZgCxzDoaAKmS 5zJw== X-Gm-Message-State: AC+VfDxu0mzbUyWeLm4ihzIual25rIIxYSpOZkIGSAUghg6gSH/XGcX8 AfwgT5L68vZRIwm72D2QMw== X-Google-Smtp-Source: ACHHUZ5t6YsJO28nBovVxbQSUeIXNeTALV8rhRSfqzs5eKq936ELYUpekPKJX+hPxTt+NqTnt4K9tw== X-Received: by 2002:a17:90a:db07:b0:250:50c5:cabc with SMTP id g7-20020a17090adb0700b0025050c5cabcmr32366902pjv.3.1684076004939; Sun, 14 May 2023 07:53:24 -0700 (PDT) Received: from Mac-mini.local ([39.171.215.147]) by smtp.gmail.com with ESMTPSA id z11-20020a630a4b000000b00502ecc282e2sm10031036pgk.5.2023.05.14.07.53.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 14 May 2023 07:53:23 -0700 (PDT) Message-ID: <6460f5e3.630a0220.b9085.17d2@mx.google.com> X-Google-Original-Message-ID: Received: by Mac-mini.local (Postfix, from userid 501) id D3E918D63119; Sun, 14 May 2023 22:28:11 +0800 (CST) References: <878rds1xta.fsf@localhost> <87a5y8iiak.fsf@localhost> <645fc094.170a0220.4d545.38e1@mx.google.com> <87wn1cgjij.fsf@localhost> <64604168.170a0220.99926.5b4f@mx.google.com> <87lehrgwqn.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: "Christopher M. Miles" , Org-mode Subject: Re: [PATCH] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist` Date: Sun, 14 May 2023 22:27:26 +0800 In-reply-to: <87lehrgwqn.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=numbchild@gmail.com; helo=mail-pf1-x429.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684076062; a=rsa-sha256; cv=none; b=JFcEWvblh74zBxS9e7ZWuM4cHNsYGQhqXbtPHmgqqr8NfKe+o+975MER/jWsUCu4Jpjgft aa7nGF5T2D6VkIhno0CJrm6aHDKL3891Hvt/+ubFWZcmVRGiikiEdrNSBgcgSnsS8I+TF8 BafyEqch+muhdwwN2u11hAFajgmcyKHcvBwdheMtDIa+P6zbXECTME5JaG6IvZrRFrJ21P 4NilRqUnqTVZpcH3ct5yWPo3k+oX/NVr90z8Jekj1M2T4xG8ySJxIQsARzvKzYWsGBOa84 auEc1bP3QMtHdMIsX+mTn1ZXE7u5kZMZU7+h7rd8D25rzTbAf9xll37TIkFSlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=nY6loJXJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684076062; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=y4x1Dvl7+Ybs3hzk6VVyR5nRxuLY3xRyMxCbpBpOZ08=; b=KgdCq54SODMdoyd+ka4bRSXQSHGMJ0JbS4HNKwQR2DpcpIbC3bFTJhKqBJo9N9iL/FpTYr U+IwtjaawbbUUp01iO9oQ5u6+FmNsldzwX7IPQG2dBawejqMamr6c6yVjcA3Xuo0rZKvXF uGdhQAhA7yzAEv5Llrig3AI6CDABkjHMMetfeNkDkPTMny6IvUskU8fobkXIdMpVFV0+1j x9xBH1xH1DgN4U0adhJQzGxPi9KLIksCjIJ7PvfKbAx73fACKw4BffDMszOs01bN48fvXh fkfTe23PfzfHGzHZZYdSRtJL+5SfiWPBcJR+KuY/fB1XZZxrDUltpnkDiwlsvw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=nY6loJXJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.97 X-Spam-Score: -7.97 X-Migadu-Queue-Id: 930E810447 X-TUID: 248f+DRlU9En --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> What about like this? >> >> #+begin_src emacs-lisp >> (setq tbl (let ((bound-tags (seq-filter 'cdr fulltable))) >> (if (length> shortkeys 0) >> bound-tags >> (seq-take fulltable 26))) >> char ?a cnt 0) >> #+end_src > > What do you mean by "shortkeys"? Sorry, wrong code, here is the correct code snippet: #+begin_src emacs-lisp (let ((bound-tags (seq-filter 'cdr temp-fulltable))) (if (length> bound-tags 0) bound-tags (seq-take temp-fulltable 26))) #+end_src =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRg7/gACgkQG13xyVro msPYUggAuZW9lhMRoMkOyl2x/37YMFet77AyMSlsDy0cPL3giCKv0PbOgE7dSrC0 6AxivrR1NewyERoDygEsU1YWIDOhxzviOPtZr3PjQX/alcepGUO1jonnYwys6+CR LtzrqRZWZNaUMeazQbl871TibosLPvhVCZRKdnq0gpXcuX4Fg70HLHlI6gx7/4LJ 3WfjnSRoOuaVW9JIsAbyBM1+7uHPazajLXL4AHtGS/7vX2N+7GecWq/S8BDuRQF2 +OJr7J/sXBLvePRydH2t78e5++qfix7ISVhEmd8Jn90qevbxCiwHkwxICipL7JO6 gfupOWghTg8hFvi8NPzWkTB1s4Jpng== =LMUB -----END PGP SIGNATURE----- --=-=-=--