From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6103 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: Suggestions Date: 02 May 1996 17:29:10 +0200 Sender: grossjoh@dusty.informatik.uni-dortmund.de Message-ID: References: Reply-To: Kai Grossjohann NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.52) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035146609 2566 80.91.224.250 (20 Oct 2002 20:43:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:43:29 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id JAA17782 for ; Thu, 2 May 1996 09:24:09 -0700 Original-Received: from floyd.informatik.uni-dortmund.de (floyd.informatik.uni-dortmund.de [129.217.4.40]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 2 May 1996 17:29:17 +0200 Original-Received: from dusty.informatik.uni-dortmund.de by floyd.informatik.uni-dortmund.de with SMTP (Sendmail 8.7.5/UniDo 3.11) id RAA11660; Thu, 2 May 1996 17:29:12 +0200 (MES) Original-Received: by dusty.informatik.uni-dortmund.de id AA14212; Thu, 2 May 96 17:29:11 +0200 Original-To: "Ketil.Z" In-Reply-To: "Ketil.Z"'s message of 02 May 1996 16:31:07 +0200 Original-Lines: 32 X-Mailer: September Gnus v0.80/Emacs 19.30 Xref: main.gmane.org gmane.emacs.gnus.general:6103 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6103 >>>>> On 02 May 1996 16:31:07 +0200, "Ketil.Z" said: Ketil> Anyway, what I'd really like for [SR]Gnus, is to recognize, Ketil> and do various things with different regions of a message. Ketil> In particular, I'd like source code to be treated differently Ketil> from text - perhaps according to defaults in text-mode versus Ketil> cc-mode (other modes might apply)? Ketil> Other things, like tables and such would be nice to Ketil> recognize, too. I guess the most important problem is Ketil> knowing when to auto fill, and when not to. I think this problem is AI complete if you want to do it properly. I propose the following view on this: The author of a mail message wrote it in a monospaced (as opposed to proportional) font. The author of a message tries to make it readable. Therefore the rendition of a message that the author sees can be expected to be rather readable. Thus you shouldn't second-guess that and just use a monospaced font for everything. I'd imagine recognizing C might be rather easy: if the lines ends in ";" it's C, if the prev and/or the next line is C and the line contains "else", it's C, too. But how would you tell the difference between English and Cobol in "add a to b giving c"? Just my $0.02, kai -- Gleep!