bug-gnu-emacs
[Top][All Lists]
Advanced

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

21.1: mh-e folder mode displayed incorrectly


From: Kevin Layer
Subject: 21.1: mh-e folder mode displayed incorrectly
Date: Tue, 23 Oct 2001 07:49:46 -0700

In my switch to 21.1 I noticed that folder mode in mh-e was placing
the displayed message summary at the bottom of my 3 line buffer.  It
used to be in the middle.  After looking at it the old way for 15
years, it was driving me crazy.  

I don't know if this is a bug in mh-utils.el or the function recenter,
but if I change the following

(defun mh-recenter (arg)
  ;; Like recenter but with two improvements: nil arg means recenter,
  ;; and only does anything if the current buffer is in the selected
  ;; window.  (Commands like save-some-buffers can make this false.)
  (if (eq (get-buffer-window (current-buffer))
          (selected-window))
      (recenter (if arg arg '(t)))))

to

(defun mh-recenter (arg)
  ;; Like recenter but with two improvements: nil arg means recenter,
  ;; and only does anything if the current buffer is in the selected
  ;; window.  (Commands like save-some-buffers can make this false.)
  (if (eq (get-buffer-window (current-buffer))
          (selected-window))
      (recenter (if arg arg t))))

I get the old and correct behavior.

It appears that recenter isn't behaving the same, and I don't if this
was intentional or not.

Kevin



reply via email to

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