From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: gnus-emphasis-alist and strickthru
Date: Thu, 31 Mar 2005 18:11:37 -0500 [thread overview]
Message-ID: <jwv64z7h0vx.fsf-monnier+emacs@gnu.org> (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:
next reply other threads:[~2005-03-31 23:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 23:11 Stefan Monnier [this message]
2005-04-01 0:28 ` gnus-emphasis-alist and strickthru Miles Bader
2005-04-01 16:36 ` Ted Zlatanov
2005-04-01 6:39 ` Kim F. Storm
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=jwv64z7h0vx.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).