all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Make [C-c C-o] open link to auto create non-existing directory
@ 2013-02-09  6:15 chris
  2013-02-11 14:37 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: chris @ 2013-02-09  6:15 UTC (permalink / raw)
  To: Emacs Org-mode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Make [C-c C-o] open link to auto create non-existing directory
  2013-02-09  6:15 Make [C-c C-o] open link to auto create non-existing directory chris
@ 2013-02-11 14:37 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-02-11 14:37 UTC (permalink / raw)
  To: Emacs Org-mode

Hi Chris,

chris <numbchild@gmail.com> writes:

> 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 ?

Org behaves like Emacs here: in Emacs, if you find a file in a
directory that does not exist, you get the same warning.

A solution to automatically create the directory (with maybe just
a confirmation step) would be needed for Emacs, not just for Org.

Or is your need very specific to Org?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-11 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-09  6:15 Make [C-c C-o] open link to auto create non-existing directory chris
2013-02-11 14:37 ` Bastien

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.