From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61031 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Support for slrn-style verbatim marks Date: Wed, 28 Sep 2005 12:23:01 +0900 Organization: Emacsen advocacy group Message-ID: References: <87d5mwozpf.fsf@koldfront.dk> <873bnrskrj.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127878199 20859 80.91.229.2 (28 Sep 2005 03:29:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2005 03:29:59 +0000 (UTC) Original-X-From: ding-owner+m9563@lists.math.uh.edu Wed Sep 28 05:29:54 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKScx-0005AR-GX for ding-account@gmane.org; Wed, 28 Sep 2005 05:29:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EKSco-0003VF-00; Tue, 27 Sep 2005 22:28:54 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EKSXG-0003V7-00 for ding@lists.math.uh.edu; Tue, 27 Sep 2005 22:23:10 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EKSXE-0004YY-Mn for ding@lists.math.uh.edu; Tue, 27 Sep 2005 22:23:10 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EKSXD-0000uJ-00 for ; Wed, 28 Sep 2005 05:23:07 +0200 Original-Received: from localhost.servershost.net ([127.0.0.1]:40221 helo=localhost) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1EKSXO-0002jj-G0 for ding@gnus.org; Tue, 27 Sep 2005 22:23:20 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:efIdIYtZaJgFKyA7ABm0Xn6dORM= X-Hashcash: 1:20:050928:ding@gnus.org::b4okxksGtVImnlJP:00000W/O X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.1 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61031 Archived-At: > On Tue, Sep 27 2005, Katsumi Yamaoka wrote: >> Consequently, I made unrelated changes to displaying of >> text/verbatim parts, This sentence didn't make any sense. Please never mind. The chief aim of my changes was not to modify decoded text. Some functions which were used before insert text into a unibyte buffer and take it out, or assume text exists in a unibyte buffer, even if the text has been decoded. Although that doesn't mean text is always to be broken (it might be able to restore), such a process is useless and especially it is hard to save text properties. >>>>> In Reiner Steib wrote: > In case it wasn't clear: I invented the type "text/verbatim" (I don't > think it's used anywhere else). If it is possible to get the same > result with an existing (and suitable) MIME type, say "text/plain", we > should use that instead. I think my changes are effective regardless of MIME types, though I might have forgotten to do it to some other functions. Anyway, the opportunity for it to be used effectively seems to be few. > The result I had in mind should include: > (1) Display a button so that the user can easily save, pipe, ... the > part (the button should not be collapsed). Oops, I decided not to display a button to the verbatim part because I recognized it's only a replacement for a text/plain part. However, if I am wrong, I agree to displaying buttons by default. To do that, please remove "text/x-gnus-verbatim" from the `mm-automatic-display' variable. In that case, the `gnus-mime-display-single' function behaves differently, but I've already fixed so that it works properly then. > (2) The part should be displayed inline. > (3) The part should be fontified using the `mm-uu-extract' face. > Your addition of "text/verbatim" to `mm-automatic-display' cancels > (1). > OTOT: The user can press `K b' and then process the part. And the > article buffer isn't cluttered with buttons. I don't have a strong > opinion on this. Opinions? > Using "text/verbatim" (instead of "text/plain") allows customizing the > display using `gnus-buttonized-mime-types' or > `gnus-unbuttonized-mime-types'. I'm not familiar with the verbatim parts, so I leave it to your decision. BTW, is it necessary to put `gnus' in the name of the part type? (I feel `x-verbatim' is sufficient.)