On Wed, 12 Oct 2011 13:26:00 +0200 Harry Putnam wrote:
> Tassilo Horn <tassilo@memb...> 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 "<".