akrennmair / newsbeuter

Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
http://www.newsbeuter.org/
MIT License
780 stars 100 forks source link

"unopened" attribute, usable in filter language #474

Open ghost opened 7 years ago

ghost commented 7 years ago

Newsbeuter version (copy from newsbeuter -v): newsbeuter 2.9 - http://www.newsbeuter.org/ Copyright (C) 2006-2010 Andreas Krennmair

newsbeuter is free software and licensed under the MIT/X Consortium License. Type `newsbeuter -vv' for more information.

Compilation date/time: Dec 7 2015 04:47:17 System: Linux 4.8.13-1-ARCH (x86_64) Compiler: g++ 5.3.0 ncurses: ncurses 6.0.20161224 (compiled with 6.0) libcurl: libcurl/7.52.1 OpenSSL/1.0.2j zlib/1.2.11 libpsl/0.16.1 (+libicu/58.2) libssh2/1.8.0 (compiled with 7.46.0) SQLite: 3.16.2 (compiled with 3.9.2) libxml2: compiled with 2.9.2

In my config file I have:

auto-reload yes
reload-time 5
mark-as-read-on-hover yes
goto-first-unread no

When reloading occurs, my cursor moves from the currently selected article. My problem is that, later, when I return to tmux tab where newsbeuter is running, I forget which articles I read in my browser (chromium) and which articles I decided to ignore. I want to highlight those articles marked read and marked unopen, in order to make sure I didn't miss anything.

Minoru commented 7 years ago

Since the root cause of this is cursor "jumping" all over the feed, I've filed a separate issue, #475.

The attribute might still be useful, though. I'm going to lay this suggestion aside for now, and will consider it when I pick issues to work on for the next release. Thanks for filing this!