-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support org attachments #1
Comments
Let's see... |
+1 |
It would be so awesome if you could attach images directly from clipboard. And maybe (that's probably asking too much) if it's possible to take photos and handwritten notes on the spot - that would be totally mind-blowing. Then you can take notes anywhere - even during a math lecture or something like that. Especially if you have a stylus (hello Galaxy Note) |
Org mode
|
I'm interested in working on this. My understanding of the use cases are mainly two
In both cases, save the file as a copy locally in the org repository Am I describing the use cases accurately? Interested to hear more |
Couldn't the second use case be tweaked to allow selecting any file, instead of just an image? |
As mentioned above, any file should be attached. Like attachments of an e-mail software. Where seems to lie one difficulty is in the compatibility of paths and syntax between orgmode and orgzly. |
Right. Save a copy of the file. Or move the file. (Personally I never use links here). Not sure what you mean by “org repository”. |
Looks like there might be two different desires on managing the paths?
This is one way, I understand it is the org-attach way. The file is stored in a two-level subfolder within "data", and accessed via "attachment:" Link. This will be a bit more work to fully implement because orgzly currently don't know how to resolve "attachment:" links.
The other way is simply storing the file into one subfolder that holds all attachments. The file can then be accessed via "file:" Link. With #496 implemented, user can control where the subfolder is to resolve the relative path starting with "file:".
Which one of the two ways to organize the paths would we prioritize for? |
Actually #582 already supported use case 2: receiving shared image and link to the (absolute) path of the content. But it lacks the ability to copy the image. |
It would actually be in |
I would clearly prioritze the first way (uuids and “attachment:“-links). Like this it becomes really easy to quickly add a new note, add the attachment, and forget about it. In org I often don’t bother linking files - I just move them into the attachment directory of a new node without even renaming them. |
How would it work if you share a file to Orgzly, from a different app? |
When receiving a file from a different app, Orgzly can choose to save a copy. Normally it cannot delete or move the shared file. We need to consider whether the existing behavior as in #582 needs to be supported in some way - it simply add the link of the shared file name into the note content without copying. |
I think that behaviour should be optimized, since it is not a relative path (incompatible with orgmode). |
I am using attachments more intensively on orgmode lately. It seems to me that orgzly should resolve "attachment" links for compatibility. It is very fast to create links using attachments feature. Orgmode looks if there is a PROPERTY with a DIR (or ID) and searchs in it the linked or to be linked file. And it can have inheritance, like tags, so there is no needed to add a PROPERTY in every heading.
|
Is this feature finished? |
I prefer the first one, because I don't want to redefine an attachment data management, like how to naming the attachment folder. But the second is simple for implementation. |
I prefer the first one, because I don't want to redefine an attachment data management, like how to naming the attachment folder. But the second is simple for implementation. |
Hi Maybe you could implement firstly the second way? It would consist just in an option where we would set the attachments path. That would be a good start |
First, thank you so much for open-sourcing this awesome app 👍
This is a feature request and not an issue. I did ask for this in orgzly g+ page.
Here is a little reference video for org attachments:
https://www.youtube.com/embed/KMlp9HUJI3s?ecver=1
My basic use case is using the phone camera to capture a picture of a document and attaching it to a task. Similar to what you can do with evernote, for example. Here is a video of this feature in evernote in action:
https://youtu.be/QGj7Sq0Qlxk?t=58
Cheers!
The text was updated successfully, but these errors were encountered: