From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85210 Path: news.gmane.org!not-for-mail From: Alexander Baier Newsgroups: gmane.emacs.gnus.general Subject: Re: function to access raw article Date: Fri, 31 Oct 2014 16:20:24 +0100 Message-ID: <874mukgtaf.fsf@mailbox.org> References: <87fve4iqve.fsf@gmail.com> <87lhnwe6vl.fsf@lifelogs.com> <87ppd8gy0l.fsf@mailbox.org> <87lhnw7205.fsf@micropit.roche-blanche.homenet.org> 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 1414768876 763 80.91.229.3 (31 Oct 2014 15:21:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 15:21:16 +0000 (UTC) Cc: ding@gnus.org To: Peter =?utf-8?Q?M=C3=BCnster?= Original-X-From: ding-owner+M33454@lists.math.uh.edu Fri Oct 31 16:21:10 2014 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 1XkE0g-0008Ck-9E for ding-account@gmane.org; Fri, 31 Oct 2014 16:21:06 +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 1XkE0e-0003zE-Ps; Fri, 31 Oct 2014 10:21:04 -0500 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 1XkE0d-0003z0-KL for ding@lists.math.uh.edu; Fri, 31 Oct 2014 10:21:03 -0500 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 1XkE0c-0002a8-2q for ding@lists.math.uh.edu; Fri, 31 Oct 2014 10:21:03 -0500 Original-Received: from mx1.mailbox.org ([80.241.60.212]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XkE0a-0006ai-Ik for ding@gnus.org; Fri, 31 Oct 2014 16:21:00 +0100 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 14A744026C; Fri, 31 Oct 2014 16:20:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :user-agent:message-id:in-reply-to:date:date:references:subject :subject:from:from:received; s=mail20140220; t=1414768854; bh=Ao N/rcfzvpk7+whLu/iGPijMM1f3xZFYjySLYxsuDvQ=; b=jJo3KIuEef1ESgca+N HidZP8tAXKwJhbqNSL9OBZ1gEjcnOZ/vb9uY3qZwezt/8Q4oE7t7yDHWYH6FlVGb Le5XhmlKRnHrJC0nOZ4Cuc8LiUruYNYIdIaln9hHOhY7Zj27xYNHizfqvfK71thT 11lTftg5aqdt7Kcw+j/QThOujjrHzfyVKiMP+dTRt/rvDoZUseQ7ZBPaxcants6F 3WNjxvFwJdBVOmPpBYI369E4kM37t7o97DgDzCNNjT4PeKf6stHZ7QxcC4yU/uIw kfVNj3XSVNXJZGalicaHyJwfuLR8NNQJpFTbQYFMwJ6Ygntd22V9eiSKJdLkjlkk Bs0LcS6UkYMCm2cNZkMU42ATOKiGg24436KIAEj+acY3bx8f87C3KYGhyNgD3Fvf SnujOVgbtp4A+fhSfSsBtttOFdN1sHZBVJDuGkvwguSY6T0WSsc4Z7Ul1SJO3sDt RnjtPayhms4xdecKEkwhfyIAUBZTp9iXwv9m8Rc+p/Ium2oWtU0gYVg3ah0PJD6k vMBK8YC3zFK243iuSf+BjczR7vyNbET+nC15p X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) (using TLS with cipher AES256-GCM-SHA384) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTPS id 79MGrWBfhRNG; Fri, 31 Oct 2014 16:20:54 +0100 (CET) Mail-Followup-To: Peter =?utf-8?Q?M=C3=BCnster?= , ding@gnus.org In-Reply-To: <87lhnw7205.fsf@micropit.roche-blanche.homenet.org> ("Peter \=\?utf-8\?Q\?M\=C3\=BCnster\=22's\?\= message of "Fri, 31 Oct 2014 15:22:18 +0100") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux) X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85210 Archived-At: On 2014-10-31 15:22 Peter M=C3=BCnster wrote: > On Fri, Oct 31 2014, Alexander Baier wrote: > >> This is it! The following works like a charm. It is designed to extract >> the title of the video from a mail you get from youtube when someone you >> are subscribed to uploads a new video. >> >> (defun gnus-user-format-function-Y (header) > > Hi, > > If you ever get performance problems (delays when generating the summary > buffer), then you could let procmail + formail do the job. These tools > can add new header lines, for example: > X-youtube-titles: title 1, title 2, etc. > > Or you can rewrite the subject. Then, Gnus won't need to parse the body > no more. Thank you for the pointer! I don't think there will be performance problems in my particular case, as I always display < 100 articles in that group. The advantage of doing it in gnus, is of course, that I do not have to learn another tool. :) Regards, --=20 Alexander Baier