info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open/close threads with `<' and `>'


From: Harry Putnam
Subject: Re: open/close threads with `<' and `>'
Date: Wed, 12 Oct 2011 10:41:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Štěpán Němec <stepnem@gmail.com> writes:

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]