From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EHZrJzZ0BWLcWAAAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 21:23:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CAsZJDZ0BWJYIwEAauVa8A (envelope-from ) for ; Thu, 10 Feb 2022 21:23:18 +0100 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 214913ABEB for ; Thu, 10 Feb 2022 21:23:18 +0100 (CET) Received: from localhost ([::1]:40106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIFyE-0001FE-2l for larch@yhetil.org; Thu, 10 Feb 2022 15:23:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIFwu-0001Ej-96 for emacs-orgmode@gnu.org; Thu, 10 Feb 2022 15:21:52 -0500 Received: from [2a00:1450:4864:20::12d] (port=36520 helo=mail-lf1-x12d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIFws-0003G2-AH for emacs-orgmode@gnu.org; Thu, 10 Feb 2022 15:21:51 -0500 Received: by mail-lf1-x12d.google.com with SMTP id u6so12601545lfc.3 for ; Thu, 10 Feb 2022 12:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Ks7bU+OUSPY5TcszLu8X+UALppHlbsGxjT/xlCpE5/4=; b=NTZ49fqCwmKxqoOoKdRiEm/EWDAPsZrB/N2xn6jEfQ+ZOIplfmtyvyHBNakTq1p2rz pUUjwBTVC5nSj4OYasMm1qv8LEoa9x9nmsztAwVl8vuVFMcCYnUHgtnSKtJpbX2me54E yPqn7pH/kdnKJXMiMgrsPrgB86nTQ+TRJlVscTridXHtbGfMFBcpcNvdn1Sd43oNIwwI b0RNryWRapDdawLmFG5NITRwXUn9RcxfN5gfofxycvsWPrGGAuo1EwOA+vRl0V+4Fn+W 9/XVg7NI+G4sROyFYbm9N1j5Os6QxgoMWxOIzAoIcdZ3jEMRJLrJ6Joaql8hoEZP9ut3 6XUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Ks7bU+OUSPY5TcszLu8X+UALppHlbsGxjT/xlCpE5/4=; b=whVqkW061y5PqwTM6zprGebDybaZSA6OyQILbxdGUbPq0Cace1Y/3S8WbTAqSpch7s icf/wX4cFbrdJOPi6c9kOrN909Kim9JiQp3blref405m2TydYWDeYP65ZfS/XUP5r0Ga xmhx3qPhzGKwh6oeMuX5/6v1vC56T+UdtMv8+dgE6pmX5yztLsYO8XMLMuDyeRkQWVGN JGWAfmBP0NV9cFeWP9EQ8+Ulf/KjSOZ5POwdxFOR6P8GK4k91q+g2V87+Kx7EIfWq4oW HvJX3naB5FbDO5p2pC6vmTZ5PRd0372NdgQnVVxr3UlojH6rZcdukX4pJrC6n6FMd87F vh+w== X-Gm-Message-State: AOAM530FC0aaHZO2WEkOHeHgS6UBxhhlvaY+7QX7XPra594CCiWrujkE bZhz3MxwoIMNpeXfTiuAKI8A3irgY8HZdTraHCStf5GH X-Google-Smtp-Source: ABdhPJzR4C90Mz2jHdpMJ0fHQ6rkk8NLSCcjfkjBrIZ18L0VqVXWuanQKMPDyeWfikX6b358+DaaWC1vDmDImF+FW3c= X-Received: by 2002:a05:6512:1590:: with SMTP id bp16mr6133380lfb.306.1644524507964; Thu, 10 Feb 2022 12:21:47 -0800 (PST) MIME-Version: 1.0 From: Alex Giorev Date: Thu, 10 Feb 2022 22:21:36 +0200 Message-ID: Subject: [PATCH] two small fixes for org-fast-tag-selection To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="0000000000001f9d9005d7afb35a" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=alex.giorev@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644524598; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9Dx9p9SY2Cdb8U827wN+CbFM/p3YIxZ3oA3XVMv+a34=; b=sL5Kw8ugbtdvu7WWxGDNZm9j3johtvLxrDvKEhbBBKhptSlYxnbTIJC6Xbih5dVIduosy0 K0GQA6xrUwM1ASPtFTiITDuKWvQ6qvrpAQuw9sfGGUzt3ZFTWkIC1nghHmsojursN2ocZ4 V0KHkFFT8kxAKztToTiameK+51VWliNib2/Bz+Kgt0kWPuMM0VS9dRHiYpSPzP24906A7x wGxexoPY9E6gg904nv5QpbddQ82UZuBKdNzmsFICh7Jmj8OFWxAn8JSyzY8twh47MP/HkT Jv44517idxhfmT1TAyQjma+fDSuik28lkpTcMZBPC2uw11bt5fPIvKXE+68Wtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644524598; a=rsa-sha256; cv=none; b=sFP0wC+SCi6wQvtggxr0hinMql3Ijm98pkeBQ4dQHnzzWD4HIU/3G0pp/gs2urSeVHnkHC QArn/oP5EO3sfb66ZM48/+YwAaxjsVJIbsVsODjhKmXKy2YRmLw2gNAY1mslOYvbu0zJ/h 6fZ/2egryenn/TXrBUB+PH2fHStE3DmSwZ33bztdRy3X7OjLQCmpG0yS3PwpFie0oPblvq YlgWfnK6OSIU8pop/nai9VljhK9Z+p/3GQfO98FdLvdvf14uMXJkUyJ7LpxzXz6zGH7WA2 wvuXm+C4X9xRXe831E3+JsOiJqOwSLCT9Utm8jcxBmbqoufMTLqjcy8DxWAhXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=NTZ49fqC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=NTZ49fqC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Queue-Id: 214913ABEB X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: gSPOthPoSuZA --0000000000001f9d9005d7afb35a Content-Type: multipart/alternative; boundary="0000000000001f9d8e05d7afb358" --0000000000001f9d8e05d7afb358 Content-Type: text/plain; charset="UTF-8" - The first patch fixes the problem of TODO keywords and tags sharing keys when they are automatically generated and when `org-fast-tag-selection-include-todo' is set. - The problem solved by the second patch is the following: when invoking the fast selection interface, and pressing the key of a tag, the tag is highlighted to indicate it has been selected, but pressing the key again doesn't unhighlight it. --0000000000001f9d8e05d7afb358 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
- The first patch fixes the problem of TODO keywords = and tags sharing keys when they are automatically generated and when `org-f= ast-tag-selection-include-todo' is set.
- The problem sol= ved by the second patch is the following: when invoking the fast selection = interface, and pressing the key of a tag, the tag is highlighted to indicat= e it has been selected, but pressing the key again doesn't unhighlight = it.
--0000000000001f9d8e05d7afb358-- --0000000000001f9d9005d7afb35a Content-Type: text/x-patch; charset="US-ASCII"; name="0002-listp-org.el-unhighlight-org-fast-tag-selection-tag.patch" Content-Disposition: attachment; filename="0002-listp-org.el-unhighlight-org-fast-tag-selection-tag.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kzhfbq741 RnJvbSBlYzQzMzAwM2I3N2MxN2FlMTUwYzdjMzk5MTQyZDlmYWQ2YmM1Y2FiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBhbGV4Z2lvcmV2IDxhbGV4Lmdpb3JldkBnbWFpbC5jb20+CkRh dGU6IFRodSwgMTAgRmViIDIwMjIgMjI6MTQ6NTEgKzAyMDAKU3ViamVjdDogW1BBVENI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mV4dCBvcmct ZmFzdC10YWctc2VsZWN0aW9uLXNpbmdsZS1rZXkpCiAJIChkb25lLWtleXdvcmRzIG9yZy1kb25l LWtleXdvcmRzKQpAQCAtMTI0NTAsNiArMTI0NTAsOSBAQCBSZXR1cm5zIHRoZSBuZXcgdGFncyBz dHJpbmcsIG9yIG5pbCB0byBub3QgY2hhbmdlIHRoZSBjdXJyZW50IHNldHRpbmdzLiIKIAkgICAg KHVubGVzcyAoemVyb3AgY250KQogCSAgICAgIChzZXRxIGNudCAwKQogCSAgICAgIChpbnNlcnQg IlxuIikpCisgICAgICAgICAgICAod2hlbiAoZXEgdGJsIChjZHIgdG9kby10YWJsZSkpCisgICAg ICAgICAgICAgIChzZXRxIHRvZG8tbWFya2VyIChwb2ludC1tYXJrZXIpKQorICAgICAgICAgICAg ICAoc2V0LW1hcmtlci1pbnNlcnRpb24tdHlwZSB0b2RvLW1hcmtlciBuaWwpKQogCSAgICAoaW5z ZXJ0IChpZiAoY2RyIGUpIChmb3JtYXQgIiVzOiAiIChjZHIgZSkpICIiKSAieyAiKSkKIAkgICAo KGVxIChjYXIgZSkgOmVuZGdyb3VwKQogCSAgICAoc2V0cSBpbmdyb3VwIG5pbCBjbnQgMCkKQEAg LTEyNTA1LDYgKzEyNTA4LDggQEAgUmV0dXJucyB0aGUgbmV3IHRhZ3Mgc3RyaW5nLCBvciBuaWwg dG8gbm90IGNoYW5nZSB0aGUgY3VycmVudCBzZXR0aW5ncy4iCiAJICAgICAgKHNldHEgY250IDAp KSkpKQogCShzZXRxIG50YWJsZSAobnJldmVyc2UgbnRhYmxlKSkKIAkoaW5zZXJ0ICJcbiIpCisg ICAgICAgICh1bmxlc3MgdG9kby1tYXJrZXIKKyAgICAgICAgICAoc2V0cSB0b2RvLW1hcmtlciAo cG9pbnQtbWFya2VyKSkpCiAJKGdvdG8tY2hhciAocG9pbnQtbWluKSkKIAkodW5sZXNzIGV4cGVy dCAob3JnLWZpdC13aW5kb3ctdG8tYnVmZmVyKSkKIAkoc2V0cSBydG4KLS0gCjIuMjUuMQoK --0000000000001f9d9005d7afb35a Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-org.el-org-tag-fast-selection-fix-tag-TODO-key-.patch" Content-Disposition: attachment; filename="0001-lisp-org.el-org-tag-fast-selection-fix-tag-TODO-key-.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kzhfbq5k0 RnJvbSAxMjBjNGZkN2Q5MDM4ZmRmMjJkZmNmZGE3ZjAyMWIwNDg2ODEzNDY0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBhbGV4Z2lvcmV2IDxhbGV4Lmdpb3JldkBnbWFpbC5jb20+CkRh dGU6IFRodSwgMTAgRmViIDIwMjIgMTc6MjQ6MzYgKzAyMDAKU3ViamVjdDogW1BBVENIIDEvMl0g bGlzcC9vcmcuZWw6IG9yZy10YWctZmFzdC1zZWxlY3Rpb24gZml4IHRhZy9UT0RPIGtleQogb3Zl cmxhcAoKKiBsaXNwL29yZy5lbCAob3JnLXRhZy1mYXN0LXNlbGVjdGlvbik6IEF2b2lkIGtleSBk dXBsaWNhdGlvbiBmb3IgdGFncwphbmQgVE9ETyBrZXl3b3JkcyB3aGVuIHRoZSBrZXlzIGFyZSBh dXRvbWF0aWNhbGx5IGdlbmVyYXRlZC4KClRJTllDSEFOR0UKLS0tCiBsaXNwL29yZy5lbCB8IDQg KystLQogMSBmaWxlIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKCmRp ZmYgLS1naXQgYS9saXNwL29yZy5lbCBiL2xpc3Avb3JnLmVsCmluZGV4IGVmOGQ0NjBlMS4uNmZi NzlmMTgwIDEwMDY0NAotLS0gYS9saXNwL29yZy5lbAorKysgYi9saXNwL29yZy5lbApAQCAtMTI0 ODAsOCArMTI0ODAsOCBAQCBSZXR1cm5zIHRoZSBuZXcgdGFncyBzdHJpbmcsIG9yIG5pbCB0byBu b3QgY2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