unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Adding colour when font-lock in disabled
Date: Sat, 10 Dec 2022 02:59:45 +0100	[thread overview]
Message-ID: <87a63w10j2.fsf@dataswamp.org> (raw)
In-Reply-To: bMiSDzLAFo_mGDLlimfiLF4azDP8PDFE_1Edvi4o9z8_N66IUvHy3XLHRwYipeHoH6e5QHiN8nLyCAeheuH18ijnr5mREYdjDNsU-0BrKz8=@protonmail.com

Heime wrote:

> If I want to use and enforce color property

I just added it and it seems to work!

(defun gnus-article-wash-more ()
  (article-translate-strings
   '(("colour" "color")
     ("#+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"                         "")
     ("Skickades från E-post för Windows 10"       "")
     ("Skickat från Yahoo Mail för iPhone"         "")
     ("naïve" "naive")
     ("ʼ" "'")
     ("⇒" "→")
     ("➜" "→")
     ("⟦" "[")
     ("⟧" "]")
     ("> > > >" ">>>>")
     ("> > >"   ">>>")
     ("> >"     ">>") ))
  (gnus-article-strip-multiple-blank-lines) )

-- 
underground experts united
https://dataswamp.org/~incal




      parent reply	other threads:[~2022-12-10  1:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09  0:50 Adding colour when font-lock in disabled Heime
2022-12-09  1:46 ` Heime
2022-12-09  7:09   ` Eli Zaretskii
2022-12-09  8:09     ` Heime
2022-12-09 12:06       ` Eli Zaretskii
2022-12-09 12:27         ` Heime
2022-12-09 12:36           ` Eli Zaretskii
2022-12-09 13:04             ` Heime
2022-12-09 14:53               ` Eli Zaretskii
2022-12-09 18:54           ` Jean Louis
2022-12-09 21:39             ` [External] : " Drew Adams
2022-12-09 23:19             ` Heime
2022-12-10  7:31               ` Eli Zaretskii
2022-12-10  8:31                 ` Heime
2022-12-10  8:50                   ` Eli Zaretskii
2022-12-10 11:06                     ` Heime
2022-12-09  8:26     ` Heime
2022-12-09 12:07       ` Eli Zaretskii
2022-12-09 13:48       ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-10  1:59       ` Emanuel Berg [this message]

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=87a63w10j2.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).