From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85475 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:22:34 -0500 Message-ID: References: <87iogdnliy.fsf@topper.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421065375 24085 80.91.229.3 (12 Jan 2015 12:22:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2015 12:22:55 +0000 (UTC) Cc: ding@gnus.org To: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Original-X-From: ding-owner+M33717@lists.math.uh.edu Mon Jan 12 13:22:49 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 1YAe1A-0001BM-Db for ding-account@gmane.org; Mon, 12 Jan 2015 13:22:48 +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 1YAe12-000547-Ir; Mon, 12 Jan 2015 06:22:40 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1YAe11-00053o-7m for ding@lists.math.uh.edu; Mon, 12 Jan 2015 06:22:39 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1YAe10-0000nO-0w for ding@lists.math.uh.edu; Mon, 12 Jan 2015 06:22:39 -0600 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YAe0y-0000sg-HW for ding@gnus.org; Mon, 12 Jan 2015 13:22:36 +0100 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0ABAC208EA for ; Mon, 12 Jan 2015 07:22:36 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 12 Jan 2015 07:22:36 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:references :date:in-reply-to:message-id:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=sSM8LniZRPEOoFOe8S/YBl unzHY=; b=Bl9Recu4ch2aQlcVt49UMXB3RcRoHZqx9DgkiuOsASuRJgdcdVXwMt 5SHzft679DN/615shxXpNvFt8FuNor/Z8dDhHzhx6bgfLVoBS8y21G+fBsbPcUGL yxDJTVn7Nc71pHrGHs4rdc2BH8+wty9BDfpJRzE+FtZ/eseFNUsG8= X-Sasl-enc: VaOLG6To8h0V05kiYiL+5i/9u4xWuS5kx+LdwYpHGQir 1421065355 Original-Received: from PFDStudio-Air.home (unknown [173.76.32.54]) by mail.messagingengine.com (Postfix) with ESMTPA id B0FB6C0028C; Mon, 12 Jan 2015 07:22:35 -0500 (EST) 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") 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:85475 Archived-At: asjo@koldfront.dk (Adam Sj=C3=B8gren) 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'. > |=20 > | It is bound to G f, | group...>. > |=20 > | (gnus-group-make-doc-group FILE TYPE) > |=20 > | Create a group that uses a single file as the source. > |=20 > | 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