simplenote2.el icon indicating copy to clipboard operation
simplenote2.el copied to clipboard

Support request: How to link to notes

Open pataquets opened this issue 3 years ago • 5 comments

Using Spacemacs. I want to insert links from Orgmode files. When invoking org-insert-link, lots of https, file, etc. URI schemes appear. No Simplenote URI scheme. I'm afraid that linking directly to files (the hashlike named file) might change and can break. Also, the link is not very intuitive.

pataquets avatar Mar 23 '21 19:03 pataquets

@alpha22jp : After getting more familiar with the package, my guess is that this is not possible. As I'm developing my Elisp-fu, I might take a stab at implementing it. Would such feature be acceptable? Any prior advice on implementing it? So far, after doing some more research, I guess that this documentation would be enough to accomplish it.

pataquets avatar Jul 02 '21 19:07 pataquets

basic support for simplenote: hyperlinks can be found here, and similarly with file: links it assumes some stability of filenames and note keys for the links.

zzkt avatar Jul 14 '21 22:07 zzkt

might be useful to add something like simplenote+search: and simplenote+tag: links that could filter the note list, but requires a bit more work.

also, if there is a simple way to get the url of a published note, that could be used when exporting from org mode.

zzkt avatar Jul 15 '21 08:07 zzkt

That is awesome @zzkt !! I'm using it since a week or so and it works wonderfully. Thank you very much!

I'd like to help this feature to be visible and more available. Since I'm still getting started with Elisp and not very familiar with package development, I'd like your input. From what I've read, my guess is that your file should be packaged independently (I've read it somewhere), but I'm not sure. I understand that you might not be interested in doing so, which would be fine. If you're scarce on time, I can help creating a new repo, importing the file (with proper commit authorship) and handing ownership to you afterwards.

Unfortunately, I'm still not able to maintain it myself :( I'm still finding my way into coding by adding some small features here and there, but nothing yet. I have a couple things to try improving with SN and you ol-SN package, but I'd like to find time to take a stab at them first. Now I'm still overwhelmed with customizing my environment :smile:.

Also, if this should be in its own repo, I'll file the corresponding issues.

pataquets avatar Sep 22 '21 15:09 pataquets

glad you are finding it useful @pataquets it's still basic but works well enough for me as is.

I think there are two obvious ways to make the org links feature more available, either as part of this package (if @alpha22jp is interested in merging it) or as a separate package (e.g. ol-simplenote) via melpa. I'm fine either way but i do think it makes sense to keep as part of the simplenote package.

zzkt avatar Sep 25 '21 10:09 zzkt