From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 09:41:39 +0300 Message-ID: <83h74jpza4.fsf@gnu.org> 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> <87sfo3rf9i.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38002"; 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: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 17 08:58:31 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 1o25w7-0009hp-G0 for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 08:58:31 +0200 Original-Received: from localhost ([::1]:58912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o25w5-0008Ch-SW for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 02:58:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o25g2-0008L0-B7 for emacs-devel@gnu.org; Fri, 17 Jun 2022 02:41:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o25g0-0000ED-EG; Fri, 17 Jun 2022 02:41:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=y6kZM/WwCynYNPil0ib3G6KfxDndllR9XmQK3u6NhS4=; b=fuuKERTwWeFH 0J6famMhSfVCjSgKY2CMtlEEpgXUGp6RzL2IqC8QKiR+cj/3EKN89kObsgoKcRG3S9laGjM8GlCG9 s0d0LsratHNBNnaU5T7hoGETFLJ75UWvA1X8DHfdxknGrOYkmNNxWz1RyqXn5ClIaSr9FQx7SMBRF i/ZgKp++mSokqWvyTu2/H8szAe2qYTbnZqLGGkkhpCSHf4sGnYzGRmpbasO5flH7HPT/ZKwkb3knV gk2uuH2O3R55ljhxmkXAtGDfsIxZoeGOE3yb/aIDppFragZoRmPWAsQeJKBP5HAbo0ZIGNH8E0YnV t5fbF/6CqrS6wIWhRZ5E8Q==; Original-Received: from [87.69.77.57] (port=4745 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o25fs-0001ek-I9; Fri, 17 Jun 2022 02:41:45 -0400 In-Reply-To: <87sfo3rf9i.fsf@localhost> (message from Ihor Radchenko on Fri, 17 Jun 2022 14:11:05 +0800) 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:291276 Archived-At: > From: Ihor Radchenko > Cc: theophilusx@gmail.com, rms@gnu.org, monnier@iro.umontreal.ca, > acm@muc.de, emacs-devel@gnu.org > Date: Fri, 17 Jun 2022 14:11:05 +0800 > > 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. That'd be strange, because AFAIK the profiler accounts for GC separately. Anyway, I think your latest changes close this issue for good. Thanks!