From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.bugs Subject: 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__29725.1844466247$1255546061$gmane$org@marauder.physik.uni-ulm.de> References: Reply-To: Reiner Steib , 4698@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255546061 26911 80.91.229.12 (14 Oct 2009 18:47:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 18:47:41 +0000 (UTC) Cc: 4698@emacsbugs.donarmstrong.com, ding@gnus.org To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 20:47:28 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1My8sf-0006Pn-JW for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 20:47:25 +0200 Original-Received: from localhost ([127.0.0.1]:37433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My8se-0004rc-Qn for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 14:47:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My8sZ-0004pl-1J for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 14:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My8sU-0004m4-CT for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 14:47:18 -0400 Original-Received: from [199.232.76.173] (port=59558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My8sU-0004lz-Ah for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 14:47:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59012) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1My8sT-00050d-Ni for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 14:47:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9EIlAjJ014998; Wed, 14 Oct 2009 11:47:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9EIU4Xv012491; Wed, 14 Oct 2009 11:30:04 -0700 Resent-Date: Wed, 14 Oct 2009 11:30:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Reiner Steib Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 14 Oct 2009 18:30:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4698 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4698-submit@emacsbugs.donarmstrong.com id=B4698.125554464611708 (code B ref 4698); Wed, 14 Oct 2009 18:30:04 +0000 Original-Received: (at 4698) by emacsbugs.donarmstrong.com; 14 Oct 2009 18:24:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.uni-ulm.de (mail.uni-ulm.de [134.60.1.11]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9EIO3jn011705 for <4698@emacsbugs.donarmstrong.com>; Wed, 14 Oct 2009 11:24:05 -0700 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-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 14 Oct 2009 14:47:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31933 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/