Rasmus <ras...@gmx.us> writes:

> Rainer M Krug <rai...@krugs.de> 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

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature

Reply via email to