From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Open all #+INCLUDED:d files? Date: Fri, 12 Dec 2014 12:40:12 +0100 Message-ID: References: <874mt1yv2j.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzOaD-0002sM-Q6 for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 06:40:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzOa7-0006pw-UJ for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 06:40:29 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:43132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzOa7-0006po-Og for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 06:40:23 -0500 Received: by mail-wi0-f175.google.com with SMTP id l15so2229226wiw.2 for ; Fri, 12 Dec 2014 03:40:23 -0800 (PST) In-Reply-To: <874mt1yv2j.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 12 Dec 2014 12:19:16 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Rasmus writes: > Rainer M Krug writes: > >> Is there an easy way of opening all INCLUDEd files in an org document, >> i.e. a single command or an easy way of doing it via some elisp code? > > Oh, sorry, I didn't see the "all". No problem - so I learned about C-c & - very useful. > But yeah, it should be easy with org-element-map. Map over all > keywords, ensure they are INCLUDE keywords, move point to their :begin > and call org-edit-special or similar. You could use save-excursion, > save-window-excursion to make it not suck. You'd might have to widen > first, then you could use save-restriction. OK - I might look into it when I get to annoyed by the manual approach. Thanks, Rainer > > Hope it helps, > Ramsus =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUitQkAAoJENvXNx4PUvmCHVkH/A2pDNXusvOZ8e6GkzDV2cIc 871wtDLvLk8olnEdjctWpwj6lo9C3FLpG13mvl0rXMbRIZF7za9873fOLtUvKc6S doWpkqQeLhl0ccfk/9KYRLiY/ygt7R0GG1Iv6IaonQDMLhYSz8iAn8y9AMQt7Fu4 Cf8NQg4yJJtTo1/IAc2Z+OJvMWIvUsNUsBP2ZBSri8g6eA52DaCr34tBo7XIGsKL Hb0MUbmhYHTJfdbls3Mu1Hb8pB2ySof1CTQQdMGhawdYRIi5Jl9T1Z6uzhLATMr6 Dd/p6UIr6CdytN6kapf8PJvh7+GLwU72c3PKwpJ3FWxTp5iexG7GnU+7t19J7Qs= =tY+i -----END PGP SIGNATURE----- --=-=-=--