Gnus development mailing list
 help / color / mirror / Atom feed
From: Bastien <bzg@altern.org>
To: ding@gnus.org
Subject: gnus-group-current-level ?
Date: Thu, 24 Jan 2008 04:54:18 +0000	[thread overview]
Message-ID: <87r6g73jt1.fsf@bzg.ath.cx> (raw)

Hi,

I'm trying to write a function that will fetch the current group level
and increment it by one before redisplaying.  Basically something like
this: 

(define-key gnus-group-mode-map (kbd "C-^") 
            (lambda() (gnus (1+ gnus-group-current-level))))

... but of course, gnus-group-current-level doesn't exist.  Is there a
way around?  Any ideas?

Thanks!

PS: I want to do this because my group levels reflect their importance.
When I process my inboxes, I first check for 1, then 2 [staying in 2 at
work], then 3, etc.  Trying to avoid distraction.

-- 
Bastien



             reply	other threads:[~2008-01-24  4:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24  4:54 Bastien [this message]
2008-01-24  5:37 ` Katsumi Yamaoka

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=87r6g73jt1.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=ding@gnus.org \
    /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).