Gnus development mailing list
 help / color / mirror / Atom feed
* group params and local-key bindings
@ 1996-12-17  9:05 Wesley.Hardaker
  1996-12-17 16:58 ` Joev Dubach
  0 siblings, 1 reply; 3+ messages in thread
From: Wesley.Hardaker @ 1996-12-17  9:05 UTC (permalink / raw)



never ending group param questions, I know...  

(gnus-summary-mode-map
 (progn
  (define-key gnus-summary-mode-map
    [kp_add]
    'gnus-summary-next-group)
  (define-key gnus-summary-mode-map
    [kp_subtract]
    'gnus-summary-exit)
  gnus-summary-mode-map))

Hmm...  This doesn't work...  Neither does local-set-key...  Help?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: group params and local-key bindings
  1996-12-17  9:05 group params and local-key bindings Wesley.Hardaker
@ 1996-12-17 16:58 ` Joev Dubach
  1996-12-18  8:16   ` Wesley.Hardaker
  0 siblings, 1 reply; 3+ messages in thread
From: Joev Dubach @ 1996-12-17 16:58 UTC (permalink / raw)


Wesley Hardaker <Wesley.Hardaker@sphys.unil.ch> writes:

> Hmm...  This doesn't work...  Neither does local-set-key...  Help?

I'm not sure what the best way to do this is, but this works for me:

(add-hook 'gnus-summary-mode-hook 
	  (function (lambda () (local-set-key "\C-cj"
					      'junk-mail-complain-standard))))

Joev                          <URL:"http://www.fas.harvard.edu/~dubach1/">

  "***Microsoft Visual Basic.
      The Most Popular Choice For Visual Basic Programming.***"
          -- Ben Lima


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: group params and local-key bindings
  1996-12-17 16:58 ` Joev Dubach
@ 1996-12-18  8:16   ` Wesley.Hardaker
  0 siblings, 0 replies; 3+ messages in thread
From: Wesley.Hardaker @ 1996-12-18  8:16 UTC (permalink / raw)


>>>>> "Joev" == Joev Dubach <dubach1@husc.harvard.edu> writes:

Joev> I'm not sure what the best way to do this is, but this works for me:

Joev> (add-hook 'gnus-summary-mode-hook 
Joev> 	  (function (lambda () (local-set-key "\C-cj"
Joev> 					      'junk-mail-complain-standard))))

What you're doing here is adding the key to all the summary buffers.
I'm trying to add it to only the groups under one topic, so I'm using
topic/group parameters to try and accomplish this...  

You shouldn't be doing it this way, actually...  Its faster to do the
following in your .gnus:

(define-key gnus-summary-mode-map "\C-cj" 'junk-mail-complain-standard)

Wes


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-12-18  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-17  9:05 group params and local-key bindings Wesley.Hardaker
1996-12-17 16:58 ` Joev Dubach
1996-12-18  8:16   ` Wesley.Hardaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).