From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sNV3Bz3vgmEZRAEAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 21:21:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oLX8Aj3vgmGhSgAAbx9fmQ (envelope-from ) for ; Wed, 03 Nov 2021 20:21:17 +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 69A3ACFA1 for ; Wed, 3 Nov 2021 21:21:16 +0100 (CET) Received: from localhost ([::1]:56472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miMl1-0005OB-8y for larch@yhetil.org; Wed, 03 Nov 2021 16:21:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miMkM-0005Nt-Ff for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 16:20:34 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:38736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miMkJ-00077L-K6 for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 16:20:34 -0400 Received: by mail-lf1-x12e.google.com with SMTP id x27so7531607lfu.5 for ; Wed, 03 Nov 2021 13:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=W3qP0X+GdEnwcc/zauFK3fkiARpM3NVH7/dwy9Ng4zQ=; b=bZCzDeX8XNcfb7+yjkKEbn5mlF+0Ph5U0gqXECJ+kl4r2kwcq91Yv4JBJKrwHhkWaa w/D5TZc83Jg9yacAzLr2Qdx9cxZMZaHqwyjO6ujC2RsjunJARBCsqRdGM02RZQV261ht ALcTnDdpBpvdA0PyJT2RjKsvU7rhLX+grZtSSnBO6UhecDsRexp86AtbHbTGtal6Ehin nklh6ZpnvkBQU39cCWS+8jp2h0D+k7RpxnSH8X9yT6bFpczyft6Jg1PDjW95RANl6FNp +kO4GmZl9LVdhxptfC/2sXjlWREqlMlS5edGxWpUyKMAxpg8NGkeZPj4gXxoVqKLDNZP +JRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=W3qP0X+GdEnwcc/zauFK3fkiARpM3NVH7/dwy9Ng4zQ=; b=CQ95Qwk9xOG8O2B47rutkFfV48us2MUtz+sT9fbBPAgsj3UdGKBnpm+saB4j9BgY2V yfBb810V0Nd0ZSnvJGhUrPtLRszJ7bwy1/8nfcwcMQlqix9xAt6DIswaxWEpIjGoksHc W1NKG/po88Aa2uHN3qZjYm4UdywbmVsdzLPhEF45ur5KkIE0ote20/4LYO11fNsZOFMQ DWL7i3LX1bIj4/q267SZ5PI3T/5CVvzZO50jcVYGoIBrj6q5BfRlEMVFU9GGm6BJ0XCx TyGc6OskBT/8qNCJDGeJgU4iHPeBPNYa/6BKqBRjNY2kvsN3BlwoPquy+4G/VA/ly2qI bslA== X-Gm-Message-State: AOAM532HlBYdNbr7FBDA9Ey3wxghwRRCEXVQZIvLeyYDTw8qB03IDzEk H0PlgbuKPSXCWQkIqpXhv1r11v+/4s9uZySoz0sQK/9WJFOeWw== X-Google-Smtp-Source: ABdhPJwF6/KgeUSbHqIIZFeA+uaclK1od39M/BV1VB8GufZhl/S27riQ8Ppo1MEI9TbZKjfrzG7kTJ46JJzHYhxCArI= X-Received: by 2002:ac2:5581:: with SMTP id v1mr27757455lfg.594.1635970827821; Wed, 03 Nov 2021 13:20:27 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:1291:0:0:0:0:0 with HTTP; Wed, 3 Nov 2021 13:20:27 -0700 (PDT) In-Reply-To: <87tugtll2m.fsf@mat.ucm.es> References: <8735of69m5.fsf@mat.ucm.es> <87o8734ppx.fsf@mat.ucm.es> <87h7curecp.fsf@delle7240.chemeng.ucl.ac.uk> <87tugtll2m.fsf@mat.ucm.es> From: Samuel Wales Date: Wed, 3 Nov 2021 13:20:27 -0700 Message-ID: Subject: Re: add automatically a counter to a header/TODO??? To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=samologist@gmail.com; helo=mail-lf1-x12e.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635970876; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=W3qP0X+GdEnwcc/zauFK3fkiARpM3NVH7/dwy9Ng4zQ=; b=kwzAg5fMFRmgNPc562HFukdUoKiBWIcBWv3ugJeNbbg4TWyKNqmjScNEwN6iL7bvCVVWl5 LAOoidvMuO+xJpd6mYFUXQydo0Lbi4FiKssGc/jQHyoPj6vlNzC1m3DpCRJXjwZwmhlnO2 pgQq2nz5Bcur/l/Wx8Z2YUSF8ca1CM9un2lWnw72O+NwgJfs5mHagx9wyOGjlyLhQea880 JMjRTguPK7c/bPKauRwS+gima7DNdvqf7V7vn1jt4VI5FmXpsvt+ccy9pVuue3Lsr2vCnD EFxBS39l5jBBy25M68jVEfpDT1oog3qPZsry+1E5ip5UEBuxjqPtPvsDdyzEKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635970876; a=rsa-sha256; cv=none; b=OwrkETBIRPcO47LtZDkWydnGp3ufKfXAyIpmdWeygxINDmfwoQbMg3Jz+Xb1veYThr6lIo Dx6oJkUQRPbpA0ChyVsnf5Voz6lwrY71Ztb7TwrorWtssYbJd+uCeuUxfmtruknLC+kn8s wwb4d1s8l3pr+YUEG8AK7iD3J7kHob7PelOLfQE5LrIAyQ4DdLFqbkCBVdooskCJw90idw udVzvbJXNl6Fww+/VjkWYlq6IqykPvRzVYq5V4KAAgeI9bB+drnP2dLICH3fGWTbsqrIQr MX4dFvAjFYxqOoXvD9fCrOlC/1XnpFuGob/fpWTs7vfVvT1HsyTuD8MlTbOkJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bZCzDeX8; 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: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bZCzDeX8; 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: 69A3ACFA1 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: dMUDmFGa8spH idk if this is useful, but i was thinking of doing something similar, except, automatically for the purpose of recording progress. as in, the number of times i did something to the task. in tags not properties, thus on the header. like :n_2: i tried keywords for progress instead, but that is coarse [cannot "reward" tiny progress] and requires decision making -- is this started or progressed? that can be too much cognitive overhead for me. should i really be deciding if it has progressed? also design decisions --- should i sort up or down by progress kw? up makes more progressed more visible, but usually one puts more progressed downward [e.g. doneish is toward bottom]. and too ugly if they are unsorted, with mixed keywords. so i thought, what if i could just have, say, started, and then, to increment the counter, i change the keyword to itself, started. i don't have the capacity to implement this, and i'm not sure it's what i want, but maybe the change to itself idea is useful. On 11/3/21, Uwe Brauer wrote: >>>> "ESF" == Eric S Fraga writes: > >> On Monday, 1 Nov 2021 at 20:53, Uwe Brauer wrote: >>> (format "%s" (- 1 (string-to-number > >> Shouldn't this be the other way around, i.e. >> (- (string-to-number ...) 1) >> ? > > Oops you are right, thanks > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html