From: Emanuel Berg <incal@dataswamp.org>
To: ding@gnus.org
Subject: article washing bug/misconfiguration (?)
Date: Sun, 27 Nov 2022 20:26:55 +0100 [thread overview]
Message-ID: <87y1rwdwqo.fsf@dataswamp.org> (raw)
Here is the code ...
(defun gnus-article-wash-more ()
(article-translate-strings
'(
("#+begin_src r\n" "")
("#+begin_src emacs-lisp\n" "")
("#+end_src\n" "")
("--8<---------------cut" "")
("here---------------end--------------->8---" "")
("here---------------start------------->8---" "")
("Sendt fra min iPad" "")
("Skickades från E-post för Windows 10" "")
("Skickat från Yahoo Mail för iPhone" "")
("naïve" "naive")
("ʼ" "'")
("⇒" "→")
("➜" "→")
("⟦" "[")
("⟧" "]")
("> > > >" ">>>>") ; ugly
("> > >" ">>>")
("> >" ">>")
))
(gnus-article-strip-multiple-blank-lines) )
(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)
;; (remove-hook 'gnus-article-prepare-hook #'gnus-article-prepare-hook-f)
And here is the problem ...
https://dataswamp.org/~incal/error/gnus/after.png
https://dataswamp.org/~incal/error/gnus/before.png
I have to open and close the button for it to work? :O
???
--
underground experts united
https://dataswamp.org/~incal
next reply other threads:[~2022-11-27 19:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-27 19:26 Emanuel Berg [this message]
2022-11-28 9:59 ` Eric S Fraga
2022-11-28 19:44 ` Emanuel Berg
2023-06-04 0:46 ` Emanuel Berg
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1rwdwqo.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--cc=ding@gnus.org \
/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 NNTP newsgroup(s).