From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: save gnus articles with links Date: Wed, 18 Feb 2015 12:12:46 +1100 Message-ID: <87vbj0aupd.fsf@building.gnus.org> References: <87lhk2gxf3.fsf@building.gnus.org> <87a90iw0ft.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424222020 9358 80.91.229.3 (18 Feb 2015 01:13:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2015 01:13:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rasmus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 02:13:31 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YNtCk-00074G-0v for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2015 02:13:30 +0100 Original-Received: from localhost ([::1]:48004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNtCj-0002n8-3R for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 20:13:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNtCX-0002mq-OP for help-gnu-emacs@gnu.org; Tue, 17 Feb 2015 20:13:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNtCU-0002r1-HB for help-gnu-emacs@gnu.org; Tue, 17 Feb 2015 20:13:17 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:43924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNtCU-0002qY-Aj for help-gnu-emacs@gnu.org; Tue, 17 Feb 2015 20:13:14 -0500 Original-Received: from 77.17.13.246.tmi.telenormobil.no ([77.17.13.246] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YNtC9-0003yq-QW; Wed, 18 Feb 2015 02:12:54 +0100 In-Reply-To: <87a90iw0ft.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 13 Feb 2015 11:49:42 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1YNtC9-0003yq-QW MailScanner-NULL-Check: 1424826775.44171@zWYtxswPuJIZfzfYU2nNdg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102773 Archived-At: Rasmus writes: > However, sometimes messages contains images or links (the > whatever kind). I see them in Gnus, but when I > save the message, images are replaced by "*" and links are stripped. > I would like somehow retain this information. > > Maybe the easiest solution would be to write a new Gnus saver-function, > but I don't know if I would have access to images and links. You would have to write a new saving function. The URLs and images are available as text properties. Just use `(text-properties-at (point))' to inspect the properties and pick out the ones you need. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/