From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9875 invoked from network); 29 Jun 2023 16:36:37 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 29 Jun 2023 16:36:37 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEuby-0007aj-Nx; Thu, 29 Jun 2023 12:35:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEuaP-0005ar-8G for info-gnus-english@gnu.org; Thu, 29 Jun 2023 12:33:41 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEuaL-0003Xn-9W for info-gnus-english@gnu.org; Thu, 29 Jun 2023 12:33:35 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qEuaJ-000AC7-7C for info-gnus-english@gnu.org; Thu, 29 Jun 2023 18:33:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Subject: Re: Marking thread as read Date: Thu, 29 Jun 2023 18:33:22 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87bkgyw7n1.fsf@tullinup.koldfront.dk> References: <877crmlxug.fsf@alshehhi.io> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:Dxe5NhbNiHBRxUmsAeq9RLAl9+A= OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc X-Now-Playing: Baby Put Your Clothes Back On, The Roadside EP (Billy Idol) X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97, Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Alshehhi writes: > I am new to gnus. I am trying to mark a thread as read. However, it is > still unclear to me how to do that. There is the command > gnus-summary-kill-thread: I recently had the same need, and solved it by making my own function based on gnus-summary-kill-thread: (defun asjo-gnus-summary-mark-thread-read () "Mark articles under current thread as read." (interactive "" gnus-summary-mode) (let ((articles (gnus-summary-articles-in-thread))) (save-excursion ;; Expand the thread. (gnus-summary-show-thread) ;; Mark all the articles. (while articles (gnus-summary-goto-subject (car articles)) (gnus-summary-mark-article-as-read gnus-read-mark) (setq articles (cdr articles))))) ;; Go to next unread subject. (gnus-summary-next-subject 1 t) (gnus-set-mode-line 'summary)) (define-key gnus-summary-mode-map [(T) (r)] 'asjo-gnus-summary-mark-thread-read) More context: https://koldfront.dk/quickly_marking_a_thread_read_1839 Best regards, Adam -- "In the past we would do little things for love, Adam Sjøgren but but things, big things required money. Now we asjo@koldfront.dk can do big things for love."