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 ms5.migadu.com with LMTPS id 6LEQN8vhLGP5/QAAbAwnHQ (envelope-from ) for ; Fri, 23 Sep 2022 00:29:32 +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 cNU9NsvhLGMIJAEAG6o9tA (envelope-from ) for ; Fri, 23 Sep 2022 00:29:31 +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 3D2CF32E11 for ; Fri, 23 Sep 2022 00:29:31 +0200 (CEST) Received: from localhost ([::1]:41830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obUhG-0005zF-FJ for larch@yhetil.org; Thu, 22 Sep 2022 18:29:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obUgR-0005z4-1t for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 18:28:39 -0400 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]:41654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obUgL-00011j-0q for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 18:28:38 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id l14so7875668qvq.8 for ; Thu, 22 Sep 2022 15:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=nl+h7f8pvwit/ylVSmI+Ca9JwLcCK+TvF1ViiyP/x3E=; b=WpojRTo3GSOO3t+OhEs6SnF5KTnv04QpwUMYZUE9IRzoEzafUtqRjJHkgZhLcxG7BR Hw96WR4C7pM2S6MihC0l4x9ksN13paiz7Yk1IqhDM0ZzChjNrAAkq4E0tfA2GiN2qWLX 1h7uSrzNaCheXURUCnyUtWJ3YKdw5YIwFIA2qrscoQKcgG4cD2z7PHbeT50oQbgKZ6RS /8/WSjduEkRy35ucXqzRUrc9H7MwnC38ux4CbxZNpWTLXJqa07n2s4UbCatuGOkZ323c eCNJbv8EFj8S20rDaet9RF5aUnsFjZkXnRuaF2dd6q+0PZQh5j6xUhjFybb5hQ8LUHv0 POiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=nl+h7f8pvwit/ylVSmI+Ca9JwLcCK+TvF1ViiyP/x3E=; b=y2U4N5RmuzJ3QY0S/j+A3jCkkcCttBxU8jn5oP2xFgAd3H0dPSdLnV2N6pefygl0Rn 7XHw3WU3XQD7g4Sfx/4iC7lluGlLkUzTN5CzxZZV2JAlrFyJql3cUl+VPHkSiNsVCVVd kV0lGkhZ4y+Kebk4RlN/w/d1DslJ7LU159bsAlV/SBvR6bpR+6HlZTVIm1pszYfWYvv7 h/JrUYaxxpiTgSUspeTnTDBRcZqC6flGP08tQFY5ZQDdghS11Fb6d8ZOLNUqicG6WRf5 suD9sa8gEFpyKnQ9mvB4tRg3efHcegp4UaLctmsm66rTdmZKKSvD7iAKCoNqbGGJ9LCk opjA== X-Gm-Message-State: ACrzQf2ayxDU+HG0zpvODs7eoq0otLf7xCz9eEB7SgcrZhUA+qrThuFb dSQWZKdq5DenLE9H6B/P6+0XG2hg9IgIfw== X-Google-Smtp-Source: AMsMyM6eNSonxJzSMAFoGHRv2H5jR5CPQ4RAwS10m2IWAOujsTo465fjLf2+RIIkX3kanqe0kgpNeg== X-Received: by 2002:ad4:5282:0:b0:4a9:b75a:e33a with SMTP id v2-20020ad45282000000b004a9b75ae33amr4534444qvr.67.1663885711570; Thu, 22 Sep 2022 15:28:31 -0700 (PDT) Received: from tyler-fedora ([2600:6c48:69f0:5f0::14f4]) by smtp.gmail.com with ESMTPSA id t3-20020a37ea03000000b006ce5ba64e30sm4482974qkj.136.2022.09.22.15.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 15:28:30 -0700 (PDT) From: Tyler Grinn To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: contrib - ol-todo In-Reply-To: <199a8e75-d5e8-ac6f-0627-011c5c597d09@gmail.com> (Max Nikulin's message of "Thu, 22 Sep 2022 21:25:31 +0700") References: <87edwax4nv.fsf@gmail.com> <87y1ueqwwz.fsf@localhost> <87o7v7injy.fsf@gmail.com> <199a8e75-d5e8-ac6f-0627-011c5c597d09@gmail.com> Date: Thu, 22 Sep 2022 18:28:27 -0400 Message-ID: <87k05vdoxg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=tylergrinn@gmail.com; helo=mail-qv1-xf2c.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.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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663885771; h=from:from:sender:sender: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=nl+h7f8pvwit/ylVSmI+Ca9JwLcCK+TvF1ViiyP/x3E=; b=SYG1Hmna/DuV93FxYFH4M7RO+l+9BY5krUxK5AUSyQ2u47ISX8SaPXj12giPxOH+5QWzJ5 BNIF6Y7Wte48oZZehYvOEu212w+yWeDundmXQjAusvDeg7alLxt+FY6jJ8QssnefTGSw0o /zsA8u+tJ3Oypcf3JQFaiiCRARhBxvUNMH954F2rWsby1X78Vcz1vo75JN7vAzBxTMVpz8 GE7ij4djxvWR8MI6u6XY0T2SmX+z4NdA3T2q3vVivHhH9wOs5vhv2rrZLItHNVjM9CvzJU TrRF/dKYcdGNzZsQLFW9WMQ6Juh/d6sR4waf/OQL2ryV+fl8QOMCa/S24Fipfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663885771; a=rsa-sha256; cv=none; b=cy8e0ykZ/cQ/Y0hwq7cVivGmU80k/hhvfjGVYaE9ODVE9TViIJM5o1u7hGPHWdevaBvO04 xpDrLxGp7z3zKjr3NXx/KyDkRyRZjvhDTaPtI0HjT1BUXeQgA8xJF/wmGscbs1bNse7yL+ rS0GRt4/uAaEOLh0Djgrd2gMk2X4yBkye+x4TbB6M3kIbRsbZbjOEF6Ww8EolhWqtaS//3 S/lTrRxsCuEfQ8kq1NambIibQJHq4BMSOeqL2AXL1imzBegphHcZ/4FlrjlVfkMJB5OmfQ QEUU4uPtCk+cMEoD1NAASeQRO9sYGKvb/+Muh1W/2fLGEF/iCbq41R70ozHhIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WpojRTo3; 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: -3.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WpojRTo3; 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-Queue-Id: 3D2CF32E11 X-Spam-Score: -3.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: v0TzLhJvSnXo Max Nikulin writes: > On 22/09/2022 19:46, Tyler Grinn wrote: >> Ihor Radchenko writes: >> >>> Why don't just modify :activate-func in the ordinary file links? >> I like this idea, in fact so much I got rid of the todo style >> link. But >> one thing that's still problematic is that I'd like org-todo-link-mode >> to be a local mode but for some reason make-local-variable isn't working >> how I expect for org-link-parameters: > > Just a guess. Perhaps buffer-local variable is a shallow copy that > contains references to property list instances shared by all buffers. > > An idea: check if the minor mode is enabled inside :activate-func that > is set globally. That makes it much simpler, thanks for the tip!