From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10475 Path: main.gmane.org!not-for-mail From: "Dewey M. Sasser" Newsgroups: gmane.emacs.gnus.general Subject: dms-sig.el update with large new features Date: 02 Apr 1997 16:39:55 -0800 Sender: dewey@newvision.com Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035150340 24619 80.91.224.250 (20 Oct 2002 21:45:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:45:40 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id QAA00642 for ; Wed, 2 Apr 1997 16:54:35 -0800 Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Thu, 3 Apr 1997 02:41:35 +0200 Original-Received: (qmail 2414 invoked by uid 504); 3 Apr 1997 00:39:03 -0000 Original-Received: (qmail 2411 invoked from network); 3 Apr 1997 00:39:01 -0000 Original-Received: from mercury.hypersurf.com (206.40.40.1) by claymore.vcinet.com with SMTP; 3 Apr 1997 00:39:01 -0000 Original-Received: from aerosmith.newvision.com (port4.hypersurf.com [206.40.40.100]) by mercury.hypersurf.com (8.8.4/8.8.4) with SMTP id QAA22406 for ; Wed, 2 Apr 1997 16:49:24 -0800 (PST) Original-Received: by aerosmith.newvision.com (IBM OS/2 SENDMAIL VERSION 1.3.14/2.12um) id AA0464; Wed, 02 Apr 97 16:41:02 -0800 Original-To: ding@gnus.org Original-Lines: 86 X-Mailer: Gnus v5.4.37/Emacs 19.33 Xref: main.gmane.org gmane.emacs.gnus.general:10475 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10475 I've just released the latest version of my multiple signature / random quote insertion package. It's available on the newsgroup gnu.emacs.sources and directly from me by request. This is, by the way, the last announcement I'll make re this package to the ding list because I've decided it's not appropriate to this list (even though no one said anything last time). Anyone who is interested in further developments on this package should either read gnu.emacs.sources, or better yet send me some email telling me to include you in the announcements, or both. Here are selected pieces of the header: Features o Allows specification of arbitrary number of signatures, each named by a symbol and defined by the contents of either a file or a string o Allows specification of quote methods for each of these signatures. Quotes can be developed either by random selection from a quote file, running an external program or running an emacs lisp function o Allows automatic selection of signature based on regular expression match on the "To:" mail field or the GNUS newsgroup. This automatic selection can be bypassed with a prefix-argument o Works in mail-mode and message-mode (and should work in any mode) Commentary Briefly, this package is designed to be a drop in replacement for the default emacs signatures. You should be able to just (require 'dms-sig) and go, and extend it as and when you want. If you can't just use with it, please send a bug report and tell me what happened (see the section on Bugs). This package gives you, instead of one signature, an arbitrary number of signature each named by a symbol. You also associate signature symbol names with signature files (or strings) and options. Currently, options supported are only whether or not to include a random quote, and which method to use to include that quote. To extend it, check out the variables `dms-signature-to-name-map', where you can specify regexps that match against the "to" filed, and also `dms-signature-to-groupname-map', to match against the "newsgroup" field when posting news (or reading mail with GNUS). (And see the "Sample Setup" section in this header.) To use automatic random quote insertion, set `dms-signature-use-quotes' to t (it uses a random quote from "~/.quotes" by default). Also, check out the variable `dms-signature-quote-methods'. Like signatures, quote methods are named (therefore arbitrary signatures can use arbitrary quote methods) By the way, if you drop me a note (mailto:dms-signature-maintainer@newvision.com) and tell me you're using this package, not only will it make me feel good, but I'll send you mail whenever I release a new version (BBDB makes that easy). New Features o Calling programs or functions to get the appropriate quote o insert signature at point if prefix arg is negative o Remembers where the previous signature was inserted so that the old signature can be deleted even if it occurs in the middle of the buffer o Supplies default when prompting for signature if inserting signature at point -- Dewey M. Sasser voice: (617) 494-6000 dewey@newvision.com PGP Key from public servers PGP mail preferred. --- "Deliver yesterday, code today, think tomorrow."