From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1948 invoked from network); 22 Dec 2022 10:25:22 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 22 Dec 2022 10:25:22 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p8IlN-00Bd8n-At for ml@inbox.vuxu.org; Thu, 22 Dec 2022 04:25:21 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1p8IlN-004ecF-07 for ml@inbox.vuxu.org; Thu, 22 Dec 2022 04:25:21 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1p8IlK-004ec9-1h for ding@lists.math.uh.edu; Thu, 22 Dec 2022 04:25:18 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p8IlH-00Bd8B-Mx for ding@lists.math.uh.edu; Thu, 22 Dec 2022 04:25:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zGf9xmTdS+2jpiFk01Zw4PXWbiZEtHgBI3FLvGzpFjw=; b=dmvV+d98k6LFl0fs85KUUeYs9t FV1dzXO9cfGSSFGPygtOtR3TWjRwOlkcch1NVih34WzCQ1KYclaNqVwDejGNS26kNcJ4UvYMyIcKA o9KbdQs8kuVhwBxbL1kV8JUW6WL/40VL6eMvd94gWPl+hihVVgizlODjWAzUILP5JjFg=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p8IlA-0001qd-Av for ding@gnus.org; Thu, 22 Dec 2022 11:25:10 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p8Il7-0005nR-W6 for ding@gnus.org; Thu, 22 Dec 2022 11:25:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Emanuel Berg Subject: Re: markdown washing? Date: Thu, 22 Dec 2022 11:24:59 +0100 Message-ID: <871qorenwk.fsf@dataswamp.org> References: <87bknwub8y.fsf@ucl.ac.uk> <87ili4wwc8.fsf@thaodan.de> <87fsd7zqlg.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:rCOiMRTf2WVwD1iHiVz+yV9sUIM= Mail-Copies-To: never List-ID: Precedence: bulk Eric S Fraga wrote: >> On other hand watch about rendering the markdown inside the >> email instead? > > That is what washing does essentially? But, in any case, any > suggestions on how to do this? Don't follow what kind of stuff you guys wash but I do this: (defun gnus-article-wash-more () (article-translate-strings '( ("#+begin_quote\n" "") ("#+end_quote\n" "") ("#+begin_src emacs-lisp\n" "") ("#+begin_src r\n" "") ("#+end_src\n" "") ("--8<---------------cut" "") ("here---------------end--------------->8---" "") ("here---------------start------------->8---" "") ("Sendt fra min iPad" "") ("Sent using Zoho Mail" "") ("Skickades från E-post för Windows 10" "") ("Skickat från Yahoo Mail för iPhone" "") ("naïve" "naive") ("ʼ" "'") ("⇒" "→") ("➜" "→") ("⟦" "[") ("⟧" "]") ("> > > >" ">>>>") ("> > >" ">>>") ("> >" ">>") ("colour" "color") ("・" "·") (" " " ") )) (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) -- underground experts united https://dataswamp.org/~incal