From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85468 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: Article mode for raw email message? Date: Sun, 11 Jan 2015 14:34:27 -0500 Message-ID: <84mw5paz7g.fsf@davestoy.home> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421004926 1082 80.91.229.3 (11 Jan 2015 19:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2015 19:35:26 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33710@lists.math.uh.edu Sun Jan 11 20:35:19 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YAOIA-0007VF-O6 for ding-account@gmane.org; Sun, 11 Jan 2015 20:35:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YAOHx-0008MW-PQ; Sun, 11 Jan 2015 13:35:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YAOHw-0008ML-AK for ding@lists.math.uh.edu; Sun, 11 Jan 2015 13:35:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YAOHu-0000nF-Mm for ding@lists.math.uh.edu; Sun, 11 Jan 2015 13:35:04 -0600 Original-Received: from vms173023pub.verizon.net ([206.46.173.23]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YAOHi-0002xY-IK for ding@gnus.org; Sun, 11 Jan 2015 20:34:53 +0100 Original-Received: from davestoy.home.verizon.net ([71.184.207.237]) by vms173023.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NI100J6M2DFEH30@vms173023.mailsrvcs.net> for ding@gnus.org; Sun, 11 Jan 2015 13:34:27 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=D9vw8UVm c=1 sm=1 tr=0 a=07JiPSs/1fT+i408Ag/iAg==:117 a=fXlXmMNnqqcA:10 a=AesOsg4oJXAA:10 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=4xvs21F7syvF1J4d87cA:9 X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: (Peter Davis's message of "Sun, 11 Jan 2015 14:10:36 -0500") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux) X-Spam-Score: -0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85468 Archived-At: > I'm trying to open a raw email message file in Article mode, hoping that > it will look like it does in gnus ... headers hidden, text highlighting, > clickable links, etc. > > Unfortunately, though, it's not working. When I open the file and then > explicitly select article mode, I still just see the raw text of the > file. > > I did run gnus and then exit, so gnus-article-mode was defined. > > Is there a way to do this? It's been years since I did the same thing so even if I still had my function around it would likely not be relevant anymore. It wasn't as simple as running gnus-article-mode which is more about setting up key bindings and the like, but it wasn't too difficult. You need to look at the source for gnus-summary-display-article as a starting point and figure out from there what functions to call within the article buffer to do the washing, header display, buttonizing etc that you want to have happen. -- Dave Goldberg david.goldberg6@verizon.net