Re: [O] org-edit-file ?

2011-07-21 Thread Jambunathan K
Sebastian Rose writes: > Dov Grobgeld writes: >> I'm not sure that emacs is the best tool to e.g. generate a template png >> file of a given size and given background, or a svg file. I still don't feel >> that any of the proposed solutions solves the file:foo.svg edit scenario, >> where foo.svg

Re: [O] org-edit-file ?

2011-07-21 Thread Sebastian Rose
Dov Grobgeld writes: > I'm not sure that emacs is the best tool to e.g. generate a template png > file of a given size and given background, or a svg file. I still don't feel > that any of the proposed solutions solves the file:foo.svg edit scenario, > where foo.svg does not exist yet. Also I woul

Re: [O] org-edit-file ?

2011-07-21 Thread Jambunathan K
Dov I believe you would like to follow a link to svg file and have it open in one of the many external editors depending on whether the link is "visited" (read-only) or "opened" (edit). May be others could help you here. What you need to begin with is a home-brewed elisp command to "view" or "e

Re: [O] org-edit-file ?

2011-07-21 Thread Dov Grobgeld
I'm not sure that emacs is the best tool to e.g. generate a template png file of a given size and given background, or a svg file. I still don't feel that any of the proposed solutions solves the file:foo.svg edit scenario, where foo.svg does not exist yet. Also I would rather differentiate between

Re: [O] org-edit-file ?

2011-07-21 Thread Bastien
Hi Dov, Jambunathan K writes: >> have a a new command org-edit-file that would: >> >> If the file does not exist, copy a skeleton file to the filename >> or generate the skeleton file by an emacs-function or by calling >> an external application. Such a functionality belongs to Emac

Re: [O] org-edit-file ?

2011-07-20 Thread Jambunathan K
Dov Grobgeld writes: > I just thought of an idea that I wonder if someone has implemented. > > While writing my journal I find myself wanting to insert a graphics > file, e.g. a svg file and I write file:foo.svg . After having written > the name I  enter inkscape to create the contents of the fil

[O] org-edit-file ?

2011-07-20 Thread Dov Grobgeld
I just thought of an idea that I wonder if someone has implemented. While writing my journal I find myself wanting to insert a graphics file, e.g. a svg file and I write *file:foo.svg* . After having written the name I enter inkscape to create the contents of the file. To do that I have to run in