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: Convert README.org to plain text README while installing package Date: Sun, 05 Jun 2022 19:23:49 +0800 Message-ID: <87leub5p6i.fsf@localhost> References: <87leuca7v7.fsf@disroot.org> <87czfopmsd.fsf@gnu.org> <87h74ztshe.fsf@gmx.de> <871qw31ois.fsf@yahoo.com> <8735gj4ceo.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="2432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Michael Albinus , Alan Mackenzie , Stefan Kangas , Akib Azmain Turja , emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 05 13:25:12 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 1nxoNc-0000S0-Bu for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 13:25:12 +0200 Original-Received: from localhost ([::1]:42318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxoNa-0006g2-PV for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 07:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxoLo-0005JS-0d for emacs-devel@gnu.org; Sun, 05 Jun 2022 07:23:20 -0400 Original-Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:45915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxoLm-0008L6-BD; Sun, 05 Jun 2022 07:23:19 -0400 Original-Received: by mail-pj1-x1036.google.com with SMTP id w2-20020a17090ac98200b001e0519fe5a8so10455736pjt.4; Sun, 05 Jun 2022 04:23:16 -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=0PCWY4FzbTVgixlzYvGf21vCqgs0XzzIed8fGeDICxk=; b=hBNf3hxbOxX6k9iX4ljKdiTeamgsHKXNY+wNEIlLHeqhVHcKL47TwPr2gFaWcrhOBD Z5FLd2Xm38U2+GpikJancU0SrkHmuapg7b+6iqBDARUnZTi9eNFKRFQxh0/e8YoT0ioC 4QLb0RNqAlXPy90FhlP6kozyCefg2xNPyyS/w7mEW6hLGD2B/yJvoGHuYr7difmDmJXs Jg0y5Jq7ugsILXeyDcNsM/vYQ9NuGak2ajqhoHfvNr+W9yE3fBbOPeQEhEispZGTyhHC kinzSbGKxNQx4Vukc2Ig6svwx+Mu5WEjLimnoPOKb/dC0ihEippmOEpe5+gTfeWWgG6x SqiA== 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=0PCWY4FzbTVgixlzYvGf21vCqgs0XzzIed8fGeDICxk=; b=EQ/M11noDq4tggD2S62G8k8w0cC/GRNVaxIqun9siM33pSShY2l154R4FycrlEun30 BoL2kBa1farzHEcgxS1dq5EsEjlVR6zeTy6ZcxAgDg9/0mdv2QjpqJixerpptn8shOi7 v+8eVgdvsjpe1zOsHPR817UXRQfE6zXb4fqWWtqUjM6c+cscoAcHgkV2HlCsISbjlNVt 6LxqMH5NUv2anSoOKWqcpGX/lX/zKSp3kn7zxbzc+zTfINkcAzNg6Gj9LrVsAsuh6OzF ocXkpLvQsMTx4am3hdxbcvUcWoDkiAp/QZXs81UhqsqenbGRgw2J3goX4Gkz0VWyqxtK e5iQ== X-Gm-Message-State: AOAM531iTZ+D4Lu6gMkEb1AC8vA70xTO9M3yXgWY9KwHntH9jPrpW5dR eYVH4anhQfkHNqGqO/wVru44OusHCDopq591 X-Google-Smtp-Source: ABdhPJzddtV62R02R519gYEISF4kVjzchszGPyaH1ffp7/isZvgN6BJN05n0OdZJs2rgC2r7T0Tirg== X-Received: by 2002:a17:90b:304:b0:1e3:4489:193c with SMTP id ay4-20020a17090b030400b001e34489193cmr29191684pjb.78.1654428195043; Sun, 05 Jun 2022 04:23:15 -0700 (PDT) Original-Received: from localhost ([208.115.232.2]) by smtp.gmail.com with ESMTPSA id x28-20020aa78f1c000000b0050dc7628196sm788274pfr.112.2022.06.05.04.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 04:23:14 -0700 (PDT) In-Reply-To: <8735gj4ceo.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.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:290690 Archived-At: Tassilo Horn writes: >> It also takes a relatively long time to load Org mode, so opening a >> README.org-type file for the first time will always cause an annoying >> pause. > > That's true but wouldn't it be possible to extract the font-lock/faces > related parts in a separate file with no dependencies which can be > loaded quickly enough? I mean, the purpose would only be to display org > and markdown READMEs with the highlighting intended by the package > author but there's no point in enabling the gazillon of other features > (from editing to time-tracking to spreadsheet computations) those > packages might provide in addition. We, Org devs, are working on modularizing Org. Currently, extracting fontification is not trivial because it depends on most of Org being loaded. If everything goes as planned (famous last words), fontification will only require Org parser and Org fontification library. Best, Ihor