info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strip signature on reply without standard separator


From: Satoshi Yoshida
Subject: Re: Strip signature on reply without standard separator
Date: Tue, 09 Aug 2022 18:25:09 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Emanuel Berg <incal@dataswamp.org> writes:

> It is a bit confusing to call them that. It is a local
> redefinition by you. "HIH" for example isn't a signature if it
> appears above "-- " or if there is no "-- ".

Yes. Excuse me, my word choice was bad.

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

It's amazing.

-- 
Satoshi Yoshida



reply via email to

[Prev in Thread] Current Thread [Next in Thread]