From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9594 Path: news.gmane.org!not-for-mail From: imputerate Newsgroups: gmane.emacs.gnus.user Subject: Re: .emacs keybindings in gnus Date: Wed, 29 Aug 2007 09:16:23 -0000 Organization: http://groups.google.com Message-ID: <1188378983.446164.138940@o80g2000hse.googlegroups.com> References: <1188273243.137944.275310@w3g2000hsg.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1188380564 12312 80.91.229.10 (29 Aug 2007 09:42:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 09:42:44 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Aug 29 11:47:14 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1IQK8l-0002YW-O7 for gegu-info-gnus-english@m.gmane.org; Wed, 29 Aug 2007 11:47:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQK4I-0001ej-VN for gegu-info-gnus-english@m.gmane.org; Wed, 29 Aug 2007 05:42:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o80g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 44 Original-NNTP-Posting-Host: 98.197.143.11 Original-X-Trace: posting.google.com 1188378983 7168 127.0.0.1 (29 Aug 2007 09:16:23 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 29 Aug 2007 09:16:23 +0000 (UTC) In-Reply-To: <1188273243.137944.275310@w3g2000hsg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o80g2000hse.googlegroups.com; posting-host=98.197.143.11; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79795 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9594 Archived-At: briefly, the answer is to omit the word gnus- from the code placed in .gnus.el in my .gnus.el file, i changed a line from: (add-hook 'gnus-message-mode-hook line to: (add-hook 'message-mode-hook so now the section of my .gnus.el file which forces gnus to accept key bindings from my .emacs file is: (add-hook 'gnus-summary-mode-hook (lambda () (local-set-key (kbd "\ei") 'previous-line))) (add-hook 'gnus-summary-mode-hook (lambda () (local-set-key (kbd "\en") 'next-line))) ;; instead of 'gnus-message-mode- hook \ (add-hook 'message-mode-hook (lambda () (local-set-key (kbd "\en") 'next-line))) (add-hook 'message-mode-hook (lambda () (local-set-key (kbd "\e;") 'end-of-line))) i left the summary-mode lines as is, since they work, and as they say, "if it works..." similarly; (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) ;;instead of 'gnus-message-mode- hook (add-hook 'message-mode-hook 'paragraph-indent-minor-mode) the lesson to be taken from all this is that the "'gnus" should be omitted when one is configuring the .gnus.el file; now how about getting customized key bindings to work in X, and X apps, like browsers?