From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [tassilo@member.fsf.org: Weird article scrolling in Gnus with customized face] Date: Wed, 25 Oct 2006 21:57:24 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161806374 31597 80.91.229.2 (25 Oct 2006 19:59:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Oct 2006 19:59:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 25 21:59:26 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcouH-0003Rr-Fj for ged-emacs-devel@m.gmane.org; Wed, 25 Oct 2006 21:59:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcouH-0007Qp-50 for ged-emacs-devel@m.gmane.org; Wed, 25 Oct 2006 15:59:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcotA-0006wz-2I for emacs-devel@gnu.org; Wed, 25 Oct 2006 15:58:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gcot8-0006wY-Nl for emacs-devel@gnu.org; Wed, 25 Oct 2006 15:58:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gcot8-0006wS-Ge for emacs-devel@gnu.org; Wed, 25 Oct 2006 15:58:10 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gcot3-00005l-M0; Wed, 25 Oct 2006 15:58:06 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 1B47F8A0005; Wed, 25 Oct 2006 21:58:03 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed\, 25 Oct 2006 14\:02\:10 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61170 Archived-At: Richard Stallman writes: > Would someone please fix this and ack? The problem could be that the last line is only partially visible, and we have a complex/messy piece of code to handle this in the redisplay code by recenting point. If that is the case, I would DEFINITELY NOT try to fix this before the release, at the risk of making even bigger problems in other cases. > > From: Tassilo Horn > Subject: Weird article scrolling in Gnus with customized face > To: emacs-pretest-bug@gnu.org > Date: Tue, 24 Oct 2006 18:03:21 +0200 > > Ok, I start up Gnus. Now, if I view an article by hitting RET > (`gnus-summary-scroll-up') on it in *Summary*, I get the following > behavior: > > - as long as there are visible headers (Subject, From, etc.) on top of > the buffer, pressing RET scrolls exactly one line as it should be. > > - when the last visible header scrolled out of the visible buffer part > pressing RET results in scrolling one entire page like SPACE > (`gnus-summary-next-page') does. > > - the same applies to M-RET > > I tried it on a test account, and all worked fine. But I was able to > locate the source of the problem: One customized face is causing the > trouble! > > (custom-set-faces > '(mode-line ((((class color) (min-colors 88)) (:background "darkred" :foreground "grey" :box (:line-width 1 :style released-button) :height 0.8 :family "helvetica"))))) > > If I commend out this line, scrolling works as it should. With this line > I can reproduce the bug in both No Gnus and 5-11. > > > In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6) > of 2006-10-24 on baldur > X server distributor `The X.Org Foundation', version 11.0.70101000 > configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=.emacs-22.0.50' '--without-carbon' '--with-x' '--with-xpm' '--with-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=gtk' '--build=i686-pc-linux-gnu' 'CFLAGS=-O2' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu'' > > Important settings: > value of $LC_ALL: de_DE.utf8 > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: de_DE.utf8 > locale-coding-system: utf-8 > default-enable-multibyte-characters: t > > Major mode: Emacs-Lisp > > Minor modes in effect: > eldoc-mode: t > recentf-mode: t > desktop-save-mode: t > show-paren-mode: t > semantic-idle-scheduler-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > unify-8859-on-encoding-mode: t > utf-translate-cjk-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > abbrev-mode: t > > Recent input: > y n y w a y s . C-x 1 > > > > > C-c C-c y q l s C-x 1 C-x b > C-x C-s > M-x e m b u g > r e p p o > r b > > Recent messages: > Deleting article /home/heimdall/News/drafts/drafts/3 in drafts... > No more unread newsgroups > Wrote /home/heimdall/.newsrc > Saving /home/heimdall/.newsrc.eld... > Saving file /home/heimdall/.newsrc.eld... > Wrote /home/heimdall/.newsrc.eld > Saving /home/heimdall/.newsrc.eld...done > (No changes need to be saved) > Making completion list... [4 times] > Loading emacsbug...done > > > _______________________________________________ > emacs-pretest-bug mailing list > emacs-pretest-bug@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug > ---------- > -- Kim F. Storm http://www.cua.dk