From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15631 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: Inserting attribution at a better point Date: 15 Jul 1998 12:08:02 +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.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154628 23179 80.91.224.250 (20 Oct 2002 22:57:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:57:08 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.1/8.9.1) with ESMTP id DAA10241 for ; Wed, 15 Jul 1998 03:12:41 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id GAA12402 for ; Wed, 15 Jul 1998 06:09:28 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id EAT28394; Wed, 15 Jul 1998 04:43:11 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 15 Jul 1998 05:08:44 -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 FAA25509 for ; Wed, 15 Jul 1998 05:08:31 -0500 (CDT) Original-Received: from waldorf.informatik.uni-dortmund.de (waldorf.informatik.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA03266 for ; Wed, 15 Jul 1998 06:08:20 -0400 (EDT) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.informatik.uni-dortmund.de [129.217.20.180]) by waldorf.informatik.uni-dortmund.de with SMTP id MAA25010; Wed, 15 Jul 1998 12:08:05 +0200 (MES) Original-Received: by ramses.informatik.uni-dortmund.de id MAA23738; Wed, 15 Jul 1998 12:08:04 +0200 Original-To: Justin Sheehy In-Reply-To: Justin Sheehy's message of "14 Jul 1998 17:02:40 -0400" Original-Lines: 31 X-Mailer: Gnus v5.6.23/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15631 >>>>> Kai Grossjohann writes: > Okay, but WIBNI Gnus provided some support for this style, too? >>>>> Justin Sheehy writes: > Enh. What would you propose that it do? I'd like a command `label this region with Lars'. This should add an attribution line stating that Lars said the following, and the region should be massaged to a standard citation style, such as the one you see above. For the latter part, I have cooked up the following function: (defun kai-message-unnest-citation (b e) "Retain one level of citation in the region." (interactive "r") (save-restriction (narrow-to-region b e) (goto-char (point-min)) (while (re-search-forward "^ *\\([>:|] *\\)+" nil t) (replace-match " > ") (forward-line 1)))) But the part that labels it with Lars' name is still missing. kai -- You ate somebody? -- Just a leg. -- That's terrible! -- Not with mustard. (Terry Pratchett: Interesting Times)