Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[feature] bookmark integration #110
Emacs has a bookmark feature: C-x r m to add a bookmark to the current file, C-x r b to jump to the file where a bookmark points.
You can define new types of bookmarks for things other than files, so here's one for elfeed-search:
Emacs bookmarks do not support tags by default, but bookmark+ (in melpa) does, and the code above pre-populates the tags field.
Bookmarks could be a quick way to support more than the default elfeed-search-filter without having to create a whole new front-end.
Not a bad idea. It would certainly simplify the process of creating easy-access "views" on the listing buffer. However, I don't want to create a dependency on bookmark+ just for this feature. If you can get it to work with just Emacs' built-in bookmark.el, I'd like to integrate this (and without the add-hook, since it would be part of the elfeed-search-mode itself).
There's no dependency on bookmark+. The Emacs bookmark system allows storing extra meta-data with each bookmark. Rather than use the key 'elfeed-tags' I used 'tags' because bookmark+ takes advantage of it. Without bookmark+ the tags meta-data is ignored.
This also wants the ability to bookmark items as well as searches (like #34), I'll have a look at that.
added a commit
Nov 23, 2015
If I'm not mistaken, I think I found a bug in the bookmark/bookmark+/elfeed integration.
Debugger entered--Lisp error: (wrong-type-argument sequencep 604800)
I suppose you'll need more information and details on the issue (OS, packages installed, emacs version, etc., etc. Before sending irrelevant data, I'll await for your directions.