Gnus development mailing list
 help / color / mirror / Atom feed
From: david.goldberg6@verizon.net (Dave Goldberg)
To: ding@gnus.org
Subject: Re: Article mode for raw email message?
Date: Sun, 11 Jan 2015 14:34:27 -0500	[thread overview]
Message-ID: <84mw5paz7g.fsf@davestoy.home> (raw)
In-Reply-To: <m2ppal5e1f.fsf@PFDStudio-Air.home> (Peter Davis's message of	"Sun, 11 Jan 2015 14:10:36 -0500")

> 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



  reply	other threads:[~2015-01-11 19:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-11 19:10 Peter Davis
2015-01-11 19:34 ` Dave Goldberg [this message]
2015-01-12 12:20   ` Peter Davis
2015-01-11 19:51 ` Adam Sjøgren
2015-01-12 12:22   ` Peter Davis
2015-01-12 14:23     ` Adam Sjøgren
2015-01-12 14:34       ` Peter Davis
2015-01-12 17:43         ` Adam Sjøgren
2015-01-13 15:22 ` Peter Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84mw5paz7g.fsf@davestoy.home \
    --to=david.goldberg6@verizon.net \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).