emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: org-edit-file ?
Date: Wed, 20 Jul 2011 17:26:37 +0300	[thread overview]
Message-ID: <CA++fsGG3BuKT-1rruwY7rXXoPYUHUuRHnk=Sv-daBUC_9g_tjA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

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 inkscape manually and eventually doing saveas and navigate to the
correct directory to save the file. So my idea is to 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.
   - 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?

Regards,
Dov

[-- Attachment #2: Type: text/html, Size: 1093 bytes --]

             reply	other threads:[~2011-07-20 14:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 14:26 Dov Grobgeld [this message]
2011-07-20 17:15 ` org-edit-file ? Jambunathan K
2011-07-21  9:32   ` Bastien
2011-07-21  9:42     ` Dov Grobgeld
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA++fsGG3BuKT-1rruwY7rXXoPYUHUuRHnk=Sv-daBUC_9g_tjA@mail.gmail.com' \
    --to=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).