From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Gnus -- remove inline HTML images Date: Mon, 18 Nov 2019 16:47:51 +0100 Message-ID: References: <87sgmu9uv4.fsf@russet.org.uk> <87h839yhb9.fsf@gnus.org> <8736el8ag6.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128451"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org, Lars Magne Ingebrigtsen To: Phillip Lord Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 16:48:13 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWjG9-000XG7-Gq for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 16:48:13 +0100 Original-Received: from localhost ([::1]:36082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWjG7-0000vu-Sl for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 10:48:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40868) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWjFr-0000t8-Qm for help-gnu-emacs@gnu.org; Mon, 18 Nov 2019 10:47:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWjFq-00070k-OA for help-gnu-emacs@gnu.org; Mon, 18 Nov 2019 10:47:55 -0500 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:34203) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWjFq-0006zW-IG for help-gnu-emacs@gnu.org; Mon, 18 Nov 2019 10:47:54 -0500 Original-Received: by mail-wr1-x42c.google.com with SMTP id e6so20112094wrw.1 for ; Mon, 18 Nov 2019 07:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=iX7lIAMV7Q5Onm48X9898ZQh1VYGn+8A2KIDrj5UpYY=; b=TrMcm8FV2P5AG7PoHRsXRseOUqDvhuaWWidyyhEVS3kHeydFYIMYvlhYxi4rl7zGRl QWJLdGh0jFMA4a03lFO2CA9NNSXXe+V42asBRnS2PHwBv9hb4n6L/a8yhmfFcII+ZWja KZuWaJ7RIYeEMM/6ijJEhE8GGdGQn4CeeAx3KHsuZnOWsT1q+PP684opEdxLvI/hnS6l r2527FZOKuR3mpSllM8IloqtQivj3zjjv9jhv0cx7q+WHRAdsfjQzoFG+UVM5IQqBi3g iekQRCiLpelZ9osIojO4pPloZxz1HXARlNvaJEHn0JQUv2wLImaE7jAyv5MNTH2Z7IGy cz7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=iX7lIAMV7Q5Onm48X9898ZQh1VYGn+8A2KIDrj5UpYY=; b=mY4BQle9XlJtK3NwLlKyM4SHJ2ZJuEgRmNSIsqqNPDdADfTITuhYeKoEB5V8q9p4Cz SbxRnYH2n8BS4N/ix6gf+CWF3vVUSw4o77jA3N12dIvfy/kyj1/NkKlyTFgBoSS0sdky wzukF/q+1Lwi5xDvErv/G/HLgkd5o8FrOYWxi0H4vtN34gv/edqdp70Vf6VzX21NgNVc /nWmdNFh9Qm2Uu8NLxlbgaCXP2R37PCiAHe94YBvmgnVt4xM2Q90qvr04JNBQIhA6j+d Z98bOzkQuS4zog6WjvAi/NlFXYgna8gdDRPbmAm2rofsR5/K/rVWV+qEA6CV0y/wPfhs Y7bQ== X-Gm-Message-State: APjAAAVjoASr2wnUqjrpvjIQ1cYdMkpdN3uRYVhT8yTfqqrjKAoUeBrC M7o5oxEmySfgQKbpTiQrkh4P8W/ZphY= X-Google-Smtp-Source: APXvYqyDS3lPURUvCq+EISz+TsMJmEagDAv3LHHr/n9AN2z0UcVinGKHuf9Yt0f69Ydy3Mak6zpm4A== X-Received: by 2002:adf:f20f:: with SMTP id p15mr25924465wro.370.1574092072534; Mon, 18 Nov 2019 07:47:52 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id f67sm20690326wme.16.2019.11.18.07.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 07:47:51 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <8736el8ag6.fsf@russet.org.uk> (Phillip Lord's message of "Mon, 18 Nov 2019 15:34:49 +0000") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121861 Archived-At: >>>>> On Mon, 18 Nov 2019 15:34:49 +0000, Phillip Lord said: Phillip> Lars Magne Ingebrigtsen writes: >> Phillip Lord writes: >> >>> I would like to be able to delete inline HTML images in Gnus. People >>> keep on sending me pointless images, and it's breaking my long habit of >>> "inbox infinite". With mime attachments, I just ditch the big ones, but >>> I cannot do this with inline images in HTML. >>> >>> I guess that most of these images are "cid", although I don't know >>> enough about email to know if there are other methods widely used. >>> >>> Is there any mechanism in Gnus for achieving this? >> >> If you hit `e', you can edit the message. The embedded images will >> appear as mml tags, like >> >> <\#part type=image/png name="mailphoto.png" id="" buffer=" *mml*-862362"> >> <\#/part> >> >> and you can just delete those. Phillip> Okay, that's a way to do it, albeit rather clunky. Phillip> I guess you would have no objection to adding a new washing method or Phillip> something equivalent that would remove all of these? You can probably use gnus-article-remove-images (bound to W-D-D) for inspiration. Robert