emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Defining directory tree structure from org-attach to reflect headers
@ 2016-10-13 13:29 Rainer M Krug
  2016-10-16 15:41 ` aaermolov
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer M Krug @ 2016-10-13 13:29 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi

I have effectively the same question as Adm here:
[http://emacs.stackexchange.com/questions/26412/human-readable-directory-tree-with-org-attach]

I would like to have the directory tree of the attachments managed by
org-attach to reflect the document structure as defined by the
headlines.

To quote from his question:

,----
| * This headline
|   ** This sub-headline 1
|   ** This sub-headline 2
| * This second headline
| 
| matches to the directory structure:
| 
| - This headline
|   - This sub-headline 1
|   - This sub-headline 2
| - This second headline
`----

I started using to set the directories, but for this I need the
additional step of defining it per subtree. Is there a way to configure
org-attach to automatically use the header name instead of the uuid?

Thanks,

Rainer


-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: Defining directory tree structure from org-attach to reflect headers
  2016-10-13 13:29 Defining directory tree structure from org-attach to reflect headers Rainer M Krug
@ 2016-10-16 15:41 ` aaermolov
  0 siblings, 0 replies; 2+ messages in thread
From: aaermolov @ 2016-10-16 15:41 UTC (permalink / raw)
  To: Rainer M Krug, emacs-orgmode

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

I'm not completely up to topic, but it seems to me that org-attach
machinery is more about a content-addressable storage, so it makes
little sense for what you want this way.

But those who know more, can obviously correct me.

cheers,
Alex

Rainer M Krug <Rainer@krugs.de> writes:

> Hi
>
> I have effectively the same question as Adm here:
> [http://emacs.stackexchange.com/questions/26412/human-readable-directory-tree-with-org-attach]
>
> I would like to have the directory tree of the attachments managed by
> org-attach to reflect the document structure as defined by the
> headlines.
>
> To quote from his question:
>
> ,----
> | * This headline
> |   ** This sub-headline 1
> |   ** This sub-headline 2
> | * This second headline
> | 
> | matches to the directory structure:
> | 
> | - This headline
> |   - This sub-headline 1
> |   - This sub-headline 2
> | - This second headline
> `----
>
> I started using to set the directories, but for this I need the
> additional step of defining it per subtree. Is there a way to configure
> org-attach to automatically use the header name instead of the uuid?
>
> Thanks,
>
> Rainer
>
>
> -- 
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

end of thread, other threads:[~2016-10-16 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 13:29 Defining directory tree structure from org-attach to reflect headers Rainer M Krug
2016-10-16 15:41 ` aaermolov

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).