emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: chris <numbchild@gmail.com>
To: Emacs Org-mode <emacs-orgmode@gnu.org>
Subject: Make [C-c C-o] open link to auto create non-existing directory
Date: Sat, 9 Feb 2013 14:15:43 +0800	[thread overview]
Message-ID: <20130209061543.GB5518@stardiviner> (raw)

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

I found Emacs + Org-mode can not automatically create non-existing directory.

For example:

When I create a link [[file:Linux/Linux.org]], but this path does not exist.
When I open this link with [C-c C-o]. Emacs shows into:
    Use [M-x make-directory RET RET] to create the directory and its parents
    Setting current directory: no such file or directory,
    /home/chrsi/Org/Wiki/Linux/

Is it possible make Org auto create non-existing directory ?

-- 
[ stardiviner ] ^^&^^ {I hate all of you !  Leave me alone}
IRC(freenode): stardiviner     \\ Twitter:  @numbchild \\
GnuPG Key fingerprint
    >>> 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

             reply	other threads:[~2013-02-09  6:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-09  6:15 chris [this message]
2013-02-11 14:37 ` Make [C-c C-o] open link to auto create non-existing directory Bastien

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=20130209061543.GB5518@stardiviner \
    --to=numbchild@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).