all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: define-key .. whats wrong here?
Date: Thu, 26 Jun 2003 18:01:17 -0700	[thread overview]
Message-ID: <m3n0g4z63m.fsf@newsguy.com> (raw)
In-Reply-To: m33chwtkfp.fsf@newsguy.com

Harry Putnam <reader@newsguy.com> writes:

>>From .gnus.el
>   (fset 'delall 
>      [?M ?P ?b ?B backspace ?y]) 
>    (define-key gnus-summary-mode-map "D" 'delall) 
>
>   (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) 

Looked like it might just be a stupid naming error
sendto != send2

But I cleaned that up by redoing the macro renaming and reinserting
in .gnus.el.  Then a full restart.  Still pressing 
C-h k <RET>C-c s<RET> In summary mode shows that emacs doesn't know
about this keyboard definition

However C-h w sendto_spam1 is known and reports the key binding as 
C-c s.  Also M-x sendto_spam1 runs the macro.

  reply	other threads:[~2003-06-27  1:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-27  0:48 define-key .. whats wrong here? Harry Putnam
2003-06-27  1:01 ` Harry Putnam [this message]
     [not found] ` <mailman.8724.1056675775.21513.help-gnu-emacs@gnu.org>
2003-06-27  9:48   ` Andy Sawyer
2003-07-01  7:30     ` Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3n0g4z63m.fsf@newsguy.com \
    --to=reader@newsguy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.