Gnus development mailing list
 help / color / mirror / Atom feed
From: Jean-Yves Perrier <perrier@nagra-kudelski.ch>
Subject: Group Line Specification Problem
Date: 15 Oct 1998 17:22:07 +0200	[thread overview]
Message-ID: <yf4d87t97fk.fsf@tom.nagra-kudelski.ch> (raw)

Hello,

I have the following problem:

I want my group buffer to looks like:

[ Gnus -- 0 ]
  [ misc -- 0 ]
*        0: other                    |                    ++++|  (nnml:)
         *: drafts                   |                      ++|  (nndraft:)
  [ Emacs -- 0 ]
    [ Mail/News/AddressBook/Calendar/W3 -- 0 ]
*          0: gnu.emacs.gnus         |          ..............|  (nntp:cachou)
*          0: gnus.dev               |                     +++|  (nnml:)
*          0: bbdb.dev               |                     +++|  (nnml:)
    [ Windoze -- 0 ]
*          0: nt.emacs               |                    ++++|  (nnml:)
  [ OOP -- 0 ]
*        0: oo.gang-of-4-patterns    |                     +++|  (nnml:)

(Don't worry about the . and the +: it is a timestamp histogramm).

I have the following group line definition:
(setq gnus-group-line-format "%M%S%p%P%5y: %(%~(pad-right 25)G%)|%24uz|  %l%z\n")

But this don't take into account the 'folding' of the topic. So I end up with:
[ Gnus -- 0 ]
  [ misc -- 0 ]
*        0: other                    |                    ++++|  (nnml:)
         *: drafts                   |                      ++|  (nndraft:)
  [ Emacs -- 0 ]
    [ Mail/News/AddressBook/Calendar/W3 -- 0 ]
*          0: gnu.emacs.gnus           |          ..............|  (nntp:cachou)
*          0: gnus.dev                 |                     +++|  (nnml:)
*          0: bbdb.dev                 |                     +++|  (nnml:)
    [ Windoze -- 0 ]		       
*          0: nt.emacs                 |                    ++++|  (nnml:)
  [ OOP -- 0 ]
*        0: oo.gang-of-4-patterns    |                     +++|  (nnml:)

				     ^^^
                                     That's the problem.

which I find ugly.

Is there a way, probably in the definition of %(%~(pad-right 25)G%), to take
in account the folding indent?

Best regards,
-- 
Jean-Yves



             reply	other threads:[~1998-10-15 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-15 15:22 Jean-Yves Perrier [this message]
1998-10-16  9:51 ` Jean-Yves Perrier
1998-10-16 10:08   ` Didier Verna
1998-10-16 10:25     ` Jean-Yves Perrier
1998-10-17 21:07   ` Lars Magne Ingebrigtsen

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=yf4d87t97fk.fsf@tom.nagra-kudelski.ch \
    --to=perrier@nagra-kudelski.ch \
    /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).