emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customized mode-line face interfers with gnus keybinding


From: Darren Hoo
Subject: Re: customized mode-line face interfers with gnus keybinding
Date: Sun, 20 Feb 2011 02:13:18 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> customize face mode-line as following
>
> (custom-set-faces
>  '(mode-line ((t (:box (:line-width 1 :style released-button))))))
>
> Then in Gnus's Summary buffer hitting RET will scroll down the 
> article one page as SPC does instead of one line down, while M-RET
> is ok(one line scrollup).
>

I have reported the bug to address@hidden by M-x gnus-bug, but I am not
sure where it goes. 

Anyway, a patch to fix this follows, Hope gnus developers will look 
into this minor problem.

temporalily disable auto vscroll when doing a scroll-up

diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 533b010..19eee78 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -6322,7 +6322,8 @@ specifies."
 
 (defun gnus-article-next-page-1 (lines)
   (condition-case ()
-      (let ((scroll-in-place nil))
+      (let ((scroll-in-place nil)
+           (auto-window-vscroll nil))
        (scroll-up lines))
     (end-of-buffer
      ;; Long lines may cause an end-of-buffer error.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]