Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Joe Casadonte" <jcasadonte@northbound-train.com>
Subject: gnus-alias v1.4
Date: Sat, 16 Aug 2003 19:51:42 -0400	[thread overview]
Message-ID: <uptj5i2k1.fsf@terrapin.northbound-train.com> (raw)


I've just posted the latest version of gnus-alias (v1.4) with the
following changes:

o Tested under gnus 5.10.2

o gnus-alias-override-user-mail-address (new function)

  Better identity switching, though it may not work with all
  backends.  Will correctly set mail header's Return-Path if allowed.

o gnus-alias-message-x-completion (new function)

  Drop in function for use in a message-x hook to set your identity
  based on the To: field in a NEW message.  Requires you to tab off of
  the To: header, though.

o Minor documentation cleanup

o Minor changes for byte-compiler warnings


Header info follows....



;;; @(#) gnus-alias.el -- an alternative to gnus-posting-styles
;;; @(#) $Id: gnus-alias.el,v 1.4 2003/08/16 23:05:10 jcasa Exp $

;; This file is not part of Emacs

;; Copyright (C) 2001-3 by Joseph L. Casadonte Jr.
;; Author:          Joe Casadonte (emacs@northbound-train.com)
;; Maintainer:      Joe Casadonte (emacs@northbound-train.com)
;; Created:         September 08, 2001
;; Keywords:        personality, identity, news, mail, gnus
;; Latest Version:  http://www.northbound-train.com/emacs.html

;; COPYRIGHT NOTICE

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:
;;
;;  gnus-alias provides a simple mechanism to switch Identities when
;;  using message-mode.  An Identity is one or more of the following
;;  elements:
;;
;;  o From - sets the From header (i.e. the sender)
;;  o Organization - sets the Organization header (a common, optional header)
;;  o Extra headers - a list of arbitrary header to set (e.g. X-Archive: no)
;;  o Body - adds text to the body of the message (just above the signature)
;;  o Signature - adds a signature to the message
;;
;;  All of this is also provided by the standard `gnus-posting-styles'
;;  (which see).  Whereas Posting Styles let you set these up
;;  initially, though, gnus-alias lets you change them on the fly
;;  easily, too (in this regard gnus-alias is much like gnus-pers,
;;  upon which it is based; see 'Credits' below).  With a simple
;;  command (`gnus-alias-select-identity') you can select & replace
;;  one Identity with another.
;;
;;  There are other significant differences between gnus-alias and
;;  Posting Styles, too.  gnus-alias has a much simpler interface/API
;;  for selecting an initial Identity automatically.  Posting Styles is
;;  much more flexible (especially in that you can build up an
;;  "Identity" piece by piece), but with that flexibility can come
;;  some complexity.
;;
;;  Other advantages to using gnus-alias:
;;
;;  o the ability to switch Identities in a message buffer
;;  o can access original message to help determine Identity of the
;;    followup/reply message
;;  o can act on a forwarded message as if it were a message being
;;    replied to
;;  o can start a new message with a given Identity pre-selected
;;
;;  It is possible to use both Posting Styles and gnus-alias, with
;;  `gnus-posting-styles' setup occuring before gnus-alias selects an
;;  Identity.  That much co-ordination is beyond my attention span,
;;  though; I just use this package.
;;
;;  There may also be some overlap between this package and
;;  `message-alternative-emails' (which see), though I'm not exactly
;;  sure what that really does.


--
Regards,

joe
Joe Casadonte
jcasadonte@northbound-train.com

------------------------------------------------------------------------------
         Llama Fresh Farms => http://www.northbound-train.com
   Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
            Perl for Win32 => http://www.northbound-train.com/perlwin32.html
               Emacs Stuff => http://www.northbound-train.com/emacs.html
          Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
                       Live Free, that's the message!
------------------------------------------------------------------------------


                 reply	other threads:[~2003-08-16 23:51 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=uptj5i2k1.fsf@terrapin.northbound-train.com \
    --to=jcasadonte@northbound-train.com \
    /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).