Article View: gnu.emacs.vm.bug
Article #9265vm-mail-other-window
From: Joe Wells
Date: Sun, 09 Feb 1992 04:32
Date: Sun, 09 Feb 1992 04:32
29 lines
1381 bytes
1381 bytes
Please add this:
(defun vm-mail-other-window ()
"Like `vm-mail' command, but display mail buffer in another window."
(interactive)
(let ((pop-up-windows t))
(pop-to-buffer " *dummy-mail*"))
(vm-mail))
This way, we have something useful to put on "C-x 4 m".
Also, please add something like this:
(defvar vm-mail-rebind-keys t
"If t, VM will replace mail and mail-other-window in the keymaps.")
(cond (vm-mail-rebind-keys
(if (eq 'mail (lookup-key ctl-x-map "m"))
(define-key ctl-x-map "m" 'vm-mail))
(if (eq 'mail-other-window (lookup-key ctl-x-4-map "m"))
(define-key ctl-x-4-map "m" 'vm-mail-other-window))))
Then we wouldn't have to bother to do the key rebinding ourselves.
--
Thanks,
Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
Technical Details
Message-ID:
<JBW.92Feb8233242@bigbird.bu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!bu2.bu.edu!bu.edu!nntp-read!jbwShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,e347c7658c39e74c,start X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1992-02-08 20:53:14 PST Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!bu2.bu.edu!bu.edu!nntp-read!jbw From: jbw@bigbird.bu.edu (Joe Wells) Newsgroups: gnu.emacs.vm.bug Subject: vm-mail-other-window Message-ID: <JBW.92Feb8233242@bigbird.bu.edu> Date: 9 Feb 92 04:32:42 GMT Sender: news@bu.edu Organization: Boston University Computer Science Department Lines: 29