From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andy Sawyer Newsgroups: gmane.emacs.help Subject: Re: define-key .. whats wrong here? Date: Fri, 27 Jun 2003 09:48:23 GMT Organization: International Rescue Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056709615 23613 80.91.224.249 (27 Jun 2003 10:26:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2003 10:26:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 27 12:26:52 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VqRP-00068T-00 for ; Fri, 27 Jun 2003 12:26:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Vps5-00029t-GM for gnu-help-gnu-emacs@m.gmane.org; Fri, 27 Jun 2003 05:50:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.telebyte.nl!newshub1.home.nl!home.nl!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-text.cableinet.net.POSTED!a06d9acc!not-for-mail User-Agent: GNUS/XEmacs X-Face: 42Hn/fXjnx=kF5rNLj5)x7OM+-gqu*;\h"^gD}VRl+K; $lVi/s G&,r!F_f>a[0&]+'}`%vo'"3d}U^Z5z`M(n2G5T(,,mQeJNx~tsLDO_BBpjH4?c~A`qi)*k7fq!W4| wZFKeB/=gY(kb0O=0!m?,`to)l;_Ux%)L List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11271 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11271 In article , on Thu, 26 Jun 2003 18:01:17 -0700, Harry Putnam wrote: > Harry Putnam writes: > > > (fset 'sendto_spam1 > > [?M ?P ?b ?B ?m ?\C-a ?\C-k ?n ?n ?m ?l ?: ?s ?p ?a ?m ?1 return]) > > (define-key gnus-summary-mode-map "\C-ss" 'send2_spam1) Is this.....................................^^ the problem? > But I cleaned that up by redoing the macro renaming and reinserting > in .gnus.el. Then a full restart. Still pressing > C-h k C-c s In summary mode shows that emacs doesn't know > about this keyboard definition It appears to me that you've bound the macro to C-s s (not C-c s) - or am I missing something really obvious? > However C-h w sendto_spam1 is known and reports the key binding as > C-c s. Are you sure? Regards, Andy -- "Light thinks it travels faster than anything but it is wrong. No matter how fast light travels it finds the darkness has always got there first, and is waiting for it." -- Terry Pratchett, Reaper Man