Subject: Trouble with Roles

From: "John A. Perry" <[email-masked]>
Date: Sat, 20 Oct 2001 08:13:38 -0500 (CDT)

I'm running Pine 4.40 under RedHat Linux 7.1. I'm trying to set up
a Role that applies a specific signature based on what newsgroup I'm
posting to. The problem is that I can go into Role setup, specify the
newsgroup I want the role to apply to on the Newsgroups line, mark the
folder type as News, but it doesn't seem to work correctly. Instead of the
specific newsgroup being affected, ALL newsgroups I select want to use
that signature. It's as if the Newsgroups header field is being ignored
and Pine is just picking up on the fact that I'm posting to a newsgroup
and is setting the sig based on folder-type instead of header content. Or,
I could just be doing it wrong. Any thoughts would be greatly appreciated.

-- 
John Perry [email-masked] PGP-encrypted e-mail welcome!
 http://www.jpunix.com
 PGP/GPG key 164BDBAE

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Nancy McGough <[email-masked]>
Date: Sat, 20 Oct 2001 16:59:04 +0100 (BST)

> I could just be doing it wrong. Any thoughts would be greatly appreciated.

Try unsetting all your patterns (so they say <No Value Set>) and then
set the Current Folder Type to

       (*)  Specific (Enter Incoming Nicknames or use ^T)
            Folder List = {my.news.server/nntp}#news.comp.mail.pine

where my.news.server is replaced with your news server's name and
comp.mail.pine is replaced with the newsgroup you're setting the role up
for. Now open the folder {my.news.server/nntp}#news.comp.mail.pine and
compose a message. Let us know if this works.

HTH,
Nancy
^x

-- 
ii Main Pine Page: <http://www.ii.com/internet/messaging/pine/>

Nancy McGough         <http://www.ii.com/>         Infinite Ink
--= Sent via Pine: IMAP, NNTP & ESMTP for Unix/Win/Mac OS X =--

---

From: "John A. Perry" <[email-masked]>
Date: Sat, 20 Oct 2001 11:54:33 -0500 (CDT)

> compose a message. Let us know if this works.

	Yes! That seems to do the trick. It's rather obtuse but it works.

---

From: Nancy McGough <[email-masked]>
Date: Mon, 22 Oct 2001 21:16:04 +0100 (BST)

> 	Yes! That seems to do the trick. It's rather obtuse but it works.

I agree that's it's obtuse and I think that the obtuseness could be
fixed by some user interface tweaking. Right now the ADD A ROLE screen
consists of a top *unlabeled* section, followed by a section called
ACTIONS BEGIN HERE, and then a section called USES BEGIN HERE. If the
top section were simply labeled CONDITIONS BEGIN HERE, that would go a
long way towards helping people understand how to interpret the
variables in that section. And actually I think it would be best to
split the CONDITIONS into CURRENT FOLDER CONDITIONS and CURRENT MESSAGE
CONDITIONS to make it clear (I hope) that all the settings above ACTIONS
BEGIN HERE are conditions based on the folder and message that the user
is looking at currently before invoking the role.

Below is the type of thing I'm suggesting:

  PINE 4.40   ADD A ROLE RULE

Nickname        = <No Value Set: using "Alternate Role">

============================== CURRENT FOLDER CONDITIONS BEGIN HERE ===============================
Current Folder Type =
            Set    Choose One
            ---  --------------------
            ( )  Any
            ( )  News
            (*)  Email
            ( )  Specific (Enter Incoming Nicknames or use ^T)
                 Folder List = <No Value Set>

============================== CURRENT MESSAGE CONDITIONS BEGIN HERE ==============================
To pattern      = <No Value Set>
>From pattern    = <No Value Set>
Sender pattern  = <No Value Set>
Cc pattern      = <No Value Set>
News pattern    = <No Value Set>
Subject pattern = <No Value Set>
Recip pattern   = <No Value Set>
Partic pattern  = <No Value Set>
AllText pattern = <No Value Set>
Score interval  = <No Value Set>

Message is Important? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is New? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is Deleted? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

Message is Answered? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches
            ( )  Yes
            ( )  No

======================================= ACTIONS BEGIN HERE ========================================
 (actions)
========================================= USES BEGIN HERE =========================================
 (uses)

Nancy
posted to comp.mail.pine & pine-info, and cc'd

REFERENCE:
The message I'm replying to -- and this entire thread & group --
may be available at

 <http://www.washington.edu/pine/pine-info/2001.10/msg00019.html>

---

From: Steve Hubert <[email-masked]>
Date: Tue, 23 Oct 2001 18:58:03 -0700 (Pacific Daylight Time)

Good idea. It will be in 4.41. Thanks.

Steve

On Mon, 22 Oct 2001, Nancy McGough wrote:

> [...]
> [...]