From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5666 Path: main.gmane.org!not-for-mail From: dhall@illusion.apk.net (d. hall) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-*-mail Date: 22 Mar 1996 16:46:42 -0500 Organization: // =?ISO-8859-1?Q?Vi=27R=E2ge=5FStudios?= Message-ID: References: <9603221933.AA08769@lemming.engeast> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.43) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035146237 997 80.91.224.250 (20 Oct 2002 20:37:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:37:17 +0000 (UTC) Cc: larsi@ifi.uio.no (Lars Magne Ingebrigtsen), ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.3/8.6.9) with SMTP id OAA10355 for ; Fri, 22 Mar 1996 14:09:49 -0800 Original-Received: from illusion.apk.net (dhall@mentor-dial-1.apk.net [206.21.40.30]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Fri, 22 Mar 1996 22:41:19 +0100 Original-Received: (from dhall@localhost) by illusion.apk.net (8.6.12/8.6.9) id QAA00105; Fri, 22 Mar 1996 16:46:43 -0500 Original-To: psmith@BayNetworks.com X-Mailer: September Gnus v0.55/Emacs 19.30 In-Reply-To: "Paul D. Smith"'s message of Fri, 22 Mar 96 14:33:24 EST Original-Lines: 51 Xref: main.gmane.org gmane.emacs.gnus.general:5666 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5666 -----BEGIN PGP SIGNED MESSAGE----- // thus on Fri, 22 Mar 96 14:33:24 EST, Paul virtually wrote: Paul> In the meantime, I wish the news-post buffer had its own keymap, and Paul> that it was inherited from the mail-mode keymap... that would keep me Paul> from having to duplicate all my keybindings in both... Paul this is what I use, maybe it might help you and some other people as well. (add-hook 'mail-mode-hook 'reply-redefine-keymap) (add-hook 'news-reply-mode-hook 'reply-redefine-keymap) (defun reply-redefine-keymap () (let ((mode-map (if (eq major-mode 'mail-mode) mail-mode-map news-reply-mode-map)) (mabbrevs (if (not mail-abbrevs-loaded) (mail-abbrevs-setup) 't))) (define-key mode-map "\C-n" 'mail-abbrev-next-line) (define-key mode-map "\M->" 'mail-abbrev-end-of-buffer) (define-key mode-map "\C-c\C-a" 'mail-interactive-insert-alias) (define-key mode-map "\C-c\C-i" 'ispell-message) (define-key mode-map "\C-c\C-r" 'rebuild-mail-abbrevs) (define-key mode-map "\C-c\C-w" 'mail-insert-signature) (define-key mode-map "\C-c\C-q" 'save-and-kill-buffer) (define-key mode-map "\C-c\C-f\C-t" 'mail-to) (define-key mode-map "\C-c\C-f\C-r" 'mail-reply-to))) This way I can define both to have similar if not equal keymaps that suit their own purposes as well as combine both initializations into one functions therefore allowing me to change both at once. d. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAwUBMVMfaYX26urqpgG1AQEWZAP/cVjzibOJk33QYaSfr9Ts0zCalCepkxFy OIa4vroe3VjOfpZtqxmt/VejC36VZN/MKnxenKPdGwnDGOEjMOMxBvahGfRkqiBG duELLI6tDft2cGAhif6NJoIaXfZ+PGuTdxuzTUmkUf32BUE6tQzNkvxdZ2bVMA5O /YnriGU7iK0= =tUzY -----END PGP SIGNATURE----- -- ``And I miss you... like the deserts miss the rain.'' ~ everything but the girl, missing