opensubscriber
   Find in this group all groups
 
Unknown more information…

i : info-gnus-english@gnu.org 12 October 2011 • 11:41PM -0400

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

REPLY TO AUTHOR
 
REPLY TO GROUP




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

> 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 "<".

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
info-gnus-english@gnu....
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.