From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9036 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Quote emphasis Date: 29 Nov 1996 23:45:04 +0100 Organization: The Church of Emacs Sender: abraham@dina.kvl.dk Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035149122 16083 80.91.224.250 (20 Oct 2002 21:25:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:25:22 +0000 (UTC) Return-Path: Original-Received: (qmail 19289 invoked from smtpd); 29 Nov 1996 23:05:37 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 29 Nov 1996 23:05:36 -0000 Original-Received: from elc1.dina.kvl.dk (elc1.dina.kvl.dk [130.225.40.228]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 29 Nov 1996 23:53:17 +0100 Original-Received: from babbage.dina.kvl.dk (babbage.dina.kvl.dk [130.225.40.217]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id XAA08795; Fri, 29 Nov 1996 23:45:38 +0100 Original-Received: (abraham@localhost) by babbage.dina.kvl.dk (8.6.12/8.6.4) id XAA24042; Fri, 29 Nov 1996 23:45:04 +0100 Original-To: ding@ifi.uio.no X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Original-Lines: 45 X-Mailer: Red Gnus v0.70/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:9036 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9036 I have been experimenting with gnus-emphasis-alist in order to make the fruit salad in the article buffer even more angry. Using emphasis for "quote" and `stuff', 'like this' seems to work. Should this be done by default? Probably with some other faces than what font-lock uses. You can try this (setq gnus-emphasis-alist (append gnus-emphasis-alist '(("\\W'\\(\\w[^']*\\w\\)'\\W" 1 1 font-lock-reference-face) ("\\W\"\\(\\<[^\"]*\\>\\)\"\\W" 1 1 font-lock-string-face) ("\\W`\\(\\<[^`']*\\w\\)'\\W" 1 1 font-lock-keyword-face)))) to test it (I haven't). Or add customize entries (like I did): ** gnus-emphasis-alist: [ ... ] [INS] [DEL] List: Regexp: \W'\(\w[^']*\w\)'\W Match group: 1 Emphasize group: 1 Face: font-lock-reference-face (show) [-] [INS] [DEL] List: Regexp: \W"\(\<[^"]*\>\)"\W Match group: 1 Emphasize group: 1 Face: font-lock-string-face (show) [-] [INS] [DEL] List: Regexp: \W`\(\<[^`']*\w\)'\W Match group: 1 Emphasize group: 1 Face: font-lock-keyword-face (show) [-] [INS] [!] [?] Alist that says how to fontify certain phrases.