From: Didier Verna <verna@inf.enst.fr>
Subject: Re: Group Line Specification Problem
Date: 16 Oct 1998 12:08:26 +0200 [thread overview]
Message-ID: <qyj3e8o4y5h.fsf@metheny.enst.fr> (raw)
In-Reply-To: Jean-Yves Perrier's message of "16 Oct 1998 11:51:08 +0200"
Jean-Yves Perrier <perrier@nagra-kudelski.ch> writes:
> Ok,
>
> I'm now trying to write a specific function to do this kind of unindent. In
> order to do that I need to know the current indent on a group line.
>
> I've tried to play with gnus-topic-group-indentation,
> gnus-group-group-indentation, but I didn't succeed.
I faced the problem of Topic indentation too, and the only thing I
found to take it into account was to use `(current-column)' in my user-defined
function. Here it is. It's very stupid, but enough for my own use. What would
be nice is to have something like a `flush' post-processing command, to flush
everything after it on the right of the window.
;; This is to flush the output to the right (a constant column).
(defun gnus-user-format-function-g (dummy)
(let ((length (- (current-fill-column) 15 (current-column))))
(if (<= length 0)
" "
(make-string length ? ))
))
--
/ / _ _ Didier Verna http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:verna@inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19
next prev parent reply other threads:[~1998-10-16 10:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-15 15:22 Jean-Yves Perrier
1998-10-16 9:51 ` Jean-Yves Perrier
1998-10-16 10:08 ` Didier Verna [this message]
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=qyj3e8o4y5h.fsf@metheny.enst.fr \
--to=verna@inf.enst.fr \
/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).