From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17852 Path: main.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.gnus.general Subject: Re: Group Line Specification Problem Date: 16 Oct 1998 12:08:26 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035156477 2996 80.91.224.250 (20 Oct 2002 23:27:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:27:57 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA28093 for ; Fri, 16 Oct 1998 06:09:30 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB20072; Fri, 16 Oct 1998 05:09:07 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 16 Oct 1998 05:09:07 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id FAA18884 for ; Fri, 16 Oct 1998 05:08:55 -0500 (CDT) Original-Received: from ulysse.enst.fr (d02FqAq0ZnKgc/1SDuFrFkEXLqtmwMKn@inf.enst.fr [137.194.2.81]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA28082 for ; Fri, 16 Oct 1998 06:08:39 -0400 (EDT) Original-Received: from metheny.enst.fr (metheny.enst.fr [137.194.204.4]) by ulysse.enst.fr (8.8.8/8.8.8) with ESMTP id MAA20765 for ; Fri, 16 Oct 1998 12:08:32 +0200 (MET DST) Original-Received: (from verna@localhost) by metheny.enst.fr (8.8.8/8.8.8) id MAA04136; Fri, 16 Oct 1998 12:08:27 +0200 (MET DST) Original-To: Gnus List Mail-Copies-To: never X-Attribution: dv X-Url: http://www-inf.enst.fr/~verna/ In-Reply-To: Jean-Yves Perrier's message of "16 Oct 1998 11:51:08 +0200" X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D C6 X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj 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