Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Paren matching and smileys in message mode
Date: 15 Mar 2000 12:01:46 +0100	[thread overview]
Message-ID: <vafog8gbip1.fsf@lucy.cs.uni-dortmund.de> (raw)

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



                 reply	other threads:[~2000-03-15 11:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vafog8gbip1.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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.
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 NNTP newsgroup(s).