11 Commits

Author SHA1 Message Date
Aryadev Chavali
9af08d84c9 (Emacs/elisp/org-bookmark)~prompts for differing functions 2024-08-24 21:00:16 +01:00
Aryadev Chavali
f9d2fdb928 (Emacs/elisp/org-bookmark)+org-bookmark/copy-bookmark-url
Just a nice helper function.
2024-08-21 16:43:39 +01:00
Aryadev Chavali
3bbfab5e4f (Emacs/elisp/org-bookmark)~indenting 2024-08-21 16:43:27 +01:00
Aryadev Chavali
35a527c656 (Emacs/elisp)+org-bookmark/make-bookmark function
This will allow for easy automation when using ytsearch: every pair of
results can be wrapped in this expression to generate the videos I
want.
2024-07-27 16:56:23 +01:00
Aryadev Chavali
f740c21d79 (Emacs/elisp)~Make separate module for mpv from org-bookmark 2024-07-27 16:36:34 +01:00
Aryadev Chavali
9449d51aed (Emacs/config|elisp)~+bookmark->org-bookmark and better mpv-args 2024-07-27 04:36:28 +01:00
Aryadev Chavali
3ef303fb67 (Emacs/elisp)~cl-reduce -> string-join 2024-06-14 02:38:58 +01:00
Aryadev Chavali
19619813d1 (Emacs/elisp)~org-bookmark now auto loads required org functions
Instead of (require 'org) which loads the entire thing and is quite
expensive, let's autoload what we need.  In the config we load
org-bookmark before org-mode so we may as well do this.

It's also just good practice regardless.
2024-06-11 17:28:03 +01:00
Aryadev Chavali
c64708aaaa (Emacs/elisp)~massively reworked bookmarking system
Now it can:
- cache results until bookmarks file is modified, so we don't need to
open the file again if we've already figured everything out.  This is
in-memory and not as a file

- a proper dispatching list which has pairs of form (PATTERNS . FUNC)
so the dispatching system is a bit more abstract and easier to add to

- use a URL property in org headings to get the bookmark URL rather
than having it as part of the body of the entry.  This means the body
is now free to house any content without affecting the overall
function of the system, such as notes or subtrees for related
bookmarks.
2024-06-11 16:56:52 +01:00
Aryadev Chavali
47655b7f03 (Emacs/elisp)~current work in org bookmark 2024-05-31 20:53:59 +05:30
Aryadev Chavali
ab2742cd3e (Emacs/elisp|config)+org-bookmark manager
Opens bookmarks from ~/Text/bookmarks.org with a dispatcher.
2024-05-13 17:32:38 +05:30