Subject: Re: [sup-talk] index options, by addressee instead of by sender

From: "E. Cartan" <[email-masked]>
Date: Fri, 12 Mar 2010 15:37:07 -0600

Excerpts from Ben Walton's message of Mon Mar 01 07:38:45 -0500 2010:
 | Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
 | 
 | >   I would like to see the messages which one sends displayed 
 | >   on the sup index by "addressee", instead of by "sender" 
 | >   (or sender replaced by "me").  Not all messages, but 
 | >   just the one sent by me.
 | 
 | I think there is a patch to do just this that is likely to be included
 | in the next release of sup (or available now if you track the git  repo).  

   Finally yesterday I did get sup 0.11, only to realize that 
   I don't know how to configure the index view to display the 
   addressees on certain messages, nor how to modify the index
   view in any other way.  

   Above, Were you thinking about using automatic labelling 
   to filter and display the "addressees" instead of the sender 
   only for my own "messages"?  Or did you have in mind
   any other alternative tools or approaches? 
   Would you please suggest where to start reading or looking?  
   Please, consider that I am a only a beginner.

   I see the release announcement mentions the index at least twice: 
   "Backwards-compatible index format improvements" and "New hooks:
   ... index-mode-date-widget".   Probably my basic problem is that 
   I don't know how to install or enable hooks, nor where 
   to obtain them.   
   
   I currently use only 3 hooks, which I copied from the sup wiki. 
   However ruby appears to have somewhere the source or the list
   of several more.  In fact the command:

     ruby -I lib -w /var/lib/gems/1.8/bin/sup -l 

   will return:   "have 30 registered hooks", but I am unable to 
   find any of these.  For each hook, the output of this command 
   claims that the corresponding file is  in ~/.sup/hooks/
   But on that directory I only find the hooks which I copied
   from the wiki.

   I would like to thank here, in advance, all who reply 
   with any additional help.

   Regards,
   Elie.

   

_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Rich Lane <[email-masked]>
Date: Mon, 01 Mar 2010 20:02:02 -0500

Excerpts from Ben Walton's message of 2010-03-01 19:38:45 -0500:
> Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
> 
> >   I would like to see the messages which one sends displayed 
> >   on the sup index by "addressee", instead of by "sender" 
> >   (or sender replaced by "me").  Not all messages, but 
> >   just the one sent by me.
> 
> I think there is a patch to do just this that is likely to be included
> in the next release of sup (or available now if you track the git
> repo).  This is from memory.  Rich, can you confirm?

Yes, the patch is in master and will go out in 0.11.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Ben Walton <[email-masked]>
Date: Mon, 01 Mar 2010 19:38:45 -0500

Thanks
-Ben

---

From: Michael Stapelberg <[email-masked]>
Date: Sat, 13 Mar 2010 08:31:53 +0100

Hi,

>    But on that directory I only find the hooks which I copied
To have a registered hook with a certain file means that the HookManager
*would* execute the contents of that file, if it existed.

So, to use a certain hook, create the appropriate file and place your
ruby code in there.

You can get example code in the wiki, as you have already mentioned.

Best regards,
Michael

---

From: "E. Cartan" <[email-masked]>
Date: Mon, 15 Mar 2010 03:02:39 -0500

Excerpts from E. Cartan's message of Fri Mar 12 2010 19:23:10 -0500 2010:
On Fri, Mar 12, 2010 at 03:37:07PM -0600, E. Cartan wrote:
 | Excerpts from Ben Walton's message of Mon Mar 01 07:38:45 -0500 2010:
 |  | Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
 |  | 
 |  | >   I would like to see the messages which one sends displayed 
 |  | >   on the sup index by "addressee", instead of by "sender" 
 |  | >   (or sender replaced by "me").  Not all messages, but 
 |  | >   just the one sent by me.
 |  | 
 |  | I think there is a patch to do just this that is likely to be 
 |  | included in the next release of sup (or available now if you 
 |  | track the git  repo).  
 | 
 |    Finally yesterday I did get sup 0.11, only to realize that 
 |    I don't know how to configure the index view to display the 
 |    addressees on certain messages, nor how to modify the index
 |    view in any other way.  

    Actually I have just discovered today that sup 0.11 index 
    seems to do the above BY DEFAULT.  I mean, it displays 
    the addressee/recipient (between parentheses), instead 
    of the sender "(me)", in the case of of messages 
    sent by oneself.

    I am sorry for having being so confused to have asked above
    how to obtain what appears to be the default behaviour 
    of the new version of sup.  My false assumption that 
    a configuration change, or a hook were needed,
    was based on the fact that the first time I ran sup 0.11, 
    the index continued to be displayed as in older versions, 
    However today, when I started it a second time, I noticed 
    that it complained about not having ncursesw installed. 
    Having the wide character ncurses library solved my problem.

    Regards,
    Elie Cartan

---

From: "E. Cartan" <[email-masked]>
Date: Mon, 1 Mar 2010 18:23:10 -0600

I am in the process of changing from mutt to sup, and there
  is a feature from mutt which I miss. I would like to know
  whether it might possible to force it with some simple 
  configuration options.

  With mutt, my practice was to use a hook to include for myself
  a bcc copy of all outgoing mail, and my own messages would be 
  displayed among the incoming mail as 

   978   F Feb 23 To Alexis       (0.5K) request
   979   F Feb 24 To Marshall     (0.9K) request
   980   F Feb 28 To Andrea       (1.7K) Colloquium - Friday

  Using sup, after I send the same messages, and before I receive a reply,
  I see a list like the following:
  
   Feb 23 me              (2) >request
   Feb 24 me                  >request
   Feb 28 me                  >Colloquium - Friday

  which is not very informative, specially  after sending several 
  messages with the same, or similar subjects.

  Many thanks for any help.

  Elie.