From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package) Date: Fri, 17 Jun 2022 14:11:05 +0800 Message-ID: <87sfo3rf9i.fsf@localhost> References: <835yld93w7.fsf@gnu.org> <877d5t0yrn.fsf@gmail.com> <87r140yuof.fsf@gmail.com> <875yl9e7zm.fsf@gmail.com> <83czfh12kp.fsf@gnu.org> <87pmjhghu2.fsf@localhost> <835yl910gp.fsf@gnu.org> <87wndndbhq.fsf@gmail.com> <83bkuzznws.fsf@gnu.org> <877d5mqmkh.fsf@localhost> <83y1y2utnd.fsf@gnu.org> <87r13up587.fsf@localhost> <83o7yyur0l.fsf@gnu.org> <87leu2p3nu.fsf@localhost> <83ilp6udxe.fsf@gnu.org> <87o7yuv5nu.fsf@localhost> <83wndhrhx8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30040"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theophilusx@gmail.com, rms@gnu.org, monnier@iro.umontreal.ca, acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 17 08:14:32 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o25FY-0007go-LI for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 08:14:32 +0200 Original-Received: from localhost ([::1]:58084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o25FW-0003QM-V5 for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 02:14:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o25BF-00017s-70 for emacs-devel@gnu.org; Fri, 17 Jun 2022 02:10:38 -0400 Original-Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:36502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o25BB-0003w5-Gp; Fri, 17 Jun 2022 02:10:03 -0400 Original-Received: by mail-pg1-x52e.google.com with SMTP id r5so3233587pgr.3; Thu, 16 Jun 2022 23:10:00 -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=/A46TQnyejqEyBLa7kdwRBj1wUjY35HVTmaN6FsQObY=; b=j4IkVc1SLP4M/domYcXpGYdGb8iQU4eR4GNg41+QECvckekEZg5YuF6QZEbArAsPGk Jr8TEnmo2WZWHPIcB6ywh0uV9cAQsR/RmeU72VfLSA+uVJWYq/iDXrw4FA4M1mclYEYK zNXf/6NH9j2SBBpMDs6xEH514yO6Nl3fN8gkbxu6H3tl7ubDWte8uhjFjzSsC4V236Ds TOefd318h+bZwmYsqvLForW3+yIFFDCyhALDWn13/yTKw4qe2ee4LDiKu4WHP7om2g7f JNgh+tPzP3QrP1+gdnVo/KGLcd3vodV5CMkSAor2TounlKYhIMRP0ZDtHBeuCwaMDXJY ZI1Q== 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=/A46TQnyejqEyBLa7kdwRBj1wUjY35HVTmaN6FsQObY=; b=eVpHCZ4Wt8MgOAnLHumjyNq0/7dBEAn7RXHhWtb2BryRBUIf4Ft60rsspOnXDAVXvV 3kL+NwGqDVGWksxYu1NWkcaDBBeEcXuOvuvpeqf2HIMeZijOy5hvIxhHNrZIuJ5c7V61 lEyt+RbFoWPt4KLvtJ8j8DzIMkHYHLiXJgcwF92NdC424IngYIjeing06Z/omtUKsz2z 530RYu9obDqhG7HO4vBqXmcuVXq4oZ/geaHocu/1b0iiqc/iVsN+ENgzySUVhtkrpbD2 vNvP7eqROYxAb9Nwe9avnSR1EunBTkH6Ky2OA8BUWvvW/QrSa6U87zzGZIUiDMyAiqpH MAGg== X-Gm-Message-State: AJIora9LUB4fK8z05SJmRjq9SmYSnos7ZeSt4/3RW0zyYms5eLBNOICL U49guRpBRywdnPPGycLCk0D/8yvMuIzFyXf0 X-Google-Smtp-Source: AGRyM1ujShoxOHJKUUPLeUgz7USKQNHVm8ranF00JxJoqPbBZc7vWd9rES0LZMzCfcbN54aGDNp2ZQ== X-Received: by 2002:a05:6a00:2291:b0:51b:e4c5:627 with SMTP id f17-20020a056a00229100b0051be4c50627mr8406110pfe.20.1655446198547; Thu, 16 Jun 2022 23:09:58 -0700 (PDT) Original-Received: from localhost ([66.154.105.4]) by smtp.gmail.com with ESMTPSA id 190-20020a6218c7000000b0051bba3844d2sm2809685pfy.162.2022.06.16.23.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 23:09:57 -0700 (PDT) In-Reply-To: <83wndhrhx8.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291269 Archived-At: Eli Zaretskii writes: >> What will happen if you run >> (progn (goto-char 1) (while (re-search-forward "^\\*+ " nil t))) >> right after exporting. Does it take siginficant amount of time? > > It's instantaneous. > >> What if you run M-: (org-macro--collect-macros) directly in the buffer? > > Also instantaneous. And yet it took 15% of CPU time according to your profile. Something fishy is going on here. My guess that it is GC. Best, Ihor