From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: Re: gnus: link annoyance Date: Tue, 07 Jan 2014 00:36:02 -0500 Message-ID: <87ha9g2w1p.fsf@iro.umontreal.ca> References: <87zjn9w79w.fsf@iro.umontreal.ca> <874n5hca77.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0PKi-0001lZ-KK for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 00:36:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0PKd-0003Xk-HL for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 00:36:08 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:59083 helo=mercure.progiciels-bpi.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0PKd-0003Xg-C1 for emacs-orgmode@gnu.org; Tue, 07 Jan 2014 00:36:03 -0500 In-Reply-To: <874n5hca77.fsf@pank.eu> (rasmus@gmx.us's message of "Mon, 06 Jan 2014 18:05:32 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rasmus writes: > Thanks for working on org-grep. It looks interesting. Thanks for thanking! :-) But deep down, I'm really doing this tool for myself, and only then share it with others. Given the amount of notes I handle, such a tool is inescapable, it is a question of survival :-). >> Whenever I visit a "gnus:" type link from Org, it has the side effect of >> "reading" the article in Gnus parlance, forcing me to "unread" it each >> time afterwards. > Excuse me if I misunderstood something below. You read it, no? How > can it not be marked read when you read it? The list gnus-mark-article-hook, which is there for customization, has the function gnus-summary-mark-read-and-unread-as-read by default. I guess that if the hook list was empty, articles would be displayed and not automatically marked as read. > Perhaps you would like to the following on mailgroups you care about > (from the *Groups* buffer): > G c C-s Display S-TAB RET TAB RET 1 TAB 100 M-< TAB TAB RET > Also, you can search with nnir using GG or C-u GG (but links probably > won't work from a nnir buffer). I would not think one should modify his Gnus habits or methods merely because Org has a tool to search in Gnus. Org uses Gnus, but Gnus should not be disturbed because of that. > 1. Mark an article as important with '!', > (gnus-summary-tick-article-forward N) But I do not want to tick (or bang) articles because I do Org searches. When really in Gnus, if I want to keep an article, I unread it. But that does not mean I consider this article especially important. If I want to mark an article as important, I bang it, and as a consequence, Gnus unread it. Banging all articles I want to keep unread is not only overkill, but it spoils the bang mark, which I find very useful for other purposes than Org. > I can also change the mark to gnus-summary-mark-as-expirable and > preserve the link. One possibility (untested, so I'm not sure) is that when following a "gnus:" link, Org could use something like: (let ((gnus-mark-article-hook nil)) (ACCESS-THE-gnus:-LINK)) Fran=C3=A7ois