From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63248 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Documentation & Keybinding for `gnus-article-browse-html-article' Date: Tue, 23 May 2006 16:26:00 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148394648 20929 80.91.229.2 (23 May 2006 14:30:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 14:30:48 +0000 (UTC) Original-X-From: ding-owner+m11775@lists.math.uh.edu Tue May 23 16:30:39 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiXtw-0003rd-80 for ding-account@gmane.org; Tue, 23 May 2006 16:30:25 +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 1FiXtp-0004ML-00; Tue, 23 May 2006 09:30:17 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FiXr8-0004MF-00 for ding@lists.math.uh.edu; Tue, 23 May 2006 09:27:30 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FiXr1-00031m-NR for ding@lists.math.uh.edu; Tue, 23 May 2006 09:27:30 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FiXr0-0005Sj-00 for ; Tue, 23 May 2006 16:27:22 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FiXqX-00037k-UC for ding@gnus.org; Tue, 23 May 2006 16:26:53 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 May 2006 16:26:53 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 May 2006 16:26:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 52 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s On Tue, May 23 2006, Hynek Schlawack wrote: > --- lisp/gnus-sum.el 19 May 2006 00:00:51 -0000 7.145 > +++ lisp/gnus-sum.el 23 May 2006 12:06:07 -0000 > @@ -2092,6 +2092,7 @@ > "c" gnus-article-copy-part > "C" gnus-article-view-part-as-charset > "e" gnus-article-view-part-externally > + "H" gnus-article-browse-html-article > "E" gnus-article-encrypt-body > "i" gnus-article-inline-part > "|" gnus-article-pipe-part) Installed. Thanks. > @@ -2128,7 +2129,8 @@ > "b" gnus-uu-decode-binhex > "B" gnus-uu-decode-binhex > "p" gnus-uu-decode-postscript > - "P" gnus-uu-decode-postscript-and-save) > + "P" gnus-uu-decode-postscript-and-save > + "H" gnus-article-browse-html-article) I think one keybinding is sufficient. > I'd put it into (info "(gnus)MIME Commands"), I'll have to implement: > > ,----[ (info "(gnus)MIME Commands") ] > | The following commands all understand the numerical prefix. For > | instance, `3 b' means "view the third MIME part". > `---- > > Any `best practices'? ;) Unfortunately, the list of attachments is > recursive, so I guess I'll have to use a counter. Any other (more > elegant) ideas? Did you look at the use of `gnus-article-part-wrapper' in `gnus-mime-view-part-internally' or the other MIME commands? If it's more complicated, just document that `gnus-article-browse-html-article' doesn't honor the numerical prefix (yet). BTW, I have implemented (by not yet committed) an extension to `gnus-article-browse-html-article' which inserts some article headers into the html output. It is a bit hackish, but I think this is useful when printing html articles via `gnus-article-browse-html-article'. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/