# HG changeset patch # User ShengHuo ZHU # Date 977464493 0 # Node ID 2c66e24f2398e0b049fee56518424ac35923e473 # Parent 41f50ad22d7abdfb8e087e95fe2efa14fa84ed2d * gnus-art.el (article-treat-dumbquotes): Quote \. * gnus-art.el (gnus-treat-emphasize): Don't treat emphasis if Emacs 20 runs on a terminal. * gnus-art.el (article-treat-dumbquotes): More doc, provided by Paul Stevenson diff -r 41f50ad22d7a -r 2c66e24f2398 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Fri Dec 22 00:07:09 2000 +0000 +++ b/lisp/gnus/ChangeLog Fri Dec 22 05:54:53 2000 +0000 @@ -1,3 +1,17 @@ +2000-12-21 Katsumi Yamaoka + + * gnus-art.el (article-treat-dumbquotes): Quote \. + +2000-12-21 ShengHuo ZHU + + * gnus-art.el (gnus-treat-emphasize): Don't treat emphasis if + Emacs 20 runs on a terminal. + +2000-12-21 Kai Gro,A_(Bjohann + + * gnus-art.el (article-treat-dumbquotes): More doc, provided by + Paul Stevenson + 2000-12-21 14:00:00 ShengHuo ZHU * mml.el (gnus-add-minor-mode): Autoload. diff -r 41f50ad22d7a -r 2c66e24f2398 lisp/gnus/gnus-art.el --- a/lisp/gnus/gnus-art.el Fri Dec 22 00:07:09 2000 +0000 +++ b/lisp/gnus/gnus-art.el Fri Dec 22 05:54:53 2000 +0000 @@ -731,7 +731,11 @@ :type gnus-article-treat-head-custom) (put 'gnus-treat-buttonize-head 'highlight t) -(defcustom gnus-treat-emphasize 50000 +(defcustom gnus-treat-emphasize + (and (or window-system + (featurep 'xemacs) + (>= (string-to-number emacs-version) 21)) + 50000) "Emphasize text. Valid values are nil, t, `head', `last', an integer or a predicate. See the manual for details." @@ -1317,9 +1321,14 @@ (forward-line 1)))))) (defun article-treat-dumbquotes () - "Translate M******** sm*rtq**t*s into proper text. + "Translate M****s*** sm*rtq**t*s into proper text. Note that this function guesses whether a character is a sm*rtq**t* or -not, so it should only be used interactively." +not, so it should only be used interactively. + +Sm*rtq**t*s are M****s***'s unilateral extension to the character map +in an attempt to provide more quoting characters. If you see +something like \\222 or \\264 where you're expecting some kind of +apostrophe or quotation mark, then try this wash." (interactive) (article-translate-strings gnus-article-dumbquotes-map))