From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0LaQM/NseGGiEAEAgWs5BA (envelope-from ) for ; Tue, 26 Oct 2021 23:02:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6PhJL/NseGEuNgAA1q6Kng (envelope-from ) for ; Tue, 26 Oct 2021 21:02:43 +0000 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 470BE22DFF for ; Tue, 26 Oct 2021 23:02:43 +0200 (CEST) Received: from localhost ([::1]:35818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfTak-0000hB-Fl for larch@yhetil.org; Tue, 26 Oct 2021 17:02:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfTZN-0000fn-DR for emacs-orgmode@gnu.org; Tue, 26 Oct 2021 17:01:19 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:34345) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfTZL-0002FL-Dd for emacs-orgmode@gnu.org; Tue, 26 Oct 2021 17:01:16 -0400 Received: by mail-ed1-x529.google.com with SMTP id g10so1802560edj.1 for ; Tue, 26 Oct 2021 14:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:user-agent:date:message-id:mime-version; bh=f1dMV/8x+BQlI45wuykVXaHRUo0r8gZiQoZUN94Byzs=; b=NV1MKVsgwHG0oxny+N1x55PMhbY+PefxuU8pD2rXZpjPK+V2nreuB2rJcXwV1OeQdS pLfZLv7qn3BD/oNqNE1zoi5JVbiKNiqULEzKwsG9Yhg9pH85K5YcelL4/7is3IdOuBdk aoKLSd+lLVLeaiH6eCFSQNL6e4dDoe+Nho18zHNZR4DM70CywoN2MgnENpq/vRIB4Svt VToqDr4HhrUi6LOhKlX9xt546XLXNbGid31GZKvEjxceopW0Bh53bWlcu3FdnxKWpZkN cZoELEoIcObEICzCgBk848GsdGa1oZ7+GkpqrE41xIJgQcUdBx6hFJ3vYBf76GuJyNni M8wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:user-agent:date:message-id :mime-version; bh=f1dMV/8x+BQlI45wuykVXaHRUo0r8gZiQoZUN94Byzs=; b=ra/MyrZw+a3urXvz7cluzvgEcK1EyOvNLDpBFc9fQF225BwreX5YJ8gLRMADhz3uZX SmYOkvI7UeHhz4O8khP1kqUHGgd44uORNESpy6Zt3dlcx2x9+LnoUdFqkZ4RGg46F/UJ yrnQ2q5ga09ki+paR2vUv+uQTCLXVqLZNK5S9lFp/fX0Rbr66RyAk9ta8QmixwKXq5Zp gpHdzAUOdyub6LpINzolr8s/BVw+/RhjFxY0Rq8q/iUFbGSigTiFBvmcsk+FrXGmeEYS R6Fwq2t6hq7nliJua03/uTdxdrFUQOTijfxccXzVSuszKkc8BlXoF2YP4qP8utihW5K/ 0E0g== X-Gm-Message-State: AOAM533Y/5M6Qzr69N1hrKXCPwyn9fzriOLzI6/4d9EkbRjcPjHZOHjr BU321GUOXhaadfo1aPImygf1bAx9Emk= X-Google-Smtp-Source: ABdhPJzFLcD+ZCrbEBypiIj+PrFBUGNVjWyIjXSzQxxQNPNBrqz7L2w5Uy7+QxbJmhOV6jjjo9LH3Q== X-Received: by 2002:aa7:db07:: with SMTP id t7mr1554056eds.173.1635282052413; Tue, 26 Oct 2021 14:00:52 -0700 (PDT) Received: from Home-Mac ([141.226.12.112]) by smtp.gmail.com with ESMTPSA id x6sm805307eds.83.2021.10.26.14.00.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 14:00:47 -0700 (PDT) From: Daniel Fleischer To: emacs-orgmode@gnu.org Subject: [PATCH] Fast tag de-selection face User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (darwin) Date: Wed, 27 Oct 2021 00:00:41 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=danflscr@gmail.com; helo=mail-ed1-x529.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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635282163; 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=f1dMV/8x+BQlI45wuykVXaHRUo0r8gZiQoZUN94Byzs=; b=GnfpZ/teqoPpW3U8vMo0rjDl9Uafyo80yBp8wsw8P1AsjSLVy3NqykUYrHs8/dUKugXuqK k3Y6LDEi7Gtb/iNd6c7azzwVuwtmNbKaf/DVnRSH3gAVykIaime/Y8uO4AgFJ/zTrOSL46 IXC7BQ8eXxx40UxPSA+YuZGwT4hVAOgYzui/1Xa0oBwoWyJNsO/vlpNPs3D1XsAwjMAlGe zUYhh64z7qVAM+hk7N7q/Ymv+ocyuxeafodRjyQA+KPCqBxGsC58t85/5L7wrCIpcfx55P gzRIz0qbJYr7yNhWgSY1MFFolqF7c8Gxfi3kEqT56Y3YnG57qinqfI7pzROngA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635282163; a=rsa-sha256; cv=none; b=XjpGaAn9Wc2BBCUD8HrutXzP11tbGd5ClVDnyTCIVAxiCpZm+JlFumjZo5gx/9crvj461o JolC8P1+Ps4OyUYqxdCXeYqXddjzLoyovH/niQZ90mYBmk2/eBiXTXXuMsEfpqIKmHletb crxGgFGRLHKhPjXGf4d0wtl6VNdrpHrr/Yr5AZ3VYnmaJ88pBWSCBjjAl5UGHaPuR/w5UD az2OUjKMslGFUNAaClSUTldVepZkS1C5Ufac3+0W/BFk4qD2umC517CT+vGeENpcBNRKoG D3Qo4oveA9GTsud3QwqoQye04sS758XenibGu41pWSPUjFgjI4gMhSuvu5VQng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NV1MKVsg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NV1MKVsg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 470BE22DFF X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: QIC5mTGZJHuP --=-=-= Content-Type: text/plain Bumping a patch; it solves a minor bug in which the tags in the fast tag selection buffer do not toggle their face back to default after being selected and deselected. Attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-org.el-fast-tag-selection-disabled-tag-face.patch Content-Description: Patch >From 50fd7e953eed7c339886722c8247d9e492113eb8 Mon Sep 17 00:00:00 2001 From: Daniel Fleischer Date: Fri, 8 Oct 2021 12:55:04 +0300 Subject: [PATCH] lisp/org.el: Fast tag selection disabled tag face * lisp/org.el (org-fast-tag-selection): Disabled tags face A tag can be either selected in "current", "inherited" or disabled. When disabled, it should have the default face. Previously, if a tag was already selected, when deselection it will still have an org-todo face. --- lisp/org.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 21b2c5470..bcc8356bb 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12566,8 +12566,7 @@ (defun org-fast-tag-selection (current inherited table &optional todo-table) (cond ((member tag current) c-face) ((member tag inherited) i-face) - (t (get-text-property (match-beginning 1) ' - face)))))))) + (t 'default))))))) (goto-char (point-min))))) (delete-overlay org-tags-overlay) (if rtn -- 2.33.1 --=-=-= Content-Type: text/plain -- Daniel Fleischer --=-=-=--