[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog mail/rmailsum.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog mail/rmailsum.el |
Date: |
Wed, 02 Dec 2009 03:05:18 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 09/12/02 03:05:17
Modified files:
lisp : ChangeLog
lisp/mail : rmailsum.el
Log message:
Replace all pop-to-buffer calls with rmail-pop-to-buffer, to prevent
horizontal splits.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16796&r2=1.16797
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mail/rmailsum.el?cvsroot=emacs&r1=1.183&r2=1.184
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16796
retrieving revision 1.16797
diff -u -b -r1.16796 -r1.16797
--- ChangeLog 2 Dec 2009 03:04:43 -0000 1.16796
+++ ChangeLog 2 Dec 2009 03:05:14 -0000 1.16797
@@ -2,6 +2,8 @@
* mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
(rmail-select-summary): Use rmail-pop-to-buffer.
+ * mail/rmailsum.el: Replace all pop-to-buffer calls with
+ rmail-pop-to-buffer, to prevent horizontal splits.
* calendar/diary-lib.el (diary-list-entries): Replace superfluous
save-excursion with save-current-buffer.
Index: mail/rmailsum.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/rmailsum.el,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -b -r1.183 -r1.184
--- mail/rmailsum.el 7 Nov 2009 18:09:10 -0000 1.183
+++ mail/rmailsum.el 2 Dec 2009 03:05:17 -0000 1.184
@@ -230,13 +230,13 @@
(progn
(split-window (selected-window) rmail-summary-window-size)
(select-window (next-window (frame-first-window)))
- (pop-to-buffer rmail-summary-buffer)
+ (rmail-pop-to-buffer rmail-summary-buffer)
;; If pop-to-buffer did not use that window, delete that
;; window. (This can happen if it uses another frame.)
(if (not (eq rmail-summary-buffer
(window-buffer (frame-first-window))))
(delete-other-windows)))
- (pop-to-buffer rmail-summary-buffer))
+ (rmail-pop-to-buffer rmail-summary-buffer))
(set-buffer rmail-buffer)
;; This is how rmail makes the summary buffer reappear.
;; We do this here to make the window the proper size.
@@ -796,12 +796,12 @@
(rmail-summary-goto-msg)
(if rmail-enable-mime
(set-buffer rmail-buffer)
- (pop-to-buffer rmail-buffer))
+ (rmail-pop-to-buffer rmail-buffer))
(and (rmail-message-deleted-p rmail-current-message)
(rmail-undelete-previous-message))
(if rmail-enable-mime
- (pop-to-buffer rmail-buffer))
- (pop-to-buffer rmail-summary-buffer))
+ (rmail-pop-to-buffer rmail-buffer))
+ (rmail-pop-to-buffer rmail-summary-buffer))
(t (goto-char opoint))))))
(defun rmail-summary-undelete-many (&optional n)
@@ -1234,7 +1234,7 @@
(unless skip-rmail
(let ((selwin (selected-window)))
(unwind-protect
- (progn (pop-to-buffer buf)
+ (progn (rmail-pop-to-buffer buf)
(rmail-show-message n))
(select-window selwin)
;; The actions above can alter the current buffer. Preserve it.
@@ -1333,12 +1333,12 @@
(let ((buffer rmail-buffer))
(split-window (selected-window) rmail-summary-window-size)
(select-window (frame-first-window))
- (pop-to-buffer rmail-buffer)
+ (rmail-pop-to-buffer rmail-buffer)
;; If pop-to-buffer did not use that window, delete that
;; window. (This can happen if it uses another frame.)
(or (eq buffer (window-buffer (next-window (frame-first-window))))
(delete-other-windows)))
- (pop-to-buffer rmail-buffer))
+ (rmail-pop-to-buffer rmail-buffer))
(cond
((eq where 'BEG)
(goto-char (point-min))
@@ -1347,7 +1347,7 @@
(goto-char (point-max))
(recenter (1- (window-height))))
)
- (pop-to-buffer rmail-summary-buffer))
+ (rmail-pop-to-buffer rmail-summary-buffer))
(defun rmail-summary-bury ()
"Bury the Rmail buffer and the Rmail summary buffer."
@@ -1376,7 +1376,7 @@
(if (not (eq (selected-window) (next-window nil 'no-minibuf)))
(delete-window))
;; Switch windows to the rmail buffer, or switch to it in this window.
- (pop-to-buffer local-rmail-buffer)))
+ (rmail-pop-to-buffer local-rmail-buffer)))
(defun rmail-summary-expunge ()
"Actually erase all deleted messages and recompute summary headers."
@@ -1417,7 +1417,7 @@
"Run Rmail on file FILENAME."
(interactive "FRun rmail on RMAIL file: ")
;; We switch windows here, then display the other Rmail file there.
- (pop-to-buffer rmail-buffer)
+ (rmail-pop-to-buffer rmail-buffer)
(rmail filename))
(defun rmail-summary-first-message ()
@@ -1450,7 +1450,7 @@
(defun rmail-summary-edit-current-message ()
"Edit the contents of this message."
(interactive)
- (pop-to-buffer rmail-buffer)
+ (rmail-pop-to-buffer rmail-buffer)
(rmail-edit-current-message)
(use-local-map rmail-summary-edit-map))
@@ -1458,14 +1458,14 @@
"Finish editing message, then go back to Rmail summary buffer."
(interactive)
(rmail-cease-edit)
- (pop-to-buffer rmail-summary-buffer))
+ (rmail-pop-to-buffer rmail-summary-buffer))
(defun rmail-summary-abort-edit ()
"Abort edit of current message; restore original contents.
Go back to summary buffer."
(interactive)
(rmail-abort-edit)
- (pop-to-buffer rmail-summary-buffer))
+ (rmail-pop-to-buffer rmail-summary-buffer))
(defun rmail-summary-search-backward (regexp &optional n)
"Show message containing next match for REGEXP.
@@ -1524,7 +1524,7 @@
(selwin (selected-window)))
(unwind-protect
(progn
- (pop-to-buffer rmail-buffer)
+ (rmail-pop-to-buffer rmail-buffer)
(rmail-search regexp n))
(select-window selwin)
(set-buffer buffer))))
@@ -1826,7 +1826,7 @@
(require 'rmailsort)
(let ((selwin (selected-window)))
(unwind-protect
- (progn (pop-to-buffer rmail-buffer)
+ (progn (rmail-pop-to-buffer rmail-buffer)
(funcall sortfun reverse))
(select-window selwin))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/lisp ChangeLog mail/rmailsum.el,
Glenn Morris <=