From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85208 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.gnus.general Subject: Re: function to access raw article Date: Fri, 31 Oct 2014 15:22:18 +0100 Message-ID: <87lhnw7205.fsf@micropit.roche-blanche.homenet.org> References: <87fve4iqve.fsf@gmail.com> <87lhnwe6vl.fsf@lifelogs.com> <87ppd8gy0l.fsf@mailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414765379 5464 80.91.229.3 (31 Oct 2014 14:22:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 14:22:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33452@lists.math.uh.edu Fri Oct 31 15:22:52 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 1XkD6K-0004cP-HG for ding-account@gmane.org; Fri, 31 Oct 2014 15:22:52 +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 1XkD68-0003d8-45; Fri, 31 Oct 2014 09:22:40 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XkD66-0003ct-S0 for ding@lists.math.uh.edu; Fri, 31 Oct 2014 09:22:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XkD65-0007UW-VW for ding@lists.math.uh.edu; Fri, 31 Oct 2014 09:22:38 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XkD64-0004pV-Ln for ding@gnus.org; Fri, 31 Oct 2014 15:22:36 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XkD61-0004SV-8g for ding@gnus.org; Fri, 31 Oct 2014 15:22:33 +0100 Original-Received: from arennes-651-1-109-38.w2-2.abo.wanadoo.fr ([2.2.4.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2014 15:22:33 +0100 Original-Received: from pmlists by arennes-651-1-109-38.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2014 15:22:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-109-38.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.130012 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:4QQ01aWttx/+KUlpNsXnI9DdE10= X-Spam-Score: -3.5 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85208 Archived-At: 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. -- Peter