From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id q2uEFHBHEl/NcQAA0tVLHw (envelope-from ) for ; Sat, 18 Jul 2020 00:50:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MPIdEHBHEl8IfwAA1q6Kng (envelope-from ) for ; Sat, 18 Jul 2020 00:50:56 +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 C8904940368 for ; Sat, 18 Jul 2020 00:50:54 +0000 (UTC) Received: from localhost ([::1]:38004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwb40-00046Z-37 for larch@yhetil.org; Fri, 17 Jul 2020 20:50:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwb3I-00043w-LQ; Fri, 17 Jul 2020 20:50:08 -0400 Received: from mail-ua1-x92e.google.com ([2607:f8b0:4864:20::92e]:39289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwb3G-00083O-Lq; Fri, 17 Jul 2020 20:50:08 -0400 Received: by mail-ua1-x92e.google.com with SMTP id h18so3405143uao.6; Fri, 17 Jul 2020 17:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=66gNOJ+5oCVQulzecy82cm5K67kXYzKc9jyH2n6Mbac=; b=fTr2Cc0pa513XrP+dPmnWQxfHEmSNwD9y0/R+WHAymOnpE3RzmZT5Sp2xqwjYhVn/M osPzoem6QgsfEorv8N9fajC8UXwBlHjDwqruSrjNSsXA3h/A3khZAdr0xr0Qpo1+Wnq6 IvQsauqSKBVOFn2M9GZkj052ldv4HcPd09nXhO2g4HD7WNDBIzbBHyTaIZJDFbGDgncJ zcGvr4yQTwPjUVHLuP6Sg/HTuF/h5/0fvhT1ZFg0ayLx6f1sCQSiZxUumHlLHju7YkBE lhESqm5uqSQ5RlPFw2tnBfuzNGuqNGoQMED9T09b9CbGu4fvdPgkJdho4djz+nmOComr 7KFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=66gNOJ+5oCVQulzecy82cm5K67kXYzKc9jyH2n6Mbac=; b=hcdn+TTIT+Guk4e7pvZxlXFNiByyAw90FC8S/qG7UaZO4ekip2E3o7GK+1Qpnb3t6O mAFV/pnghSful2wFUYXBekaJzVDb7I4vu1LJNPJA6q7pjDKW20LLfjJqAmw/8Fh9Dw8Z wKqMHdm/WMOyyIYoE53NpwlegbT5YHfe1hg6f9opTY1H8zAm4cU6VgFLAQqcmagdyI5N VhsB+KrbriBLrt2oFj3mxjMoXFyAGT8lI35NXUYBiwG9OnEUUoQOoxjJniAr5lQ4rj3U 9vAN4LmWK986LncIcO3/3opy+0XL5cO2BqBlOybnQHM07V8lKzbHndisvgkixImrPZM6 3MFw== X-Gm-Message-State: AOAM530Sf4UgHYz45Hoyhu7KMCqegrnojMs41ysusd4M6YS8gPRvr4Ph QmgCA0r8jTBYhu6vVEWK8l0mc5pkgR2H5gvTuh4PYNCcv5YZ X-Google-Smtp-Source: ABdhPJxijREAREWcU2tDcAtrFr1yUvIXtpB/bvk/jNokg9hNGDMD7SM8U3yV09lW6XSDJ/u3ISG9gYV4kFmPt6oHjwQ= X-Received: by 2002:a9f:3f06:: with SMTP id h6mr9836106uaj.3.1595033404578; Fri, 17 Jul 2020 17:50:04 -0700 (PDT) MIME-Version: 1.0 From: "numbchild@gmail.com" Date: Sat, 18 Jul 2020 08:49:38 +0800 Message-ID: Subject: How to improve my extension source code don't generate so many timers? To: emacs-help , Org-mode Content-Type: multipart/alternative; boundary="0000000000007c230105aaaca712" Received-SPF: pass client-ip=2607:f8b0:4864:20::92e; envelope-from=numbchild@gmail.com; helo=mail-ua1-x92e.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: -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, HTML_MESSAGE=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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=fTr2Cc0p; 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: 1.29 X-TUID: Lq9cyTIbHDlR --0000000000007c230105aaaca712 Content-Type: text/plain; charset="UTF-8" I write an extension org-link-beautify ( https://github.com/stardiviner/org-link-beautify). It use text-property to display all-the-icons icon for links. When I use `list-timers`, I found many timers like this: #+begin_example 1179.80 - #f(compiled-function () # [# ("-1003358868.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("1004068059.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("-1004540555.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("-1010525956.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("-1011541969.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("1011587546.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("1012116218.jpg" :v-adjust 0.01) remhash]) 1179.80 - #f(compiled-function () # [# ("1013965598.jpg" :v-adjust 0.01) remhash]) 1179.81 - #f(compiled-function () # [# ("-1014809589.jpg" :v-adjust 0.01) remhash]) 1179.81 - #f(compiled-function () # [# ("-1017207950.jpg" :v-adjust 0.01) remhash]) 1179.81 - #f(compiled-function () # [# ("1018964381.jpg" :v-adjust 0.01) remhash]) 1179.81 - #f(compiled-function () # [# ("1019711419.jpg" :v-adjust 0.01) remhash]) 1179.81 - #f(compiled-function () # [# ("-1019920854.jpg" :v-adjust 0.01) remhash]) 1179.91 - #f(compiled-function () # [# ("-1162442495.jpg" :v-adjust 0.01) remhash]) #+end_example I'm wandering is there someplace I write wrong in my source code: https://github.com/stardiviner/org-link-beautify/blob/master/org-link-beautify.el Or maybe this is an mechanism in Org Mode? [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/ --0000000000007c230105aaaca712 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I write an extension org-link-beautify (https://github.com/stardiviner/o= rg-link-beautify). It use text-property to display all-the-icons icon f= or links.
When I use `list-timers`, I found many timers like this:
#+begin_example
1179.80 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- = =C2=A0 =C2=A0#f(compiled-function () #<bytecode -0x120012ba5f9562c1> = [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1003358868.jpg&= quot; :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecode -0x11c7991bee93a665= > [#<hash-table equal 1440/1642 0x1565afccff6b> ("1004068059.= jpg" :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecode 0x1d09e6f58d6a9d= 3f> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-10045405= 55.jpg" :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecode -0x728e7a449= 9562c5> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1010= 525956.jpg" :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecode -0x8917a5= 73e9562c5> [#<hash-table equal 1440/1642 0x1565afccff6b> ("-1= 011541969.jpg" :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecode -0x8a= 8404bf993a661> [#<hash-table equal 1440/1642 0x1565afccff6b> (&quo= t;1011587546.jpg" :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecode -0= x70319646f93a661> [#<hash-table equal 1440/1642 0x1565afccff6b> (&= quot;1012116218.jpg" :v-adjust 0.01) remhash])
1179.80 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<bytecod= e -0xa824299ef93a661> [#<hash-table equal 1440/1642 0x1565afccff6b>= ; ("1013965598.jpg" :v-adjust 0.01) remhash])
1179.81 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<byte= code -0x91d3e3e9e9562c5> [#<hash-table equal 1440/1642 0x1565afccff6b= > ("-1014809589.jpg" :v-adjust 0.01) remhash])
1179.81 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #<= bytecode -0xd2810bce79562c5> [#<hash-table equal 1440/1642 0x1565afcc= ff6b> ("-1017207950.jpg" :v-adjust 0.01) remhash])
1179.81 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () #&= lt;bytecode -0xd581d833693a661> [#<hash-table equal 1440/1642 0x1565a= fccff6b> ("1018964381.jpg" :v-adjust 0.01) remhash])
1179.8= 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function () = #<bytecode 0x17558f4ad16c599b> [#<hash-table equal 1440/1642 0x156= 5afccff6b> ("1019711419.jpg" :v-adjust 0.01) remhash])
1179= .81 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-function (= ) #<bytecode 0x1533bff0ac6a9d3f> [#<hash-table equal 1440/1642 0x1= 565afccff6b> ("-1019920854.jpg" :v-adjust 0.01) remhash])
1= 179.91 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- =C2=A0 =C2=A0#f(compiled-functio= n () #<bytecode -0x149f1161329562c8> [#<hash-table equal 1440/1642= 0x1565afccff6b> ("-1162442495.jpg" :v-adjust 0.01) remhash])<= br>#+end_example

I'm wandering is there someplace I writ= e wrong in my source code:


[stardiviner]=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): star= diviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild<= br>Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2= 433
Blog: ht= tp://stardiviner.github.io/
--0000000000007c230105aaaca712--