From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: how to speed up an org-mode file? Date: Mon, 18 Jul 2016 12:49:30 +0100 Message-ID: <87oa5v9ned.fsf@skimble.plus.com> References: <87twfxv9t3.fsf@skimble.plus.com> <87k2gkh8bs.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP73V-0005Lz-Hc for emacs-orgmode@gnu.org; Mon, 18 Jul 2016 07:49:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bP73R-0001fx-A2 for emacs-orgmode@gnu.org; Mon, 18 Jul 2016 07:49:48 -0400 Received: from avasout07.plus.net ([84.93.230.235]:53321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP73R-0001fs-3s for emacs-orgmode@gnu.org; Mon, 18 Jul 2016 07:49:45 -0400 In-Reply-To: <87k2gkh8bs.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Sun, 17 Jul 2016 12:23:19 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Hello, > > Sharon Kimble writes: > >> I'm working on an org-mode file about cancer which is 945.1kb, is >> converted to a tex file of 1.0mb and a pdf of 2.0mb with 505 pages. The >> conversion is done through this code snippet '(global-set-key (kbd >> "s-#") 'org-latex-export-to-latex)'. There is no problem with the >> conversion to tex or conversion to pdf. >> >> However, the org-mode file is increasingly slowing down and becoming >> difficult to move about within the file, and also enter new information >> within it. >> >> How then can I speed it up within the org file please? > > It would help to have some profiling to determine where the bottleneck > is. You could use `elp-instrument-package' on "org-" prefix and report > results here. What I've done has been to split the cancer file up into 2, cancer.org being 445k, and cancer-1.org being 544k. I initially had misgivings about it with regard to footnotes, but they seem to be working okay, and both files are now very easy to add to and also move around in. Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.0.95 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXjMJKAAoJEDaBgBkK+INbJSIP/j0tu7El7+lnNfuVFarmd7vV 7t/KIRrq/CBPD4zd0qfyqHg41WaMKXuUo4PF9S3XtzAyJLXxIzcw62oxQFhRPU8E S4B7qbF+15B21t9IutyRG1sef+WbGxANJ0vkZaygBS7C+xTzCeT164a/UQKYFMsf HgLGVfsrzXrnIofZ5RJFab22c+V56MRyJaPVHYR+HCxh1eCKGSqge2VKsTL/oy1A tGGierV1YafMI8sK05x16VhAupTlj50Q+jv/K26LQkVk/qxQP8Du314i7Q5u5yZs o1SFwVBZ8RZ8zYU+5YhFSkiZ0jxjVt3qxrpKhRlGNlQhz/XmUYWh0jO5cTNSObKO qtkaVgNTpFHyxCNQTfYHQYnfgMJGtAChKrTC7u9AzXfbeHar0oaERQN0k0xCd5qM NX9SpIHnGlJVuen+B/HmoSuvjhf+dmJ9ij1d5K2PvLyZ0Y8URkNoxt8yOpcWkqor uYX+lHItSddZUBUOYqIzR5qtyjsntNtWAICgAqUNpHZ/LGY71dGWfdtZAxxISsaa DnGo7nxCItlB02KD/JPojVsyYcRFwDyV3I2XoaLifay+xHUXqmDxQlfjIWaXnmK4 bskoqVCFmnndCgc9fvTUppghxgRkPIiqrjGKFg+FSSG94va70I+N4HuoDC40KPjl KEYixwwSpLQM9I7NgHG9 =JtkV -----END PGP SIGNATURE----- --=-=-=--