Štěpán Němec <[email protected]> writes: > On Wed, 12 Oct 2011 13:26:00 +0200 > Harry Putnam wrote: > >> Tassilo Horn <[email protected]> writes: >> >>> This should do the trick: >>> >>> (define-key gnus-summary-mode-map (kbd ">") 'gnus-summary-show-thread) >>> (define-key gnus-summary-mode-map (kbd "<") 'gnus-summary-hide-thread) >> >> AFter loading this, it does not work for me. I suspect something is >> blocking it somehow. All I see is a cursor move left or right. >> >> Can you think of anything that could do that? >> >> These are the control sequences I see by pressing (on a terminal >> cmdline): >> >> Ctrl-v left arrow: ^[[D >> Ctrl-v right arrow: ^[[C >> >> Viewing lossage in emacs shows: <left> <right> > > ">" is "greater than" (ASCII 0x3e), not the right cursor key. If you > want the latter, use (kbd "<right>") or [right]. Similarly for "<".
OK, now it works. But just for the record using this format does not work for me: (define-key gnus-summary-mode-map (kbd "[right]") 'gnus-summary-show-thread) (define-key gnus-summary-mode-map (kbd "[left]") 'gnus-summary-hide-thread) Whereas, this does: (define-key gnus-summary-mode-map (kbd "<right>") 'gnus-summary-show-thread) (define-key gnus-summary-mode-map (kbd "<left>") 'gnus-summary-hide-thread) Thanks. So those other fellows using <> must have different output from those keys than I do eh? _______________________________________________ info-gnus-english mailing list [email protected] https://lists.gnu.org/mailman/listinfo/info-gnus-english
