[170] in bug-owl

home help back first fref pref prev next nref lref last post

alert bug

daemon@ATHENA.MIT.EDU (Jeremy Daniel)
Tue Apr 29 14:10:01 2003

To: bug-owl@MIT.EDU
From: Jeremy Daniel <jdaniel@MIT.EDU>
Date: 29 Apr 2003 14:09:58 -0400
Message-ID: <skeptn5w4y1.fsf@multics.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

This bug report is against the new alert feature.  If owl_zephyr_zaway
runs before the alert_action the fields of the zephyr being alerted on
(as retrieved by owl::sender, owl::recipient, owl::msg, etc) will
actually be the fields of the zaway message.  Moving zaway further
down the chain fixes that.

--------
cvs diff -u owl.c
Index: owl.c
===================================================================
RCS file: /mit/ktools/src/owl/repository/owl/owl.c,v
retrieving revision 1.20
diff -u -r1.20 owl.c
--- owl.c       20 Apr 2003 16:05:15 -0000      1.20
+++ owl.c       29 Apr 2003 17:59:52 -0000
@@ -308,11 +308,6 @@
       /* add it to any necessary views; right now there's only the current view
 */
       owl_view_consider_message(owl_global_get_current_view(&g), m);

-      /* do we need to autoreply? */
-      if (owl_global_is_zaway(&g)) {
-       owl_zephyr_zaway(m);
-      }
-
       /* ring the bell if it's a personal */
       if (owl_global_is_personalbell(&g) && owl_message_is_personal(m)) {
        owl_function_beep();
@@ -324,7 +319,10 @@
        owl_function_command(owl_global_get_alert_action(&g));
       }

-
+      /* do we need to autoreply? */
+      if (owl_global_is_zaway(&g)) {
+       owl_zephyr_zaway(m);
+      }

       /* check for burning ears message */
       /* this is an unsupported feature */
--------

-- 


				Jer


------------------------------------------------------------------
Tulgey Wood - tulgeywood@attbi.com     Cell Phone: 617-429-8573 / 
4 Farragut Ave (617-629-3983)             jdaniel-phone@mit.edu
Somerville, MA 02144-1709              AIM: jdanielmit      
                                    
Zephyr athena users over the web:  http://webzephyr.mit.edu/

home help back first fref pref prev next nref lref last post