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 ms11 with LMTPS id 6JgdOT0eNl+vFQAA0tVLHw (envelope-from ) for ; Fri, 14 Aug 2020 05:16:45 +0000 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 2HzLND0eNl/ARgAAbx9fmQ (envelope-from ) for ; Fri, 14 Aug 2020 05:16:45 +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 2807D9408DA for ; Fri, 14 Aug 2020 05:16:45 +0000 (UTC) Received: from localhost ([::1]:37208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6S54-0007Y5-DG for larch@yhetil.org; Fri, 14 Aug 2020 01:16:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6S4D-0007Xu-Mj for emacs-orgmode@gnu.org; Fri, 14 Aug 2020 01:15:49 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:37504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6S4C-0000oP-5i for emacs-orgmode@gnu.org; Fri, 14 Aug 2020 01:15:49 -0400 Received: by mail-pj1-x102a.google.com with SMTP id mw10so3845441pjb.2 for ; Thu, 13 Aug 2020 22:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=p2b/hnVnqoARLzulcvQUc22ZKwtOfD2brUjwrhQYrSM=; b=EvVpEwofbhNrjuHFRx7MdJq+z4Njx49CX4DPRbANB7mRxhXcutEgdfEpHy9Wozmd8O 37fKZASldQvEJvb8svEQgGSBCLrF9tjY7an9ptYaDVQqWQxKLhzdYLhWGDPhfQUq7bBv txkRSat7dFUddmBHKcTnHSQKIYXuLn9x/BbVpvquXQtVSEX5Z2TuBis7OZfqgVM4HZbU NLuOqfuyRTz0fxIwfhWuhMfMPXXnwMrN8/A18HKQr9dfxioMqriocfpvsgLg6iONwmud HJk/eQWDsGc20NOARjc2BsC+hmTChxsbBXOQ+v80XbesKq0g3CUzdQAL35JuBC4s5Mkw Eo3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=p2b/hnVnqoARLzulcvQUc22ZKwtOfD2brUjwrhQYrSM=; b=t3/AcvcvKxR9zaVKQgvkyni3kO81AF38PWJ7Dr/jFQkDpBCn0Mv2y9mU+yieOX1KXL Ef7u0YddoY56M8gZ6OH5NbOejeXRBUuzIEBXZjU/gwDPGKewsLE5HqyfaTuRhFlqrja8 yoKV0HQ4/HOxl1kyENt8Hu38RffpDB3jWgEyoV8ZFUx3b0xlmIlgQqbjBYdcYrV90ccs rDYD9pXHyeVOQ+paJKR2iJbHNw8PUsYGDKToOa8wNjP6G6fiIU2j7eKr3ntT1U5cTCm1 DcNuglFWDXMsTN+DJrDj/a+S9QrmLMxGzWDwTIVry1sbD0R+bOIWr2TCwYk9pTQflI3Q C7sg== X-Gm-Message-State: AOAM532j2fcWWsiHvXVmXGnjC01MInvQCPaLvx/KcDJOLuH603r/4KtE +fE9yFwyDP8jsfkEeCj6uYY= X-Google-Smtp-Source: ABdhPJyeHwMqz5KA4Xz+spcfYOrWK7aje1r4YXh+9e35mU3DLrnz2hW4mEKR/Rdr3d9HtfEHKJtFJA== X-Received: by 2002:a17:90a:eb17:: with SMTP id j23mr863133pjz.151.1597382146257; Thu, 13 Aug 2020 22:15:46 -0700 (PDT) Received: from localhost ([104.168.14.206]) by smtp.gmail.com with ESMTPSA id js19sm6786950pjb.33.2020.08.13.22.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 22:15:45 -0700 (PDT) From: Ihor Radchenko To: "numbchild@gmail.com" , Org-mode Subject: Re: How to detect current in logbook drawer? In-Reply-To: References: Date: Fri, 14 Aug 2020 13:14:56 +0800 Message-ID: <877du1olkf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=EvVpEwof; 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-Spam-Score: 3.79 X-TUID: RSDcGv708vpE > I want to get around this problem. So need to know how to detect currently > in logbook drawer or something else which used to record clocking note, > `org-add-note`, etc. You may try to use `org-logbook-drawer-re'. > When I toggle org-log-mode and related options in org-agenda buffer. I > found my org-link-beautify will caused long time suspend and no stop. After > debug, I found org-link-beautify text-property caused this problem. Could you provide more details how your text property is causing the problem in org-agenda? Which function in agenda is slow? Best, Ihor "numbchild@gmail.com" writes: > I have a org-mode extension: > https://github.com/stardiviner/org-link-beautify/blob/master/org-link-beautify.el#L71 > > It will beautify links with text-properties. > > When I toggle org-log-mode and related options in org-agenda buffer. I > found my org-link-beautify will caused long time suspend and no stop. After > debug, I found org-link-beautify text-property caused this problem. > > I want to get around this problem. So need to know how to detect currently > in logbook drawer or something else which used to record clocking note, > `org-add-note`, etc. > > Or maybe org-agenda upstream can do something to work around this > text-properties issue? > > [stardiviner] GPG key ID: 47C32433 > IRC(freeenode): stardiviner Twitter: @numbchild > Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 > Blog: http://stardiviner.github.io/