emacs-devel
[Top][All Lists]
Advanced

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

gnus-emphasis-alist and strickthru


From: Stefan Monnier
Subject: gnus-emphasis-alist and strickthru
Date: Thu, 31 Mar 2005 18:11:37 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I like gnus-emphasis-alist, especially now that it has been fixed to not
hide the * around things like *scratch*.

I have only one disagreement with it: the rule for strikethru.

I've *never* seen an article where -foo- was used with the intention to
mean that the text should be understood as being striked-through.

OTOH I occasionally see some text incorrectly caught by Gnus and marked as
strikethru, so I suggest we just drop this rule.

Any objection?


        Stefan


--- orig/lisp/gnus/gnus-art.el
+++ mod/lisp/gnus/gnus-art.el
@@ -366,9 +366,7 @@
                      (or (nth 4 spec) 3)
                      (intern (format "gnus-emphasis-%s" (nth 2 spec)))))
              types))
-     '(("\\(\\s-\\|^\\)\\(-\\(\\(\\w\\|-[^-]\\)+\\)-\\)\\(\\s-\\|[?!.,;]\\)"
-       2 3 gnus-emphasis-strikethru)
-       ("\\(\\s-\\|^\\)\\(_\\(\\(\\w\\|_[^_]\\)+\\)_\\)\\(\\s-\\|[?!.,;]\\)"
+     '(("\\(\\s-\\|^\\)\\(_\\(\\(\\w\\|_[^_]\\)+\\)_\\)\\(\\s-\\|[?!.,;]\\)"
        2 3 gnus-emphasis-underline))))
   "*Alist that says how to fontify certain phrases.
 Each item looks like this:




reply via email to

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