Gnus development mailing list
 help / color / mirror / Atom feed
From: Arcady Genkin <a.genkin@utoronto.ca>
Subject: [gnu.emacs.sources] gnus-easy-threading.el
Date: 21 Apr 2000 16:09:02 -0400	[thread overview]
Message-ID: <87hfcvgqsh.fsf@tea.thpoon.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

While Lars is hacking at gnus, I would like to suggest adding this
code which I found in gnu.emacs.sources. I have been using it from my
.gnus and have been very happy with it. ;^)


[-- Attachment #2: Type: message/rfc822, Size: 1485 bytes --]

From: Ingo Ruhnke <grumbel@gmx.de>
Subject: gnus-easy-threading.el
Date: 30 Mar 2000 01:14:21 +0200
Message-ID: <do2ub8.68i.ln@grumbel.subdomain.de>

Hi,

this is just a micro addition to the keybindings. It enables you to
browse threads in Gnus with the cursor keys in a IMHO very intuitive
way. 

;; Set some easier keybindings to make browsing more intuitive

(defun my-gnus-summary-show-thread ()
  "Show thread without changing cursor positon."
  (interactive)
  (gnus-summary-show-thread)
  (beginning-of-line)
  (forward-char 1))

(define-key gnus-summary-mode-map [(right)] 'my-gnus-summary-show-thread)
(define-key gnus-summary-mode-map [(left)]  'gnus-summary-hide-thread)

(setq gnus-thread-hide-subtree t)

;; EOF ;;

-- 
ICQ: 59461927                                    http://pingus.seul.org | 
Ingo Ruhnke <grumbel@gmx.de>             http://home.pages.de/~grumbel/ |
------------------------------------------------------------------------'

[-- Attachment #3: Type: text/plain, Size: 751 bytes --]


And similar code for topics:

From: Dick Knowles <knowles@averstar.com>
Subject: Re: gnus-easy-threading.el
Newsgroups: gnu.emacs.sources
Date: Fri Mar 31 14:06:13 2000 -0500
Organization: Intermetrics, Inc.

Taking my lead from Ingo's threading code, I made some for topic mode:

(defun my-gnus-topic-show-topic ()
  "Show the hidden topic."
  (interactive)
  (if (gnus-group-topic-p)
      (gnus-topic-show-topic)
    (gnus-topic-read-group)))

(add-hook 
 'gnus-started-hook
 '(lambda ()
    (define-key gnus-topic-mode-map [(right)] 'my-gnus-topic-show-topic)
    (define-key gnus-topic-mode-map [(left)]  'gnus-topic-hide-topic)
    ))

-- 
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.

             reply	other threads:[~2000-04-21 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-21 20:09 Arcady Genkin [this message]
2000-04-22 11:15 ` Lars Magne Ingebrigtsen
2000-04-22 13:13   ` Arcady Genkin
2000-04-22 13:48     ` Lars Magne Ingebrigtsen
2000-04-22 14:02       ` Arcady Genkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hfcvgqsh.fsf@tea.thpoon.com \
    --to=a.genkin@utoronto.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).