From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69128 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#4698: 23.1; C-l in gnus differs from other modes Date: Wed, 14 Oct 2009 20:23:56 +0200 Message-ID: <87vdihomv7.fsf@marauder.physik.uni-ulm.de> References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255544698 21977 80.91.229.12 (14 Oct 2009 18:24:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 18:24:58 +0000 (UTC) Cc: 4698@emacsbugs.donarmstrong.com, ding@gnus.org To: Tom Tromey Original-X-From: ding-owner+M17543@lists.math.uh.edu Wed Oct 14 20:24:47 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1My8Wg-0006Po-Mn for ding-account@gmane.org; Wed, 14 Oct 2009 20:24:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1My8WA-0001Dz-2K; Wed, 14 Oct 2009 13:24:10 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1My8W8-0001Dl-EH for ding@lists.math.uh.edu; Wed, 14 Oct 2009 13:24:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1My8W7-0004F3-1z for ding@lists.math.uh.edu; Wed, 14 Oct 2009 13:24:08 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1My8W6-0006qz-00 for ; Wed, 14 Oct 2009 20:24:06 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n9EIO0YY011520; Wed, 14 Oct 2009 20:24:00 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 0334E1CFA5; Wed, 14 Oct 2009 20:23:59 +0200 (CEST) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: Tom Tromey , 4698@emacsbugs.donarmstrong.com, Gnus In-Reply-To: (Tom Tromey's message of "Sat, 10 Oct 2009 19:22:54 -0600") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-x.dcc-servers-Metrics: poseidon 104; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69128 Archived-At: On Sun, Oct 11 2009, Tom Tromey wrote: > Emacs changed the default C-l binding to recenter-top-bottom. > However, C-l in the gnus summary buffer is still gnus-recenter, > which just calls recenter. > I think it would be nice if gnus followed the user's setting here. Here's a mostly untested patch: --8<---------------cut here---------------start------------->8--- --- gnus-sum.el 9 Sep 2009 09:31:35 -0000 7.240 +++ gnus-sum.el 14 Oct 2009 18:19:46 -0000 @@ -6722,7 +6725,9 @@ (when (and gnus-auto-center-summary (not (eq gnus-auto-center-summary 'vertical))) (gnus-horizontal-recenter)) - (recenter n)) + (if (fboundp 'recenter-top-bottom) + (recenter-top-bottom n) + (recenter n))) (defun gnus-summary-recenter () "Center point in the summary window. --8<---------------cut here---------------end--------------->8--- Could you please test it for a while and report back? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/