From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40541 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: bulleting and numbering paragraphs in messages Date: 26 Nov 2001 17:05:32 +0000 Organization: Citrix Systems Sender: owner-ding@hpc.uh.edu Message-ID: References: <871yimplbi.fsf@tea.thpoon.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176076 1493 80.91.224.250 (21 Oct 2002 04:54:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:54:36 +0000 (UTC) Return-Path: Original-Received: (qmail 14560 invoked from network); 26 Nov 2001 17:07:41 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 26 Nov 2001 17:07:41 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 168PCj-00028G-00; Mon, 26 Nov 2001 11:06:01 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 26 Nov 2001 11:05:46 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA20306 for ; Mon, 26 Nov 2001 11:05:33 -0600 (CST) Original-Received: (qmail 14525 invoked by alias); 26 Nov 2001 17:05:42 -0000 Original-Received: (qmail 14520 invoked from network); 26 Nov 2001 17:05:42 -0000 Original-Received: from gatekeeper.ctxuk.citrix.com (root@195.153.38.114) by gnus.org with SMTP; 26 Nov 2001 17:05:42 -0000 Original-Received: from sh.ctxuk.citrix.com (sh.ctxuk.citrix.com [10.30.224.4]) by gatekeeper.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id RAA11443 for ; Mon, 26 Nov 2001 17:05:40 GMT Original-Received: from uk1mailscan01 (uk1mailscan01.ctxuk.citrix.com [10.30.224.37]) by sh.ctxuk.citrix.com (8.8.7/BSCF-1.7) with SMTP id RAA27966 for ; Mon, 26 Nov 2001 17:05:39 GMT Original-Received: from 10.30.224.101 by uk1mailscan01 (InterScan E-Mail VirusWall NT); Mon, 26 Nov 2001 17:05:39 -0000 Original-Received: by hwexch01.ctxuk.citrix.com with Internet Mail Service (5.5.2653.19) id ; Mon, 26 Nov 2001 17:05:39 -0000 Original-Received: from suilven.cam.eu.citrix.com ([10.70.128.164]) by hwexch01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XHN73NLL; Mon, 26 Nov 2001 17:05:33 -0000 Original-To: The Gnus Mailing List Original-Lines: 53 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-Face: wqk-$Z5Z X-Message-Flag: If you want to be ruined, marry a rich woman. -- Michelet Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40541 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40541 0> In article <871yimplbi.fsf@tea.thpoon.com>, 0> Arcady Genkin ("Arcady") wrote: Arcady> Is there any automation available for indenting bulleted/numbered Arcady> paragraphs when composing a message? Filladapt (though you have to write the bullet or number yourself - it can't do auto-numbering for you). For messages, I have (setq paragraph-separate (concat "^" (regexp-quote mail-header-separator) "$" "\\|-- $\\|[ ]*[-_][-_][-_]+$\\|[ \t\C-l]*$" "\\|^[ >]*>\\s-*$\\|[A-Za-z0-9][^'`\"< \t\n]*>\\s-*$")) (setq paragraph-start paragraph-separate) (set (make-local-variable 'filladapt-token-table) '( ;; this must be first ("^" beginning-of-line) ;; Blank (magic) lines ("--text follows this line--$" end-of-line) ("--\\[\\[\\([^][]\\|\\]\\[\\)*\\]\\]$" end-of-line) ;; Included text in news or mail replies ("[ >]*>" citation->) ;; Included text generated by SUPERCITE. We can't hope to match all ;; the possible variations, your mileage may vary. ("[A-Za-z0-9][^'`\"< \t\n]*>[ \t]*" supercite-citation) ("[#=]+>[ \t]*" supercite-citation) ;; Boxquote ("|" citation->) ;; "root" (authoritative) quotes ("#+>?" sh-comment) ;; RFC-822 headers are kind-of hanging ("^[A-Z][-A-Za-z0-9]+:[ \t]+" bullet) ;; Hanging lists; see filladapt.el ("[A-Za-z]\\.[ \t]+" bullet) ("(?[A-Za-z])[ \t]+" bullet) ("[0-9]+[A-Za-z]?\\.[ \t]+" bullet) ("(?[0-9]+[A-Za-z]?)[ \t]+" bullet) ("\\[[0-9]+[A-Za-z]?\\][ \t]" bullet) ("X?X?\\(X\\|I[XV]\\|V\\|V?I\\(\\|I\\(\\|I\\)?\\)?\\)\\.[ \t]+" bullet) ("x?x?\\(x\\|i[xv]\\|v\\|v?i\\(\\|i\\(\\|i\\)?\\)?\\)\\.[ \t]+" bullet) ("\\[[-~*+#!]\\][ \t]+" bullet) ("[-~*+]+[ \t]+" bullet) ("o[ \t]+" bullet) ("[ \t]*\\[\\Sw\\][ \t] +" bullet) ("N\\.?B\\.?:?[ \t]" bullet) ("[?!~*+--- ]+[ \t]" bullet) ;; don't touch ("[ \t]+" space) ("$" end-of-line) ))