From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65885 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: doc-view and mailcap Date: Wed, 05 Dec 2007 21:02:57 +0100 Message-ID: References: <87bqbhkhc6.fsf@baldur.tsdh.de> <87ejfwgf5k.fsf@jurta.org> <877ills6b4.fsf@jurta.org> <877ik5b6k4.fsf@member.fsf.org> <87prxqb79u.fsf@fastmail.fm> <87ir3gog1j.fsf@jurta.org> <87tzmzmpst.fsf@jurta.org> <87sl2ierzl.fsf@member.fsf.org> <87ve7e5c82.fsf@jurta.org> <87bq95mp2b.fsf@member.fsf.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196887755 29663 80.91.229.12 (5 Dec 2007 20:49:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 20:49:15 +0000 (UTC) To: , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 05 21:49:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J01BL-0004Ig-TP for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 21:49:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J01B5-0003Ql-7r for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 15:49:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J01B1-0003Od-3B for emacs-devel@gnu.org; Wed, 05 Dec 2007 15:49:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J01Az-0003LI-2z for emacs-devel@gnu.org; Wed, 05 Dec 2007 15:49:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J01Ay-0003L7-Ng for emacs-devel@gnu.org; Wed, 05 Dec 2007 15:49:00 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J01Ay-0003yI-2o for emacs-devel@gnu.org; Wed, 05 Dec 2007 15:49:00 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.1/8.14.1) with ESMTP id lB5Kmt6P016633; Wed, 5 Dec 2007 21:48:55 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id F022C12C5B; Wed, 5 Dec 2007 21:48:54 +0100 (CET) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: , emacs-devel@gnu.org In-Reply-To: <87bq95mp2b.fsf@member.fsf.org> (Tassilo Horn's message of "Wed, 05 Dec 2007 11:08:28 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-DCC-dcc.uncw.edu-Metrics: poseidon 1201; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84745 gmane.emacs.gnus.general:65885 Archived-At: [ Adding ding again. Tassilo, please don't strip ding as long as this thread is closely related to Gnus. Thanks. ] On Wed, Dec 05 2007, Tassilo Horn wrote: > Juri Linkov writes: >>> PDF, PostScript and DVI files are usually A4 (or letter) paper sized >>> documents. Displaying them in the article buffer doesn't seem useful >>> to me. My personal preference would be a new Emacs frame. >> >> Large images get attached to the messages already, and Gnus displays >> them inline just fine. At least by default it doesn't display them inline, see `mm-inline-large-images'. I toggled it and tried to view a wide image (the frame is 80 chars wide). I couldn't figure out how to view the right hand side part of the image conveniently. The best I could think of was `scroll-left'. (I used `i image' in the Emacs manual.) > But the difference is that the images are just there and can be > displayed immediately whereas pdfs and such have to be converted first. Good point. > I don't think it would be good to unconditionally start a conversion run > if a document is attached with disposition type `inline'. I don't think any MUA in the wild sends PDFs as disposition=inline (of course you can do with Gnus). > And if the user has to type a key first to start the conversion and > inline the images I cannot see a big benefit. > >> I think when the disposition type is `inline' we should try to display >> it inline in the same article buffer if possible. > > I think it wouldn't be hard to add a function to doc-view that inserts > the images into the current buffer, but we'd loose (or have to > re-implement) all those nice features like searching or image-scrolling. I'd suggest to implement viewing in an extra buffer first. I think it's not worth the trouble to implement inline display in the article buffer. But if someone wants to do it... >> Could you also look at the problem of moving mailcap.el and its >> related files out of Gnus? Which are the related files? (mailcap.el doesn't require any other packages after my changes.) >> It seems an appropriate directory for them is `lisp/mail' or >> `lisp/net'. Do you see a better directory? I don't have a strong opinion on this. [ IIRC, Miles should be back soon, so hopefully the change are synced within a couple of days. ] Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/