reddit / emacs

How would I create a priority queue for bookmarks I want to read, pdfs, articles...

nick91700 · 2022-06-25 05:39
I managed to use ebuku to import all my book marks into emacs... I have 700+. Over the years I had a bad habit of bookmarking things to read later and usually just never getting to them. I also have been using this anki plugin called Searching, PDF Reading & Note-Taking in Add Dialog and I really like the queue system it has, but I really hate taken notes in it or reading webpages or pdfs in it and want to try and find a way to do it in emacs. The addon is based on incremental reading ([https://en.wikipedia.org/wiki/Incremental\_reading](https://en.wikipedia.org/wiki/Incremental_reading)) so you can add different articles to a priority queue that you can pull up to decide what to read next. I attached two screenshots below to help understand what I am talking about. ​ Anyways, I'm super new to emacs and don't really know how I would go about doing this in emacs. Any tips? ​ I'd like to be able to have the priority features in the addon, i.e. 1-100 priority scheduling, show in \[n\] days, show on weekdays, set a directory for files and see all files that aren't currently in the queue, but I realize this may be pretty hard so I'd settle for just being able to add and remove links to a queue with some basic priority. ​ ​ https://preview.redd.it/ohcc2glffp791.png?width=323&format=png&auto=webp&s=40c2c2777d525df480f7be333dc0932beafe8191 ​ ​ https://preview.redd.it/290wxbx5fp791.png?width=1226&format=png&auto=webp&s=ce3f5b5b03207fe159e6f2e8a94b85f0a4fa15e0
[deleted] · 2022-06-25 07:12
[removed]
jsled · 2022-06-25 10:54
> I have 700+. Only 700? ;) > Over the years I had a bad habit of bookmarking things to read later and usually just never getting to them. Welcome to the information-consumption club. ----- Of course, the real problem here isn't the tooling or having a priority queue, but establishing focus and dedicating time to actually consuming items in this list. I've not done what you're asking in emacs, but I'll relay some thoughts with my experience, primarily with many-hundreds of saved items in Newsblur, over the last many years… Age is important, especially with links, especially due to bitrot. (Consider shoving anything you care about through archive.org or similar preëmptively as you bookmark it, too; some bookmarking services (eg. pinboard) offer this as a feature.) The folder the link came from at the time (eg. "games", "guns", "tech-links", "programming-as-craft", "cloud-tech", "politics", &c.) is critical to me on the later /consumption/ side. If I do find time to catch up on some saved reading, I'm usually in a head-space to read some /class/ of things. And I find that having like-themed items together makes evaluating them /dramatically/ easier due to a lack of context switching; if I'm scanning a list of "games" content, I can stay in the same primed part of my head, rather than trying to compare "tech" to "games" to "politics" items. Similarly, some snippet of context about /why/ I'm saving it to read later is important; this needs to be a super-low-barrier-to-(data-)entry, since the point of bookmarking is to /not/ spend time on the item, now. ----- All that being said… A "priority queue" isn't – imho – the right modeling. You want a set of items with rich (meta-)data so you can query on demand. One can easily imagine an org-mode file, using dates, labels and properties, and then different org or org-ql queries to select and order the items based on some criteria important at the time of consumption. Don't get me wrong, some sort of "importance" can be one of those fields … some items are "objectively" more important than others. But "priority" is best defined in the context of a use or demand or query … "in /this/ case, what's the best item for me to read right now, based on these circumstances: […]?" Importance can be part of that prioritization function, along with age and category and maybe length and … Good luck.
jsled · 2022-06-25 10:55
Telling people who are asking for help "just google it" isn't constructive.
nv-elisp · 2022-06-25 11:33
Asking a question without doing any research isn't constructive. Your opinion about my comment isn't constructive.
flexibeast · 2022-06-25 11:35
>Only 700? ;) Heh, indeed: $ buku -r '.*' -f 1 | wc -l 43879 This is what happens when one has been saving Web bookmarks since the mid-90s. :-)
xxd8372 · 2022-06-25 13:04
I use Zotero for this. It’s designed for it (storing research content and meta). There are enough integrations for it to cooperate with org-ref via it’s better-bibtex plugin, and it’s own browser plugins works pretty well to capture pages & PDFs with meta. It’s not a pure emacs answer, but works for me. (Edit: also, this is the searchable db method, not a priority queue. My “priority queue” lives in an org mode file under a “* Reading list”heading. It’s just a list that tends to grow until I sit down and prune it, with things I add to the top being a bit more interesting than what I add to the bottom. Periodically I read the things I’m motivated to read & take notes on, then eventually bury the rest when I start a new org file and a new reading list. I intended to do this monthly, but it actually happens roughly quarterly. Anything I find may be a useful permanent reference or potential citation, or a PDF for reference, goes into zotero.)
torwag · 2022-06-25 13:35
My approach is slightly different, as I use mostly my mobile phone, I can't use Emacs easily. Therefore, I use orgzly an org-mode app for android and sync those org-mode files via nextcloud. Works great for not only bookmarks, but also to-do, idea pool, resonance list, etc. Quite flexible solution. Best feature orgzly is available in the "share with" feature among Android apps. It is very easy to save a link from the browser, reddit and other apps.
00-11 · 2022-06-25 14:22
(Dunno whether this responds to your request/problem. But if you're talking about regular Emacs bookmarks then it might.) Library [Bookmark+](https://www.emacswiki.org/emacs/BookmarkPlus) offers various ways to organize, group, sort, label/tag, find, etc. bookmarks. It sounds like it might help you. As for creating sets of bookmarks: To start with, you need easy and flexible ways to define *sets* of bookmarks. Bookmark+ provides several ways, including [tags](https://www.emacswiki.org/emacs/BookmarkPlus#BookmarkTags), [bookmark-list bookmarks](https://www.emacswiki.org/emacs/BookmarkPlus#BookmarkListViews), multiple [bookmark files](https://www.emacswiki.org/emacs/BookmarkPlus#UsingMultipleBookmarkFiles), and [bookmark links](https://www.emacswiki.org/emacs/BookmarkPlus#BookmarkLinks). * Start with bookmark **tags**. You can tag a bookmark with any number of tags, each of which is an arbitrary string (or even a string plus a Lisp value). Tags let you, in effect, create any number of sets, which you can define and organize in any way (hierarchical, partitioning, overlapping arbitrarily). * Bookmark-list bookmarks let you see and act on a particular set of bookmarks - those that the bookmark displays. * Bookmark-file bookmarks switch among different bookmark files, which are physical sets of bookmarks. You can load multiple bookmark files, making all of their bookmarks available. You can easily move bookmarks among files. * Bookmark links are just links you add to a text file which jump to bookmarks. And jumping to a bookmark can do anything, including switch to a particular bookmark-list display, switch to or additionally load a bookmark file, etc. As for *"prioritizing"* bookmarks within a set: In a bookmark-list display you can *sort* bookmarks in a zillion ways, including by type, date of creation or last access, and number of times you've visited/used. And again, you can bookmark such a display, so even for the same set of displayed bookmarks you can have different bookmarks that show that set with different sort orders. In a bookmark-list display you can *mark* bookmarks in a number of ways - yet another way to define a set of bookmarks. And you can operate on the set of marked bookmarks, to create a bookmark file for them or add them to another bookmark file, tag them, etc.
cyneox · 2022-06-25 19:07
I use getpocket.com and pocket-reader.el to add and prioritise my readings. I came up with my own tagging system and workflow (which hasn't changes since I've released the that blog post). You can read more here: https://blog.dornea.nu/2021/09/01/inbox-zero-using-getpocket/
s3r3ng · 2022-06-25 19:51
WHOA. Thanks for this. I have used emacs bookmarks but only in relatively limited and obvious ways. I didn't know about all this extra power. COOL!
arthurno1 · 2022-06-27 00:58
> I'd like to be able to have the priority features in the addon, i.e. 1-100 priority scheduling, show in [n] days, show on weekdays, set a directory for files and see all files that aren't currently in the queue, but I realize this may be pretty hard so I'd settle for just being able to add and remove links to a queue with some basic priority. Org-mode and built-in todo functionality seems to me as made for you. You can easily add notes, links, mark your tasks as done, have checkboxes or partially done tasks etc. Check org-capture for taking quick notes. You will probably need to set up your own capture template, but it shouldn't be too difficult. You can "capture" a reading task, and notes to that task etc.