Gnus development mailing list
 help / color / mirror / Atom feed
* article washing bug/misconfiguration (?)
@ 2022-11-27 19:26 Emanuel Berg
  2022-11-28  9:59 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2022-11-27 19:26 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-04  0:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-27 19:26 article washing bug/misconfiguration (?) Emanuel Berg
2022-11-28  9:59 ` Eric S Fraga
2022-11-28 19:44   ` Emanuel Berg
2023-06-04  0:46     ` Emanuel Berg

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).