From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 CCB5CTdiMmOPWgAAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 04:38:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ENumCTdiMmM9KQEA9RJhRA (envelope-from ) for ; Tue, 27 Sep 2022 04:38:47 +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 B647531200 for ; Tue, 27 Sep 2022 04:38:46 +0200 (CEST) Received: from localhost ([::1]:44818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od0Uf-0002vW-QA for larch@yhetil.org; Mon, 26 Sep 2022 22:38:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od0U0-0002ss-8n for emacs-orgmode@gnu.org; Mon, 26 Sep 2022 22:38:04 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:43685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1od0Ty-0004jD-EK for emacs-orgmode@gnu.org; Mon, 26 Sep 2022 22:38:03 -0400 Received: by mail-pf1-x433.google.com with SMTP id d82so8439879pfd.10 for ; Mon, 26 Sep 2022 19:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=BuY//TOI/fqlytqVoDA9AeaNFv/SREBJx0knQoHh6T4=; b=UOkBq1mR34CXjkxLedUrh/VboAgeqe4XVw93pDN5JtAumL1eYUvBaXxjSCEp7mypiV fG9Go2D9pl3k20NPBdklK5OO2gr1Ik7PgacHVHpyfG/neCnFcF22VYBWufIXQdo02LEX h3COA5/zrELlDY/TvuwOF9CKjb+McmudAFuSoSXhHdG366mF4S1g9nbrnW8+p/vaeqF/ D2Lzwki+o2Nx+3JFet4b1Auo9a7d81wPsfTvpdV8xjQn8J0H8oJxjlJKDOPVBdSOgzKH WYRKuJkWwQK9vXcdzEdGQqNaZECOFWrsuI3SmC+didUaIeJ0iDhV4fBi2HdISiiBMDl1 5LIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=BuY//TOI/fqlytqVoDA9AeaNFv/SREBJx0knQoHh6T4=; b=uhtN5WyB68XXc+MvpRrm906sJqGQeZ1ly4GXkQFD1Zi8qbdiaZwIJul+v5WfU2bWQN HVIvZ/YYixG2O64kKe+lFPx8eFIIwuvuY27L0cUgv5UGUsVtaZenIDcj1uU5+a+SkLNv lGdjp1+on9rCPhARe4DwnHe5qQZ6iGRUj5v3tGRuSvlc0CjSZQf0QE9RScFQvj2gxfQW 1/XhxU6w9ZsqigZgaR0LHo156/3sIo0tKvwjilrIlAhV8kHGz05iClbyWon32DWO1WWO l0uv9elGO26ETmYefYiOovgHfo4HfRmzs0lyxxK8WaAf1Uv3zs/KOdZtpDDDmpgZ4LHS xVFA== X-Gm-Message-State: ACrzQf32CMteinCKCmapdOBU0VQkbvvKi0RDfxRhpmhwR6gvVkCmkdkS 6uDBg8aO0CsnOmylCUNpOp4= X-Google-Smtp-Source: AMsMyM4iJEXEXZ7b+iMaUWIEGvqvgyrr1no6CQIHHKPkJJbDaCmiTC+dem2MiGScnHRjZtTI36ywPA== X-Received: by 2002:a63:1606:0:b0:43c:b5e1:5c52 with SMTP id w6-20020a631606000000b0043cb5e15c52mr7690676pgl.250.1664246281087; Mon, 26 Sep 2022 19:38:01 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id w16-20020a170902e89000b00176d8e33601sm142529plg.203.2022.09.26.19.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 19:38:00 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= Cc: Org Mode List Subject: Re: on picking diary-style timestamps or normal timestamps when adding agenda entries (was: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]) In-Reply-To: References: <87o7v8jd8r.fsf@localhost> <87bkr694et.fsf@localhost> <878rma930f.fsf@localhost> <875yhe8yjv.fsf@localhost> <871qs23xxp.fsf@localhost> <875yherpc6.fsf@ucl.ac.uk> <87illd5ug5.fsf@localhost> <878rm95r1g.fsf@localhost> Date: Tue, 27 Sep 2022 10:38:46 +0800 Message-ID: <87czbhpmmh.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=yantar92@gmail.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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=1664246326; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BuY//TOI/fqlytqVoDA9AeaNFv/SREBJx0knQoHh6T4=; b=hDvxT7Ly/JJHFHwCA5UJ5PPVgISO6KJgtwGTFrhFVJuGNlC1H1Rp40f96xg+gWt562MVmn EYRQ/xOPCW0ysU5FTg9a2Y0s55chXOUDIeaOVqMQmk995JD+zkg2DwiiuWnTv5cHN8q9Ro rRUryLAVURY1OAagm2QmXxflQbmRorzj5SaF1RQjfuIMitBw3yybU2sZuGAJhEPK8reNlD NGWdIm3xxPut5bHcKTSJkpebQ19UfnGoz4iiktEZvjnyoZntE8yRJu/NWZa3qevJC96dHf hmQqmGYEzcNwY09PVWMeZvV917gppErBsvslzxmsdkX9SuhWkJ7rfQRI7G5/zA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664246326; a=rsa-sha256; cv=none; b=TENu9raGVhBO0MHLy7Kln0fnCYz7PCgWOnj+t8wUnqJ4TaViaNQtdJXopsIg4YXO2OGx6a Sj+3PsKdPL19EapPmoeR/XxxWKBwJ0smLgZdw7K3p7MPQ+2omT82o4N4j7mbDe4lweMrz6 JLmMqh2MSIcj0p7K4mJIjoUfwx8BA5FQnw7suQu4neA2JWk6TjXIy1hllHZzPA/lUw4h03 BTAi1Q71npK7IyCbfTCN7Wcwc1rYWKxhUhMA4+6dVBjTbZGuyW0+2yJj0ZWcd8l4JmGNN8 +4BFFfTVNVisyD7HqCHDeux+NnqQh6YyJiM3NwUSG2GkldngoGkS4ZrULCft7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UOkBq1mR; 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: -0.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UOkBq1mR; 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: B647531200 X-Spam-Score: -0.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: THv4Bie/t/gy andr=C3=A9s ram=C3=ADrez writes: > --8<---------------cut here---------------start------------->8--- > ** PE etiro.espiritual {collaborator.family} :DAVID: > :PROPERTIES: > :CATEGORY: da.santi > :END: > <2022-09-24 Sat 9:00-11:00> > --8<---------------cut here---------------end--------------->8--- > > That above is an equivalent example using normal timestamps. > > On my use case. I have seven categories on this file > for example: chores, work, home, family. I add entries for all this > categories every week (I just try to add entries once a week if possible > on the weekends). > > In case I pick normal timestamps I would need to yank 5 lines and edit 2 > lines one at the top and other at the bottom of the yanked region. On my > current worflow using diary-style timestamps I just need to add a line > at the bottom and edit that line. Not at all. You can as well do * PE :PROPERTIES: :CATEGORY: da.santi :END: ** <2022-09-24 Sat 9:00-11:00> etiro.espiritual {collaborator.family} :DAVI= D: ** <2022-09-27 Tue> Another entry to be displayed in agenda. It inherits pa= rent category > The advantage of using normal timestamps is I could append the line at > the end of the file. On diary-style timestamps I should do occur for the > category and after it C-c C-n for appending at the end of the current sub= tree. Note org-refile command. See "9.1 Refile and Copy" section of Org manual. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92