From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6109 Path: main.gmane.org!not-for-mail From: Steven L Baur Newsgroups: gmane.emacs.gnus.general Subject: Re: Suggestions Date: 02 May 1996 11:07:51 -0700 Sender: steve@miranova.com Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.53) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035146614 2579 80.91.224.250 (20 Oct 2002 20:43:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:43:34 +0000 (UTC) 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 LAA19035 for ; Thu, 2 May 1996 11:53:15 -0700 Original-Received: from deanna.miranova.com (steve@miranova.com [204.212.162.100]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 2 May 1996 20:07:43 +0200 Original-Received: (from steve@localhost) by deanna.miranova.com (8.7.5/8.6.9) id LAA18747; Thu, 2 May 1996 11:07:54 -0700 Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ Mail-Copies-To: never In-Reply-To: Kai Grossjohann's message of 02 May 1996 08:29:10 -0700 Original-Lines: 49 X-Mailer: September Gnus v0.80/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:6109 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6109 >>>>> "Kai" == Kai Grossjohann writes: >>>>> 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. This is a reasonable idea, but well beyond the scope of what Gnus 5.2 or Red Gnus ought to be doing. There are enough hooks in Gnus to let one experiment with different ideas. Hopefully the Gnus API is going to stabilize thus encouraging this kind of experimentation ... Kai> I think this problem is AI complete if you want to do it properly. I Kai> propose the following view on this: Kai> The author of a mail message wrote it in a monospaced (as opposed to Kai> proportional) font. The author of a message tries to make it Kai> readable. Therefore the rendition of a message that the author sees Kai> can be expected to be rather readable. Thus you shouldn't Kai> second-guess that and just use a monospaced font for everything. Reading mail in a variable width font can be amusing. It definitely puts .signature ASCII graphics in their place. Composing mail is another story though. Kai> I'd imagine recognizing C might be rather easy: if the lines ends in Kai> ";" it's C, if the prev and/or the next line is C and the line Kai> contains "else", it's C, too. Kai> But how would you tell the difference between English and Cobol in Kai> "add a to b giving c"? You could at least start with the heuristics that file(1) uses. Another possibility is to extend the categories of MIME types. I believe TM already supports an Emacs-LISP text MIME type, for example. What I would really hate to see is Gnus support of the equivalent of ``WINMAIL.DAT''. -- steve@miranova.com baur Unsolicited commercial e-mail will be proofread for $250/hour. Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone except you in November.