(gnus-emphasis-alist): Strikethru had a lot of false
authorKai Grossjohann <kgrossjo@eu.uu.net>
Thu, 22 Aug 2002 11:54:06 +0000 (11:54 +0000)
committerKai Grossjohann <kgrossjo@eu.uu.net>
Thu, 22 Aug 2002 11:54:06 +0000 (11:54 +0000)
positives, make it stricter.  From Jochen Hein (trivial change).

lisp/ChangeLog
lisp/gnus-art.el

index 8fb74a3..5557c06 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-22  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+       * gnus-art.el (gnus-emphasis-alist): Strikethru had a lot of false
+       positives, make it stricter.  From Jochen Hein (trivial change).
+
 2002-08-21  Katsumi Yamaoka <yamaoka@jpl.org>
 
        * gnus.el (gnus-other-frame): Trivial fix.
index 94ce5cd..48d684f 100644 (file)
@@ -286,7 +286,6 @@ directly.")
         '(("\\*" "\\*" bold)
           ("_" "_" underline)
           ("/" "/" italic)
-          ("-" "-" strikethru)
           ("_/" "/_" underline-italic)
           ("_\\*" "\\*_" underline-bold)
           ("\\*/" "/\\*" bold-italic)
@@ -297,6 +296,8 @@ directly.")
            (format format (car spec) (cadr spec))
            2 3 (intern (format "gnus-emphasis-%s" (nth 2 spec)))))
         types)
+       ("\\(\\s-\\|^\\)\\(-\\(\\(\\w\\|-[^-]\\)+\\)-\\)\\(\\s-\\|[?!.,;]\\)"
+        2 3 gnus-emphasis-strikethru)
        ("\\(\\s-\\|^\\)\\(_\\(\\(\\w\\|_[^_]\\)+\\)_\\)\\(\\s-\\|[?!.,;]\\)"
         2 3 gnus-emphasis-underline)))
   "*Alist that says how to fontify certain phrases.