Gnus development mailing list
 help / color / mirror / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: asjo@koldfront.dk (Adam Sjøgren)
Cc: ding@gnus.org
Subject: Re: Article mode for raw email message?
Date: Mon, 12 Jan 2015 07:22:34 -0500	[thread overview]
Message-ID: <m2egr05gtx.fsf@PFDStudio-Air.home> (raw)
In-Reply-To: <87iogdnliy.fsf@topper.koldfront.dk> ("Adam \=\?utf-8\?Q\?Sj\?\= \=\?utf-8\?Q\?\=C3\=B8gren\=22's\?\= message of "Sun, 11 Jan 2015 20:51:33 +0100")

asjo@koldfront.dk (Adam Sjøgren) writes:

> Peter 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.
>
> [...]
>
>> Is there a way to do this?
>
> Not the same, but related: You can open a file in Gnus as a foreign
> group from the *Group* buffer:
>
> ,----
> | G f runs the command gnus-group-make-doc-group, which is an
> | interactive compiled Lisp function in `gnus-group.el'.
> | 
> | It is bound to G f, <menu-bar> <Groups> <Foreign groups> <Make a doc
> | group...>.
> | 
> | (gnus-group-make-doc-group FILE TYPE)
> | 
> | Create a group that uses a single file as the source.
> | 
> | If called with a prefix argument, ask for the file type.
> `----
>
> Maybe that'll work?

Thanks, Adam. Ultimately I'm hoping to trigger this from a script which
writes the message to a temp file and calls emacsclient to open it, but
maybe I can learn something from the code of this function.

Thanks!
-pd



  reply	other threads:[~2015-01-12 12:22 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
2015-01-12 12:20   ` Peter Davis
2015-01-11 19:51 ` Adam Sjøgren
2015-01-12 12:22   ` Peter Davis [this message]
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=m2egr05gtx.fsf@PFDStudio-Air.home \
    --to=pfd@pfdstudio.com \
    --cc=asjo@koldfront.dk \
    --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).