Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-29 Thread Samuel Wales
Hi Dan, On 2010-04-27, Dan Davison davi...@stats.ox.ac.uk wrote: Another way to look at it is that this is an annotation mechanism. It can be used for any type of file or buffer. This would include text, websites (i.e. pointing to and annotating documents on the web), dired, source code,

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Eric S Fraga
On Mon, 26 Apr 2010 15:40:35 -0400, Dan Davison davi...@stats.ox.ac.uk wrote: I'm considering investigating the following and would appreciate comments on this idea. The aim is to make it easier to use Org-mode to work pure code files which are *external to Org-mode* (i.e. this proposal lies

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Darlan Cavalcante Moreira
This functionality would be really useful. Since it is more directly applicable for programming, then maybe an easier approach to implement it would be just a link to a function in a file. For instance [[file_def:/path/to/file::definition_name][linkname]] Org could rely on the capability of the

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Eric Schulte
Darlan Cavalcante Moreira darc...@gmail.com writes: This functionality would be really useful. Since it is more directly applicable for programming, then maybe an easier approach to implement it would be just a link to a function in a file. For instance

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Dan Davison
Eric Schulte schulte.e...@gmail.com writes: Darlan Cavalcante Moreira darc...@gmail.com writes: This functionality would be really useful. Since it is more directly applicable for programming, then maybe an easier approach to implement it would be just a link to a function in a file. For

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Samuel Wales
Another way to look at it is that this is an annotation mechanism. It can be used for any type of file or buffer. This would include text, websites (i.e. pointing to and annotating documents on the web), dired, source code, org files, html source, etc. Modifying existing link syntax will be

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Eric Schulte
Dan Davison davi...@stats.ox.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Darlan Cavalcante Moreira darc...@gmail.com writes: This functionality would be really useful. Since it is more directly applicable for programming, then maybe an easier approach to implement it would be

[Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Giles Chamberlin
Dan Davison davi...@stats.ox.ac.uk writes: This sounds like an interesting idea; I have been meaning to use tags more. However, I wouldn't want to exclude the possibility of using this functionality in a non-programming context -- i.e. collaborative editing of arbitrary text documents --

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Carsten Dominik
On Apr 27, 2010, at 9:19 PM, Dan Davison wrote: Samuel Wales samolog...@gmail.com writes: Another way to look at it is that this is an annotation mechanism. It can be used for any type of file or buffer. This would include text, websites (i.e. pointing to and annotating documents on the

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Mark Elston
On 4/26/2010 7:19 PM, Dan Davison wrote: Mark Elstonm_els...@comcast.net writes: Dan, The use of line numbers seems a little error prone since line numbers can change dramatically by simply editing the file. If you edit one section of a file, even if you update the line numbers for that

[Orgmode] Re: Limited #+INCLUDE ?

2010-04-26 Thread Sébastien Vauban
Hi Giles, Giles Chamberlin wrote: I've been using org-mode for some course work: write an essay about your software including the interesting bits, add all source code in an appendix. #+INCLUDE solves the inclusion of source code files very nicely - I'm guaranteed that my document includes

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-26 Thread Dan Davison
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Giles, Giles Chamberlin wrote: I've been using org-mode for some course work: write an essay about your software including the interesting bits, add all source code in an appendix. #+INCLUDE solves the inclusion of source code files

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-26 Thread Mark Elston
On 4/26/2010 12:40 PM, Dan Davison wrote: I'm considering investigating the following and would appreciate comments on this idea. The aim is to make it easier to use Org-mode to work pure code files which are *external to Org-mode* (i.e. this proposal lies outside of the current org-babel

Re: [Orgmode] Re: Limited #+INCLUDE ?

2010-04-26 Thread Dan Davison
Mark Elston m_els...@comcast.net writes: On 4/26/2010 12:40 PM, Dan Davison wrote: I'm considering investigating the following and would appreciate comments on this idea. The aim is to make it easier to use Org-mode to work pure code files which are *external to Org-mode* (i.e. this