[task #12890] Allow scripts to ignore highlights

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[task #12890] Allow scripts to ignore highlights

Eric L.-2
URL:
  <http://savannah.nongnu.org/task/?12890>

                 Summary: Allow scripts to ignore highlights
                 Project: WeeChat
            Submitted by: None
            Submitted on: Wed 09 Oct 2013 02:00:54 PM UTC
                Category: scripts API plugins
         Should Start On: Wed 09 Oct 2013 12:00:00 AM UTC
   Should be Finished on: Wed 09 Oct 2013 12:00:00 AM UTC
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: GermainZ
        Originator Email: [hidden email]
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: GermainZ

    _______________________________________________________

Details:

A way for scripts to ignore highlights (turn highlights into normal messages)
would be nice.

To do that currently, you must use weechat_hook_modifier with e.g.
irc_in_privmsg and ignore it if it is a highlight (which depends on many
factors: highlight options, buffer local variables, etc), then print it again.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12890>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev