From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13697 Path: main.gmane.org!not-for-mail From: Stefan Waldherr Newsgroups: gmane.emacs.gnus.general Subject: summary-prepare-hook Date: 22 Jan 1998 12:20:46 -0500 Organization: Carnegie Mellon University -- School of Computer Science Sender: owner-ding@hpc.uh.edu Message-ID: Reply-To: Stefan Waldherr NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153015 10609 80.91.224.250 (20 Oct 2002 22:30:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:30:15 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id JAA03468 for ; Thu, 22 Jan 1998 09:24:46 -0800 Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA05015 for ; Thu, 22 Jan 1998 11:22:40 -0600 (CST) Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAH04027; Thu, 22 Jan 1998 11:22:27 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 22 Jan 1998 11:21:19 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id LAA04014 for ; Thu, 22 Jan 1998 11:21:12 -0600 (CST) Original-Received: (qmail 11871 invoked by uid 504); 22 Jan 1998 17:21:10 -0000 Original-Received: (qmail 11867 invoked from network); 22 Jan 1998 17:21:10 -0000 Original-Received: from mind.learning.cs.cmu.edu (128.2.185.27) by claymore.vcinet.com with SMTP; 22 Jan 1998 17:21:09 -0000 Original-To: ding@gnus.org X-Newsreader: Quassia Gnus v0.22/XEmacs 19.16 - "Lille" X-Url: http://www.waldherr.org/ X-Face: "-=6){9J':KXui`/fiH#,g(pr\2Rv'7{dSci>!;1r2zpWB*qcI6gH^LoLQjSSNSg@ee_n~dV]|;5T7=d6_FNPEvqKDk`OWLB[CKOkG.M6{J.??WB*1Wk`y?de2[56)Iv"y#tg@p]~%_3>&;;PQ-{A)UcZ_?nj@b(FN]!Sq6QS9YuGJZ3qkdPq(h-olTvcq0,TS%?i]ddP2E'&^ud Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13697 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13697 Hi, when entering a mail group I find it annoying that the cursor is on the first article. I much rather would like to see the cursor on the newest article (ie., the last line in the summary buffer). Unfortunately, the following hook does not give the expected result. Can anybody give me a hint? (XEmacs barks at (previous-line)0, but even if I take this out, it will not do the right thing). (setq gnus-summary-prepare-hook (lambda () (goto-char (point-max)) (previous-line) (recenter) ) ) I also tried various variations, like (add-hook 'gnus-summary-prepare-hook (lambda () (let (gnus-summary-prepare-hook) (goto-char (point-max)) (recenter) ) )) but to no avail. Thanks, Stefan. -- Stefan Waldherr office +1 (412) 268-3837 fax +1 (412) 268-5576 e-Mail swa@cs.cmu.edu www http://www.waldherr.org/