Article View: news.software.readers
Article #125191[Dialog] Feature request: handle bad-quoting
From: Gandalf il Grigio
Date: Tue, 20 May 2003 23:03
Date: Tue, 20 May 2003 23:03
69 lines
4077 bytes
4077 bytes
On it.comp.software.newsreader there's a thread about Xnews and one of
its useful capability: re-wrap OE (or whatever) misbehaviour when quoting
long lines.
I copy'n'paste (from some ini file, I guess):
||| ;; Outlook sometimes wraps cited lines before sending a message as
||| ;; seen in this example:
||| ;;
||| ;; Example #1
||| ;; ----------
||| ;;
||| ;; John Doe wrote:
||| ;;
||| ;; > This sentence no verb. This sentence no verb. This sentence
||| ;; no
||| ;; > verb. This sentence no verb. This sentence no verb. This
||| ;; > sentence no verb.
||| ;;
||| ;; The function `gnus-article-outlook-unwrap-lines' tries to recognize those
||| ;; erroneously wrapped lines and will unwrap them. I.e. putting the
||| ;; wrapped parts ("no" in this example) back where they belong (at the
||| ;; end of the cited line above).
||| ;;
||| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
||| ;;
||| ;; Note that some people not only use broken user agents but also
||| ;; practice a bad citation style by omitting blank lines between the
||| ;; cited text and their own text.
||| ;:
||| ;; Example #2
||| ;; ----------
||| ;;
||| ;; John Doe wrote:
||| ;;
||| ;; > This sentence no verb. This sentence no verb. This sentence no
||| ;; You forgot in all your sentences.
||| ;; > verb. This sentence no verb. This sentence no verb. This
||| ;; > sentence no verb.
||| ;;
||| ;; Unwrapping "You forgot in all your sentences." would be illegal as
||| ;; this part wasn't intended to be cited text.
||| ;; `gnus-article-outlook-unwrap-lines' will only unwrap lines if the resulting
||| ;; citation line will be of a certain maximum length. You can control
||| ;; this by adjusting `gnus-outlook-deuglify-unwrap-max'. Also
||| ;; unwrapping will only be done if the line above the (possibly)
||| ;; wrapped line has a minimum length of `gnus-outlook-deuglify-unwrap-min'.
||| ;;
||| ;; Furthermore no unwrapping will be undertaken if the last character
||| ;; is one of the chars specified in
||| ;; `gnus-outlook-deuglify-unwrap-stop-chars'. Setting this to ".?!"
||| ;; inhibits unwrapping if the cited line ends with a full stop,
||| ;; question mark or exclamation mark. Note that this variable
||| ;; defaults to `nil', triggering a few false positives but generally
||| ;; giving you better results.
||| ;;
||| ;; Unwrapping works on every level of citation. Thus you will be able
||| ;; repair broken citations of broken user agents citing broken
||| ;; citations of broken user agents citing broken citations...
Maybe it could be interesting to implement something similar...
G
--
Farewell! ~ gandalf~at~ithn.net ~ ICQ# 16553733 ~ Penguin's Enemy #1
Many are my names in many countries. Mithrandir among the Elves, Thark�n
to the Dwarves; Ol�rin I was in my youth in the West that is forgotten,
in the South Inc�nus, in the North Gandalf; to the East I go not.
Technical Details
Message-ID:
<1sm0y4wmnpst6.dlg@gandalf.my-fqdn.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!ppp-159-163.98-62.inwind.IT!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1sm0y4wmnpst6.dlg@gandalf.my-fqdn.de> Subject: [Dialog] Feature request: handle bad-quoting Date: Wed, 21 May 2003 01:03:34 +0200 From: Gandalf il Grigio <gandalf@ithn.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!ppp-159-163.98-62.inwind.IT!not-for-mail Newsgroups: news.software.readers Organization: G&C Lines: 68 Sender: gandalf@ithn.net NNTP-Posting-Host: ppp-159-163.98-62.inwind.it (62.98.163.159) Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1053475112 28936587 62.98.163.159 (16 [83193]) X-Face: &]^_njQjKuBI.th%)W1+ESkFY4E:r*#8}rkHLF'QTLo,>mql9aGkV*,v.-,qVdu&8Xk(6K X-Beloved-Girlfriend: Alice aka Cricetina :o*** User-Agent: 40tude_Dialog/2.0.5.53it (590b46c9.394.104) Hamster/2.0.2.1