From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41043 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Select first *unseen* unread message in summary buffer? Date: Sat, 29 Dec 2001 02:32:47 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: <87zo4yns3m.fsf@inanna.rimspace.net> <87snamccof.fsf@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176503 4092 80.91.224.250 (21 Oct 2002 05:01:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:01:43 +0000 (UTC) Return-Path: Original-Received: (qmail 24845 invoked from network); 29 Dec 2001 01:38:14 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Dec 2001 01:38:14 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16K8RE-0004eF-00; Fri, 28 Dec 2001 19:37:28 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 28 Dec 2001 19:37:19 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA23729 for ; Fri, 28 Dec 2001 19:37:06 -0600 (CST) Original-Received: (qmail 24834 invoked by alias); 29 Dec 2001 01:37:10 -0000 Original-Received: (qmail 24829 invoked from network); 29 Dec 2001 01:37:09 -0000 Original-Received: from quimby.gnus.org (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 29 Dec 2001 01:37:09 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16K8fR-0005Q7-00 for ; Sat, 29 Dec 2001 02:52:09 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 49 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby2.netfonds.no 1009590729 19599 195.204.10.148 (29 Dec 2001 01:52:09 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 29 Dec 2001 01:52:09 GMT Mail-Copies-To: never X-Now-Playing: Susumu Yokota's _Grinning Cat_: "Cherry Blossom" User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 (i686-pc-linux-gnu) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > I probably can, but I would rather implement a more flexible interface > to selecting the first article, I admit. :) `gnus-auto-select-first' is the variable that controls this, and it's a bit of a mess. ---------- gnus-auto-select-first's value is gnus-summary-first-unread-subject Documentation: *If nil, don't select the first unread article when entering a group. If this variable is `best', select the highest-scored unread article in the group. If t, select the first unread article. This variable can also be a function to place point on a likely subject line. Useful values include `gnus-summary-first-unread-subject', `gnus-summary-first-unread-article' and `gnus-summary-best-unread-article'. If you want to prevent automatic selection of the first unread article in some newsgroups, set the variable to nil in `gnus-select-group-hook'. ---------- So, it really controls two things at once. 1) It says what subject line to place point on 2) It says whether that article should be selected as well That's nasty. I suggest splitting this up into two variables. 1) gnus-auto-select-subject, which says what subject line point should be placed on 2) gnus-auto-select-article, which says whether the article should be selected Better variable names should be selected, but I think I'll just go ahead and make this change. The variables can get their default values from the obsolete `gnus-auto-select-first' variable, if that's set. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen