From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sJ8DB4uqVmH6tAAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 08:28:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4Fq9AouqVmHjTAAA1q6Kng (envelope-from ) for ; Fri, 01 Oct 2021 06:28:27 +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 6D62312C8F for ; Fri, 1 Oct 2021 08:28:26 +0200 (CEST) Received: from localhost ([::1]:36504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWC1w-0007cB-I1 for larch@yhetil.org; Fri, 01 Oct 2021 02:28:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWC1H-0007bj-MM for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 02:27:43 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:34558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWC1F-0000ct-SF for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 02:27:43 -0400 Received: by mail-pj1-x1032.google.com with SMTP id on12-20020a17090b1d0c00b001997c60aa29so3189703pjb.1 for ; Thu, 30 Sep 2021 23:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=BixL1aE0zYOdmFqTN1aeg0myGm2lXnjBvlwYK1gqER8=; b=H0rMQ0ylTWXa2K5Oy0u1FfcIWqT1L5I4zxAwSRlLzTjRKjTu6PqcbKGguIiByXou8S cCaD+szAmsWDVhBluekBrZZihJjjkmmxO94z8ic6XQXVZvoYrio+oPr16L0wfDoaFImA 13T3xlLCn4Is5Slki0HGG5JDcTn1eXeB2Ky8JfCqI2Zy/Ls6p1X7aZGmv2b3mGj61K9w H96N24wwlOFlY+cXgJm/JcO2zNrawT8zmxsoakHJo44LlSf+qFY4nPxDOJgJjaU6UuUa PtHGEpZiwSk7irchh9O7GCRN/b9UcB+gK9FBwqqkSLZ1cG03vQH7kOyZ4aHsvOih3HGp BDVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=BixL1aE0zYOdmFqTN1aeg0myGm2lXnjBvlwYK1gqER8=; b=HRPNRXutpIxoiPQyBtyfs3HYlcxx213fLSJCsXQm8XvFnz+QthqS31QvKl8QNzAbJf H+g4DPbGiOSntkgJK1O7UEP0OoLkWMXxIfLsCUZdCpVJ029pLRu4GXVoEqKQ34BletLt 36UEqcTe9QDyWMNCAm0B58cwk6EEL2Xhkv5IOaHPacmwkHGCZj9iObtt25R07I/LHORL Yd5yHBJiafbRBnmsjIIIM/MZMI7iH9TI/R/PIddhXHVV/KxBeVciUIH3xT4gA5p/ttVx wtyJrA3U9f1RJrTEw48T6UCx5oURuIn12TjD2f50GVAyj5aGd+hhNn/mZ+tWvpNQUasb 3aQw== X-Gm-Message-State: AOAM532uU7+3AJzAUZqhHRUboH4vI58l3tBVlgfVLTdp2P/V6MGOMZzt rc8MCPViMdwbUnOenrWnO1EDNMfDejKsn+I/ X-Google-Smtp-Source: ABdhPJwxBsAl9uK6GE3IDxYfAJf/wUHQvUXJYEmKl24Lk2+E0Ffc4U9IT4OqXmBEK9dSfZFviCuwGw== X-Received: by 2002:a17:90a:b794:: with SMTP id m20mr11542448pjr.178.1633069660309; Thu, 30 Sep 2021 23:27:40 -0700 (PDT) Received: from localhost ([211.21.210.181]) by smtp.gmail.com with ESMTPSA id g23sm5332480pfu.71.2021.09.30.23.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 23:27:39 -0700 (PDT) From: Ihor Radchenko To: JARZz Subject: Re: searching agenda from TRAMP In-Reply-To: <1xEnw9kb5GR4RksDbFm8eZljQaIa8kxBX0laFtNn8ID4W760qXxlSwRB_6vKzWNyA_66iq5u60xzUaSVqjRjT__U-N_gL4mVbenvR4x0FHk=@protonmail.com> References: <1xEnw9kb5GR4RksDbFm8eZljQaIa8kxBX0laFtNn8ID4W760qXxlSwRB_6vKzWNyA_66iq5u60xzUaSVqjRjT__U-N_gL4mVbenvR4x0FHk=@protonmail.com> Date: Fri, 01 Oct 2021 14:28:57 +0800 Message-ID: <87zgrtcl7a.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode\\@gnu.org" 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=1633069706; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BixL1aE0zYOdmFqTN1aeg0myGm2lXnjBvlwYK1gqER8=; b=dVyAy83+KXSOWXIqi4ZdCCsZJC9IQ69SSr3bV40WuWYIlUea8VmWV/1jLALhuq25OxMEqC LCvXvudq9Umi9D4PgfH/xyzbCecdsht+WBdxIASKuVzykczZvRpKQ6WVFfZEYarkvuiJzF EG+Z0a/bBnzxAxRCpH0PlEM2djh10lON0pIwrE1dAFyMObs3n7Pea2xaerSGvZne2W6VW5 DNonyPazIz3PGE4kOLzUPeZBFPENxyEdx6d1jNMxGduvDrhB+T6MzJ3VOXCjpeP57/+Ejm RnzK0mk/kYfCdGau/XcPvhtnxKECBWkl/1Q6QllkMn2qUMrPBY+PUlEjNysX2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633069706; a=rsa-sha256; cv=none; b=JTRSIAh+NzZWP3pL22uoxaUJE1KTypcHyjfObpbLItfDlFZmn92stPW93IXjJuyh7cZ27E 9mmMv/XZ1FmH58qzRWNl1ZBhDpf4cRrig69Krn1R++JGHSHnRH/5BHGi9oA4hPR+7TkXEY NNtP6ZPY+rjxvYVplIpjfrzajXoMhCNpzbe4BIY1XFYQMzBPwCuv6SGpNHOm9d0plc7I1h hq+hwg7sHxnCGmxO2bCeK6AfX5hgGcSfk6qulLYbVW9Uq/gNa46YgOv4q8JtZYFLzp/YDQ /cifJBEEi0Y6wyUa3M8D/d5B7UeId1lopl8heUSXLpbxjErdeSCBvWEDYD2aBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=H0rMQ0yl; 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.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=H0rMQ0yl; 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: 6D62312C8F X-Spam-Score: -2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: mGyYrMymqHcM JARZz writes: > I don't know what happens behind the scenes exactly, but it takes a good minute or to load my agenda with all the files, and it can take 10-15 minutes to search through them for a specific string. This problem also happens when I used sshfs, which makes me believe more strongly the problem is, again, not with the ssh connection itself, but with the indexing. Does opening org files manually take a lot of time for you? Are you using org-id? Can you track down the problematic function using M-x profiler-start / profiler-report? Best, Ihor