From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
Jambunathan K <kjambunathan@gmail.com>
Subject: Re: org-edit-file ?
Date: Thu, 21 Jul 2011 12:42:44 +0300 [thread overview]
Message-ID: <CA++fsGHosYJYhyJu0PXEG0J_w4RcXL_e=PBBkep0gHUx66-WJA@mail.gmail.com> (raw)
In-Reply-To: <878vrst1wc.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]
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
opening a few for viewing and opening a file for editing, as e.g. eog and
inkview are good for viewing, whereas gimp and inkscape are better for
editing.
Regards,
Dov
On Thu, Jul 21, 2011 at 12:32, Bastien <bzg@altern.org> wrote:
> Hi Dov,
>
> Jambunathan K <kjambunathan@gmail.com> 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 Emacs itself rather than Org-mode.
> Are you aware of existing templating facilities?
>
> http://emacs-template.sourceforge.net/
>
> >> Call the configured editor application on the new file.
> >> If invoked with Ctrl-u , allow the user to specify what editor to
> >> run on the file, e.g. inkscape, or killustrator on svg files.
> >>
> >> Does something like this already exists?
> >
> > Start from C-h f org-open-file.
>
> Indeed!
>
> Best,
>
> --
> Bastien
>
[-- Attachment #2: Type: text/html, Size: 1981 bytes --]
next prev parent reply other threads:[~2011-07-21 9:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 14:26 org-edit-file ? Dov Grobgeld
2011-07-20 17:15 ` Jambunathan K
2011-07-21 9:32 ` Bastien
2011-07-21 9:42 ` Dov Grobgeld [this message]
2011-07-21 10:54 ` Jambunathan K
2011-07-21 22:11 ` Sebastian Rose
2011-07-21 23:50 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA++fsGHosYJYhyJu0PXEG0J_w4RcXL_e=PBBkep0gHUx66-WJA@mail.gmail.com' \
--to=dov.grobgeld@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.