From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85474 Path: news.gmane.org!not-for-mail From: Peter Davis Newsgroups: gmane.emacs.gnus.general Subject: Re: Article mode for raw email message? Date: Mon, 12 Jan 2015 07:20:19 -0500 Message-ID: References: <84mw5paz7g.fsf@davestoy.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421065304 23074 80.91.229.3 (12 Jan 2015 12:21:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2015 12:21:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33716@lists.math.uh.edu Mon Jan 12 13:21:38 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 1YAe01-0000fy-PG for ding-account@gmane.org; Mon, 12 Jan 2015 13:21:38 +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 1YAdyw-00051d-2Q; Mon, 12 Jan 2015 06:20:30 -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 1YAdyt-00051N-92 for ding@lists.math.uh.edu; Mon, 12 Jan 2015 06:20:27 -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 1YAdyr-0005Qa-VF for ding@lists.math.uh.edu; Mon, 12 Jan 2015 06:20:26 -0600 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YAdyq-0000pW-6u for ding@gnus.org; Mon, 12 Jan 2015 13:20:24 +0100 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C99BB2085D for ; Mon, 12 Jan 2015 07:20:19 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 12 Jan 2015 07:20:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:subject:references :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=8LNLgx6rS283SxlnqrS+1rH/6mQ=; b=Sqrp6rZh/Gr3ZutsdBRS BQyTt6HKvc/kwAaVFA8XLKXUUJFQXiTizXoTu8r+q0RlPp6RSPfEbai/LNZWj7gI rwehc2dtpygynImZyjNbmD913BOoqjCzBiXUV8ceNav1eJHSavQ0MaEmGYcHdpkL iBUd4nt57vKI5XvdzApksc4= X-Sasl-enc: PybsZAmPly8dUEFpOai+d6fG+X8JiFgj8jYk9ty/GNRO 1421065219 Original-Received: from PFDStudio-Air.home (unknown [173.76.32.54]) by mail.messagingengine.com (Postfix) with ESMTPA id 806F0C00284; Mon, 12 Jan 2015 07:20:19 -0500 (EST) In-Reply-To: <84mw5paz7g.fsf@davestoy.home> (Dave Goldberg's message of "Sun, 11 Jan 2015 14:34:27 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85474 Archived-At: david.goldberg6@verizon.net (Dave Goldberg) writes: >> 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. Thanks, David. I'm not a lisp maven, so I was hoping for something simple and straightforward, but I'll see what I can figure out from the code. Thanks! -pd