all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gnus-emphasis-alist and strickthru
@ 2005-03-31 23:11 Stefan Monnier
  2005-04-01  0:28 ` Miles Bader
  2005-04-01  6:39 ` Kim F. Storm
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Monnier @ 2005-03-31 23:11 UTC (permalink / raw)



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:

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-01 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 23:11 gnus-emphasis-alist and strickthru Stefan Monnier
2005-04-01  0:28 ` Miles Bader
2005-04-01 16:36   ` Ted Zlatanov
2005-04-01  6:39 ` Kim F. Storm

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.