* Gnus -- remove inline HTML images @ 2019-11-11 17:38 Phillip Lord [not found] ` <mailman.1255.1573493897.13325.help-gnu-emacs@gnu.org> 0 siblings, 1 reply; 9+ messages in thread From: Phillip Lord @ 2019-11-11 17:38 UTC (permalink / raw) To: help-gnu-emacs 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? Phil ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <mailman.1255.1573493897.13325.help-gnu-emacs@gnu.org>]
* Re: Gnus -- remove inline HTML images [not found] ` <mailman.1255.1573493897.13325.help-gnu-emacs@gnu.org> @ 2019-11-12 2:11 ` Lars Magne Ingebrigtsen 2019-11-12 7:23 ` Pankaj Jangid 2019-11-18 15:34 ` Phillip Lord 0 siblings, 2 replies; 9+ messages in thread From: Lars Magne Ingebrigtsen @ 2019-11-12 2:11 UTC (permalink / raw) To: Phillip Lord; +Cc: help-gnu-emacs Phillip Lord <phillip.lord@russet.org.uk> 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="<mailphoto.png>" buffer=" *mml*-862362"> <\#/part> and you can just delete those. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus -- remove inline HTML images 2019-11-12 2:11 ` Lars Magne Ingebrigtsen @ 2019-11-12 7:23 ` Pankaj Jangid 2019-11-12 8:47 ` Robert Pluim 2019-11-18 15:34 ` Phillip Lord 1 sibling, 1 reply; 9+ messages in thread From: Pankaj Jangid @ 2019-11-12 7:23 UTC (permalink / raw) To: help-gnu-emacs Lars Magne Ingebrigtsen <lmi@gnus.org> writes: > Phillip Lord <phillip.lord@russet.org.uk> 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="<mailphoto.png>" buffer=" *mml*-862362"> > <\#/part> > and you can just delete those. This is great information. One more query, just to complete this thread - how to come back to read-only mode after editing? -- Pankaj Jangid ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus -- remove inline HTML images 2019-11-12 7:23 ` Pankaj Jangid @ 2019-11-12 8:47 ` Robert Pluim 2019-11-12 9:47 ` Pankaj Jangid 0 siblings, 1 reply; 9+ messages in thread From: Robert Pluim @ 2019-11-12 8:47 UTC (permalink / raw) To: Pankaj Jangid; +Cc: help-gnu-emacs >>>>> On Tue, 12 Nov 2019 12:53:08 +0530, Pankaj Jangid <p4j@j4d.net> said: Pankaj> Lars Magne Ingebrigtsen <lmi@gnus.org> writes: >> Phillip Lord <phillip.lord@russet.org.uk> 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="<mailphoto.png>" buffer=" *mml*-862362"> >> <\#/part> >> and you can just delete those. Pankaj> This is great information. One more query, just to complete this thread Pankaj> - how to come back to read-only mode after editing? "C-c C-c", which is shown in the echo area when you start editing the message. And probably "C-c C-k" to abort the edits, but I haven't checked. "C-h m" when youʼre editing should tell you. Robert ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus -- remove inline HTML images 2019-11-12 8:47 ` Robert Pluim @ 2019-11-12 9:47 ` Pankaj Jangid 0 siblings, 0 replies; 9+ messages in thread From: Pankaj Jangid @ 2019-11-12 9:47 UTC (permalink / raw) To: Robert Pluim; +Cc: Pankaj Jangid, help-gnu-emacs Robert Pluim <rpluim@gmail.com> writes: >>>>>> On Tue, 12 Nov 2019 12:53:08 +0530, Pankaj Jangid <p4j@j4d.net> said: > > Pankaj> Lars Magne Ingebrigtsen <lmi@gnus.org> writes: > >> Phillip Lord <phillip.lord@russet.org.uk> 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="<mailphoto.png>" buffer=" *mml*-862362"> > >> <\#/part> > >> and you can just delete those. > Pankaj> This is great information. One more query, just to complete this thread > Pankaj> - how to come back to read-only mode after editing? > > "C-c C-c", which is shown in the echo area when you start editing the > message. And probably "C-c C-k" to abort the edits, but I haven't > checked. "C-h m" when youʼre editing should tell you. Thanks. C-c C-c is shown in the echo area. Actually, I looked up quickhelp C-h m without entering into Article-Edit mode. That is why I missed it there. -- Pankaj Jangid ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus -- remove inline HTML images 2019-11-12 2:11 ` Lars Magne Ingebrigtsen 2019-11-12 7:23 ` Pankaj Jangid @ 2019-11-18 15:34 ` Phillip Lord 2019-11-18 15:47 ` Robert Pluim [not found] ` <mailman.1846.1574091340.13325.help-gnu-emacs@gnu.org> 1 sibling, 2 replies; 9+ messages in thread From: Phillip Lord @ 2019-11-18 15:34 UTC (permalink / raw) To: Lars Magne Ingebrigtsen; +Cc: help-gnu-emacs Lars Magne Ingebrigtsen <lmi@gnus.org> writes: > Phillip Lord <phillip.lord@russet.org.uk> 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="<mailphoto.png>" buffer=" *mml*-862362"> > <\#/part> > > and you can just delete those. Okay, that's a way to do it, albeit rather clunky. I guess you would have no objection to adding a new washing method or something equivalent that would remove all of these? Phil ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus -- remove inline HTML images 2019-11-18 15:34 ` Phillip Lord @ 2019-11-18 15:47 ` Robert Pluim [not found] ` <mailman.1846.1574091340.13325.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 9+ messages in thread From: Robert Pluim @ 2019-11-18 15:47 UTC (permalink / raw) To: Phillip Lord; +Cc: help-gnu-emacs, Lars Magne Ingebrigtsen >>>>> On Mon, 18 Nov 2019 15:34:49 +0000, Phillip Lord <phillip.lord@russet.org.uk> said: Phillip> Lars Magne Ingebrigtsen <lmi@gnus.org> writes: >> Phillip Lord <phillip.lord@russet.org.uk> 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="<mailphoto.png>" 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <mailman.1846.1574091340.13325.help-gnu-emacs@gnu.org>]
* Re: Gnus -- remove inline HTML images [not found] ` <mailman.1846.1574091340.13325.help-gnu-emacs@gnu.org> @ 2019-11-19 9:17 ` Lars Magne Ingebrigtsen 2019-11-19 10:55 ` Robert Pluim 0 siblings, 1 reply; 9+ messages in thread From: Lars Magne Ingebrigtsen @ 2019-11-19 9:17 UTC (permalink / raw) To: Phillip Lord; +Cc: help-gnu-emacs Phillip Lord <phillip.lord@russet.org.uk> writes: > Okay, that's a way to do it, albeit rather clunky. It'd be easy enough to write a command on top of `e' that just does `e', search/replace, `C-c C-c'. > I guess you would have no objection to adding a new washing method or > something equivalent that would remove all of these? Washing methods are for display only -- they don't alter the mails themselves, which I thought was the point here. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus -- remove inline HTML images 2019-11-19 9:17 ` Lars Magne Ingebrigtsen @ 2019-11-19 10:55 ` Robert Pluim 0 siblings, 0 replies; 9+ messages in thread From: Robert Pluim @ 2019-11-19 10:55 UTC (permalink / raw) To: Lars Magne Ingebrigtsen; +Cc: help-gnu-emacs, Phillip Lord >>>>> On Tue, 19 Nov 2019 10:17:59 +0100, Lars Magne Ingebrigtsen <lmi@gnus.org> said: Lars> Phillip Lord <phillip.lord@russet.org.uk> writes: >> Okay, that's a way to do it, albeit rather clunky. Lars> It'd be easy enough to write a command on top of `e' that just does `e', Lars> search/replace, `C-c C-c'. >> I guess you would have no objection to adding a new washing method or >> something equivalent that would remove all of these? Lars> Washing methods are for display only -- they don't alter the mails Lars> themselves, which I thought was the point here. How about a 'wash-edit-mode', where all subsequent wash commands actually change the article until you exit 'wash-edit-mode' ? Robert ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-11-19 10:55 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-11-11 17:38 Gnus -- remove inline HTML images Phillip Lord [not found] ` <mailman.1255.1573493897.13325.help-gnu-emacs@gnu.org> 2019-11-12 2:11 ` Lars Magne Ingebrigtsen 2019-11-12 7:23 ` Pankaj Jangid 2019-11-12 8:47 ` Robert Pluim 2019-11-12 9:47 ` Pankaj Jangid 2019-11-18 15:34 ` Phillip Lord 2019-11-18 15:47 ` Robert Pluim [not found] ` <mailman.1846.1574091340.13325.help-gnu-emacs@gnu.org> 2019-11-19 9:17 ` Lars Magne Ingebrigtsen 2019-11-19 10:55 ` Robert Pluim
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).