From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29526 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Paren matching and smileys in message mode Date: 15 Mar 2000 12:01:46 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166180 3216 80.91.224.250 (21 Oct 2002 02:09:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:09:40 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id A032BD051E for ; Wed, 15 Mar 2000 06:02:32 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB19825; Wed, 15 Mar 2000 05:02:27 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 15 Mar 2000 05:01:48 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id FAA05932 for ; Wed, 15 Mar 2000 05:01:37 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 4F5B8D051E for ; Wed, 15 Mar 2000 06:01:48 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id MAA28906 for ; Wed, 15 Mar 2000 12:01:47 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id MAA09799; Wed, 15 Mar 2000 12:01:47 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id MAA13344; Wed, 15 Mar 2000 12:01:47 +0100 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: ding@gnus.org Original-Lines: 20 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29526 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29526 The following code seems to do useful things for people who like to use smileys in message mode. But then, it probably has lots of bugs. Maybe if you help to polish it, it could be added to Gnus (as an option)? (setq message-font-lock-syntactic-keywords '(("[:;8]-\\([(|/)]\\)" 1 (1 . nil)))) (defun kai-message-mode-hook () (setq font-lock-defaults `(message-font-lock-keywords nil nil nil nil (font-lock-syntactic-keywords . ,message-font-lock-syntactic-keywords))) (make-local-variable 'parse-sexp-lookup-properties) (setq parse-sexp-lookup-properties message-mode-syntax-table)) (add-hook 'message-mode-hook 'kai-message-mode-hook) kai -- ~/.signature: No such file or directory