From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: mm-uu-extract was: How to create a higher order function?
Date: Wed, 22 Sep 2021 00:11:50 +0200 [thread overview]
Message-ID: <87zgs5lgt5.fsf@zoho.eu> (raw)
In-Reply-To: 87wnn9657u.fsf_-_@t14.reltub.ca
Leo Butler wrote:
>> ;;; -*- lexical-binding: nil; -*-
>> (defun negate (fun)
>> "Try to return a function returning the logical opposite of FUN."
>> (lambda (&rest args)
>> (not (apply fun args))))
>
> Thanks. Funny, Gnus used to show those markers, but it no
> longer does...which seems like a regression to me.
Looks immature (leet backfire) and don't serve any real or
clear purpose to me.
> Anyhow, what is the function/key sequence that inserts those
> markers into a Message buffer?
Try this:
(defun gnus-article-wash-more ()
(interactive)
(article-translate-strings
'(("Skickades från E-post för Windows 10" "")
("Sendt fra min iPad" "")
("Skickat från Yahoo Mail för iPhone" "")
("--8<---------------cut" "")
("here---------------start------------->8---" "")
("here---------------end--------------->8---" "") ))
(gnus-article-strip-multiple-blank-lines) )
;; (setq gnus-article-prepare-hook nil)
(defun gnus-article-prepare-hook-f ()
(gnus-with-article-buffer
(gnus-article-wash-more) ))
(add-hook 'gnus-article-prepare-hook #'gnus-article-prepare-hook-f)
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2021-09-21 22:11 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 4:10 How to create a higher order function? Marcin Borkowski
2021-09-21 4:50 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-21 5:06 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-21 11:27 ` Leo Butler
2021-09-21 11:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-21 20:31 ` mm-uu-extract was: " Leo Butler
2021-09-21 22:11 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-09-24 9:02 ` Marcin Borkowski
2021-09-24 9:00 ` Marcin Borkowski
2021-09-21 15:49 ` [External] : " Drew Adams
2021-09-24 9:04 ` Marcin Borkowski
2021-09-24 9:38 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-24 16:50 ` Drew Adams
2021-09-24 17:11 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-25 6:36 ` Marcin Borkowski
2021-09-25 23:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-27 10:10 ` Marcin Borkowski
2021-09-28 1:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-28 17:14 ` Marcin Borkowski
2021-09-29 4:28 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-05 7:25 ` Marcin Borkowski
2021-10-05 7:38 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-05 9:53 ` dlet/let/slet (was: Re: [External] : How to create a higher order function?) Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-22 19:03 ` How to create a higher order function? Stefan Monnier via Users list for the GNU Emacs text editor
2021-09-22 20:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-22 23:50 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-24 8:57 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgs5lgt5.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).