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 6MoQHgYFz15DQgAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 00:25:42 +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 gG3uGQYFz17hBwAAbx9fmQ (envelope-from ) for ; Thu, 28 May 2020 00:25:42 +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 DB9A69401AE for ; Thu, 28 May 2020 00:25:41 +0000 (UTC) Received: from localhost ([::1]:57914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je6MR-00007d-Hw for larch@yhetil.org; Wed, 27 May 2020 20:25:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je6M5-00005j-0V for emacs-orgmode@gnu.org; Wed, 27 May 2020 20:25:05 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:46175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1je6Ly-0002vQ-Il for emacs-orgmode@gnu.org; Wed, 27 May 2020 20:25:04 -0400 Received: by mail-pf1-x429.google.com with SMTP id 131so4236458pfv.13 for ; Wed, 27 May 2020 17:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=mhn9DYXc+VboWRShRSfhNGNA7BRA5UkuNl/RxRE1eoU=; b=XDrEM0s6MuJH38sQZr7VHgUMQ9gOIHUMiCGC4GhgbfPTTUimscnKHNsXxtreui2Y5g ly9rzDN8vGv/4sdClYdn6ax2DthEFuFoaVYtyYY8BgQuF5B1vBfz99eeKdV1SCe79jJO BMpg2H/Km2hRDaFqF55En2AAuyp9nLoh4/hvOmTqfVCgYtkabaI6twQfz9QtHUaFiFfQ z78AxwjvQmjz5HbIzBA+ritOxFRg1FS/l9Bb3mzRCe9eVywSZy76NY8/ti0MpevpBjNz I+4A2LHc9pdoGyZq+Zi+JyOIBgfbK3hr6XsXra1Na9354MizYyVd2zSKt8G/rxMoko4U O4mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=mhn9DYXc+VboWRShRSfhNGNA7BRA5UkuNl/RxRE1eoU=; b=UHcGOfBOZ78OZW0LVNrBuE0pH98Kmv+rlfbQSc/9G11q0hKPuZ1q5OXpAm/ynw2LXE FZ0aIcWYsod8ykWeWbMFslDRmmSeTWVqtdadx3yY8bpBND5k7DAr8AuDYwM19JVtp1c+ ox35LEd91zBY7E4vxYfm2W4RBrNmKX3blrbZlrB4/O6TXSvmz/KHSFTw+bOiZWxdXWV6 hZwCi3xgV32jVlnsfPCMVn4+I8JHUnGaMrOIyV5LfFy3zPdq8Y/wz5pbb6yqi/A0lk7n Pqg5NY3u1mwKC4xsHox+KVRnKBkZ708NFAJ2n1QnAeUPodB9LYbTy6jMfXTnFOAOwSav oWVg== X-Gm-Message-State: AOAM531Mzn6JQGvOU55PvCLIp0cXea1G8Wppnf0MRbJsL11rFclhxlVP iQaBGaSFts1uwQ9B0BRfjmRiQiSP X-Google-Smtp-Source: ABdhPJxuWz0kj0Ql65vkBoHVlyI8YCm+6iAHwGSQXswE/UPki1XNid5wvYD7GGbbp7ET6Dgcm5O5Sw== X-Received: by 2002:a63:7453:: with SMTP id e19mr338569pgn.139.1590625495189; Wed, 27 May 2020 17:24:55 -0700 (PDT) Received: from geus3064linuxwsm (97-113-32-130.tukw.qwest.net. [97.113.32.130]) by smtp.gmail.com with ESMTPSA id x2sm2858192pfc.106.2020.05.27.17.24.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 17:24:54 -0700 (PDT) User-agent: mu4e 1.4.3; emacs 26.3 From: Ken Mankoff To: Org-mode Subject: [O] Help speeding up Org iCal export Date: Wed, 27 May 2020 17:24:53 -0700 Message-ID: <874ks0aotm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=mankoff@gmail.com; helo=mail-pf1-x429.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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=XDrEM0s6; 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: 0.29 X-TUID: S6RPfQ18Z0Pq Hello, When I eval `(org-icalendar-combine-agenda-files nil)`, it takes about 15 seconds. Some strange messages in the *Messages* buffer include: 22 files scanned, 7 files contains IDs and in total 23 IDs found. But my `org-agenda-files` variable only contains 12 files and no #+INCLUDE statements. There are also several dozen lines of org-babel-exp process sh at position 74770... org-babel-exp process sh at position 74830... org-babel-exp process sh at position 75147... ... org-babel-exp process sqlite at position 27700... org-babel-exp process sqlite at position 27704... org-babel-exp process sh at position 27604... org-babel-exp process sh at position 27617... org-babel-exp process sh at position 27691... org-babel-exp process translate at position 27970... (and with bash, python, emacs-lisp, and other languages). When I view for example the only #BEGIN_SRC translate block in any of my files it is just a test in my notes file: #+BEGIN_SRC translate :src en :dest da This is a test #+END_SRC I cannot eval it with C-c C-c because I have set ":eval no" system-wide with: (setq org-babel-default-header-args (cons '(:eval . "no") (assq-delete-all :eval org-babel-default-header-args))) Sometimes the Messages contain confirmation that a code block is disabled: org-babel-exp process plantuml at position 27719... Evaluation of this plantuml code block is disabled. org-babel-exp process plantuml at position 27762... Evaluation of this plantuml code block is disabled. But those blocks don't have any special header: #+begin_src plantuml :file tryout.png ...misc plantuml code here. #+end_src Can anyone offer suggestions why it reports scanning 22 files, and how to speed it up since no code should be evaluated? Thank you, -k.