Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: emacs-pretest-bug@gnu.org, Ding List <ding@gnus.org>
Subject: Re: gnus-carpal-mode and mouse-autoselect-window
Date: Mon, 21 Feb 2005 16:09:07 +0100	[thread overview]
Message-ID: <v9k6p2x84s.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <q5gekfep5jx.fsf@lucent.com> (Klaus Zeitler's message of "Fri, 18 Feb 2005 10:42:58 +0100")

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 <mouse-5>, 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/

  reply	other threads:[~2005-02-21 15:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-18  9:42 Klaus Zeitler
2005-02-21 15:09 ` Reiner Steib [this message]
2005-02-24 13:16   ` Klaus Zeitler
2005-02-24 21:02     ` Reiner Steib
2005-03-30 11:01       ` Klaus Zeitler
2005-04-04  6:18         ` Richard Stallman
2005-02-25  9:47     ` Kim F. Storm
2005-03-07 15:07       ` Klaus Zeitler
2005-03-07 19:03         ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9k6p2x84s.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).