From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59869 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.gnus.general Subject: Re: gnus-carpal-mode and mouse-autoselect-window Date: Mon, 21 Feb 2005 16:09:07 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108998488 14143 80.91.229.2 (21 Feb 2005 15:08:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 15:08:08 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Ding List Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Mon Feb 21 16:08:08 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3F9a-00036C-4W for gebp-emacs-pretest-bug@gmane.org; Mon, 21 Feb 2005 16:07:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3FQY-0001zJ-1G for gebp-emacs-pretest-bug@gmane.org; Mon, 21 Feb 2005 10:24:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3FPo-0001RC-1H for emacs-pretest-bug@gnu.org; Mon, 21 Feb 2005 10:24:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3FPk-0001PS-MR for emacs-pretest-bug@gnu.org; Mon, 21 Feb 2005 10:24:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3FPk-0001PC-JE for emacs-pretest-bug@gnu.org; Mon, 21 Feb 2005 10:24:00 -0500 Original-Received: from [134.60.1.1] (helo=mail.uni-ulm.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D3FBP-0004kg-3c for emacs-pretest-bug@gnu.org; Mon, 21 Feb 2005 10:09:11 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.3/8.13.3) with ESMTP id j1LF97XM002934; Mon, 21 Feb 2005 16:09:07 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 7B1411C169; Mon, 21 Feb 2005 16:09:07 +0100 (CET) Mail-Followup-To: Klaus Zeitler , Ding List , emacs-pretest-bug@gnu.org Original-To: Klaus Zeitler X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev In-Reply-To: (Klaus Zeitler's message of "Fri, 18 Feb 2005 10:42:58 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DCC-neonova-Metrics: procyon 1127; Body=3 Fuz1=3 Fuz2=3 X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: emacs-pretest-bug.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org X-MailScanner-To: gebp-emacs-pretest-bug@gmane.org Xref: main.gmane.org gmane.emacs.pretest.bugs:5936 gmane.emacs.gnus.general:59869 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59869 On Fri, Feb 18 2005, Klaus Zeitler wrote: > gnus-carpal-mode has a little annoyance when mouse-autoselect-window is set. > Whenever I switch to the carpal window to press one of the buttons, emacs > automatically scrolls the carpal buffer to the end. This happens only when I > set mouse-autoselect-window to t. > I've added > (goto-char (point-min)) > as the last line to gnus-carpal-setup-buffer and now it works fine. I don't use gnus-carpal-mode normally. I couldn't see any difference in the behavior with or without this patch[1]: --8<---------------cut here---------------start------------->8--- --- gnus-salt.el 19 Sep 2004 21:20:09 +0200 7.6 +++ gnus-salt.el 21 Feb 2005 15:55:26 +0100 @@ -1042,7 +1042,7 @@ (let ((fill-column (- (window-width) 2))) (fill-region (point-min) (point-max))) (set-window-point (get-buffer-window (current-buffer)) - (point-min))))))) + (goto-char (point-min)))))))) (defun gnus-carpal-select () "Select the button under point." --8<---------------cut here---------------end--------------->8--- Or did you mean to add (goto-char (point-min)) _after_ the `if' clause? But I saw some strange display problem: After scrolling down in the Carpal Summary buffer with , I get... --8<---------------cut here---------------start------------->8--- mark read tick clear expirable move scroll next-unread prev-unread first best article headers uudecode enter-digest fetch-parent mail move copy respool article headers uudecode enter-digest fetch-parent mail move copy respool --8<---------------cut here---------------end--------------->8--- ... (note the duplicated line) instead of... --8<---------------cut here---------------start------------->8--- mark read tick clear expirable move scroll next-unread prev-unread first best article headers uudecode enter-digest fetch-parent mail move copy respool threads lower kill post post local mail followup reply cancel misc exit fed-up --8<---------------cut here---------------end--------------->8--- Bye, Reiner. [1] With... (setq mouse-autoselect-window t gnus-carpal t) -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/